public interface MultistatementTranslationWithTemporalDictionaryService
Modifier and Type | Method and Description |
---|---|
String[] |
multistatementTranslate(String sourceLang,
String targetLang,
String[] sources,
Translation[] temporalDict,
String dictTargetLang)
Run translation.
|
String[] multistatementTranslate(String sourceLang, String targetLang, String[] sources, 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)sources
- String array to be translatedtemporalDict
- Bilingual dictionary data used during translationdictTargetLang
- Target language of dictionary data(targetLang)AccessLimitExceededException
- Violated an access restrictionInvalidParameterException
- An invalid parameter was passedNoAccessPermissionException
- 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 specifiedLanguagePairNotUniquelyDecidedException