Class BatchTranslator
- java.lang.Object
-
- net.sf.okapi.steps.batchtranslation.BatchTranslator
-
public class BatchTranslator extends Object
-
-
Constructor Summary
Constructors Constructor Description BatchTranslator(IFilterConfigurationMapper fcMapper, Parameters params, String rootDir, String inputRootDir)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EventendBatch()Finishes the batch.protected voidfinalize()voidprocessDocument(RawDocument rd)
-
-
-
Constructor Detail
-
BatchTranslator
public BatchTranslator(IFilterConfigurationMapper fcMapper, Parameters params, String rootDir, String inputRootDir)
-
-
Method Detail
-
endBatch
public Event endBatch()
Finishes the batch.- Returns:
- a mutli-events event if the option is to send the TMX as raw document, or null otherwise.
-
processDocument
public void processDocument(RawDocument rd)
-
-