public interface BackTranslationWithTemporalDictionaryService
| Modifier and Type | Method and Description |
|---|---|
BackTranslationResult |
backTranslate(String sourceLang,
String intermediateLang,
String source,
Translation[] temporalDict,
String dictTargetLang)
Run translation.
|
BackTranslationResult backTranslate(String sourceLang, String intermediateLang, String source, Translation[] temporalDict, String dictTargetLang) throws AccessLimitExceededException, InvalidParameterException, LanguagePairNotUniquelyDecidedException, NoAccessPermissionException, ProcessFailedException, NoValidEndpointsException, ServerBusyException, ServiceNotActiveException, ServiceNotFoundException, UnsupportedLanguagePairException
sourceLang - Translation source language (RFC3066 compliant)targetLang - Target language of the translation (RFC3066 compliant)source - String to be translatedtemporalDict - Bilingual dictionary data used during translationdictTargetLang - Target language of dictionary data(targetLang)AccessLimitExceededException - Violated an access restrictionInvalidParameterException - An invalid parameter was passedLanguagePairNotUniquelyDecidedException - Multiple candidate language pairs existNoAccessPermissionException - The user executing the call lacks execution privilegesNoValidEndpointsException - There is no valid endpointProcessFailedException - Translation process failedServerBusyException - The server is loaded and cannot process it.ServiceNotActiveException - The service is not activeServiceNotFoundException - The specified service was not foundUnsupportedLanguagePairException - An unsupported language pair was specified