public interface MultihopTranslationWithTemporalDictionaryService
Modifier and Type | Method and Description |
---|---|
MultihopTranslationResult |
multihopTranslate(String sourceLang,
String[] intermediateLangs,
String targetLang,
String source,
Translation[] temporalDict,
String dictTargetLang)
Run a multi-hop translation.
|
MultihopTranslationResult multihopTranslate(String sourceLang, String[] intermediateLangs, String targetLang, String source, Translation[] temporalDict, String dictTargetLang) throws AccessLimitExceededException, InvalidParameterException, LanguagePathNotUniquelyDecidedException, NoAccessPermissionException, NoValidEndpointsException, ProcessFailedException, ServerBusyException, ServiceNotActiveException, ServiceNotFoundException, UnsupportedLanguagePathException
sourceLang
- Translation source language (RFC3066 compliant)intermediateLangs
- Intermediate languages (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 passedLanguagePathNotUniquelyDecidedException
- Multiple language path candidates were foundNoAccessPermissionException
- 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
- Service not activeServiceNotFoundException
- The specified service was not foundUnsupportedLanguagePathException
- An unsupported language path was specified