backTranslate
public BackTranslationResult backTranslate(String sourceLang,
String intermediateLang,
String source)
throws AccessLimitExceededException,
InvalidParameterException,
LanguagePairNotUniquelyDecidedException,
NoAccessPermissionException,
NoValidEndpointsException,
ProcessFailedException,
ServerBusyException,
ServiceNotActiveException,
ServiceNotFoundException,
UnsupportedLanguagePairException
Runs back translation.
- Specified by:
backTranslate
in interface BackTranslationService
- Parameters:
sourceLang
- Translation source language (RFC3066 compliant)intermediateLang
- Intermediate language (RFC3066 compliant)source
- String to be translated
- Returns:
- Result of back translation
- 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
NoValidEndpointsException
- There is no valid endpoint
ProcessFailedException
- Response search failed due to some cause
ServerBusyException
- The server is loaded and cannot process it.
ServiceNotActiveException
- The service is not active
ServiceNotFoundException
- The specified service was not found