public interface TranslationSelectionService
| 修飾子とタイプ | メソッドと説明 |
|---|---|
SelectionResult |
select(String sourceLang,
String targetLang,
String source)
Run translation.
|
SelectionResult select(String sourceLang, String targetLang, String source) throws ProcessFailedException, LanguagePairNotUniquelyDecidedException, UnsupportedLanguagePairException, InvalidParameterException
sourceLang - Translation source language (RFC3066 compliant)targetLang - Target language of the translation (RFC3066 compliant)source - String to be translatedProcessFailedException - Translation process failedLanguagePairNotUniquelyDecidedException - Multiple candidate language pairs existUnsupportedLanguagePairException - An unsupported language pair was specifiedInvalidParameterException - An invalid parameter was passedCopyright © 2019. All rights reserved.