public interface QualityEstimationService
| 修飾子とタイプ | メソッドと説明 |
|---|---|
double |
estimate(String sourceLang,
String targetLang,
String source,
String target)
Run quality estimation
|
double estimate(String sourceLang, String targetLang, String source, String target) throws LanguagePairNotUniquelyDecidedException, UnsupportedLanguagePairException, InvalidParameterException, ProcessFailedException
sourceLang - Translation source language (RFC3066 compliant)targetLang - Target language of the translation (RFC3066 compliant)source - Original stringtarget - String to be translatedLanguagePairNotUniquelyDecidedException - Multiple candidate language pairs existUnsupportedLanguagePairException - An unsupported language pair was specifiedInvalidParameterException - An invalid parameter was passedProcessFailedException - Translation process failedCopyright © 2019. All rights reserved.