public interface AsyncBackTranslationWithTemporalDictionaryService
| Modifier and Type | Method and Description |
|---|---|
AsyncBackTranslationResult |
getCurrentResult(String token) |
String |
startBackTranslation(String sourceLang,
String intermediateLang,
String[] sources,
Translation[] temporalDict,
String dictTargetLang)
Run asynchronous back translation.
|
void |
terminate(String token) |
String startBackTranslation(String sourceLang, String intermediateLang, String[] sources, Translation[] temporalDict, String dictTargetLang) throws InvalidParameterException, ProcessFailedException
sourceLang - Translation source language (RFC3066 compliant)intermediateLang - Intermediate language of the translation (RFC3066 compliant)array - of source String to be translatedtemporalDict - Bilingual dictionary data used during translationdictTargetLang - Target language of dictionary data(targetLang)InvalidParameterException - An invalid parameter was passedProcessFailedException - Translation process failedAsyncBackTranslationResult getCurrentResult(String token) throws InvalidParameterException, ProcessFailedException
token - InvalidParameterException - An invalid parameter was passedProcessFailedException - Translation process failedvoid terminate(String token) throws InvalidParameterException, ProcessFailedException
token - InvalidParameterException - An invalid parameter was passedProcessFailedException - Translation process failed