public interface BackTranslationService
| Modifier and Type | Method and Description |
|---|---|
BackTranslationResult |
backTranslate(String sourceLang,
String intermediateLang,
String source)
Runs back translation.
|
BackTranslationResult backTranslate(String sourceLang, String intermediateLang, String source) throws AccessLimitExceededException, InvalidParameterException, LanguagePairNotUniquelyDecidedException, NoAccessPermissionException, NoValidEndpointsException, ProcessFailedException, ServerBusyException, ServiceNotActiveException, ServiceNotFoundException, UnsupportedLanguagePairException
sourceLang - Translation source language (RFC3066 compliant)intermediateLang - Intermediate language (RFC3066 compliant)source - String to be translatedAccessLimitExceededException - 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 - Response search failed due to some causeServerBusyException - 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