public class InconsistencyCheck extends Object
| Constructor and Description |
|---|
InconsistencyCheck() |
| Modifier and Type | Method and Description |
|---|---|
void |
generateReport(String reportPath,
boolean isEndBatch)
Creates the inconsistency report.
|
Parameters |
getParameters() |
void |
reset(boolean includeXml) |
void |
setParameters(Parameters params) |
void |
store(String docId,
String subDocId,
String tuId,
String segId,
TextFragment srcTf,
TextFragment trgTf)
Stores the source-target pair for comparison
|
public void reset(boolean includeXml)
public Parameters getParameters()
public void setParameters(Parameters params)
public void store(String docId, String subDocId, String tuId, String segId, TextFragment srcTf, TextFragment trgTf)
docId - the full path to the documentsubDocId - the sub-document number of the source-target pair.tuId - the text unit number of the source-target pair.segId - the segment number of the source-target pair.srcTf - the source text fragment to store (cannot be null).trgTf - the target text fragment to store (cannot be null).public void generateReport(String reportPath, boolean isEndBatch)
reportPath - the location for the report.isEndBatch - indicates if this method is invoked from the EndBatch event handler (true),
or if from the EndDocument event handler (false). The second case is done only in per-file mode.Copyright © 2020. All rights reserved.