backTranslate
public BackTranslationResult backTranslate(String sourceLang,
String intermediateLang,
String source,
Translation[] temporalDict,
String dictTargetLang)
throws AccessLimitExceededException,
InvalidParameterException,
LanguagePairNotUniquelyDecidedException,
NoAccessPermissionException,
ProcessFailedException,
NoValidEndpointsException,
ServerBusyException,
ServiceNotActiveException,
ServiceNotFoundException,
UnsupportedLanguagePairException
Run translation.
- Specified by:
backTranslate
in interface BackTranslationWithTemporalDictionaryService
- Parameters:
sourceLang
- Translation source language (RFC3066 compliant)source
- String to be translatedtemporalDict
- Bilingual dictionary data used during translationdictTargetLang
- Target language of dictionary data(targetLang)
- Returns:
- The translated string
- Throws:
AccessLimitExceededException
- Violated an access restriction
InvalidParameterException
- An invalid parameter was passed
LanguagePairNotUniquelyDecidedException
- Multiple candidate language pairs exist
UnsupportedLanguagePairException
- An unsupported language pair was specified
NoAccessPermissionException
- The user executing the call lacks execution privileges
ProcessFailedException
- Translation process failed
NoValidEndpointsException
- There is no valid endpoint
ServerBusyException
- The server is loaded and cannot process it.
ServiceNotActiveException
- The service is not active
ServiceNotFoundException
- The specified service was not found