public interface QualityEstimationService
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 failed