public abstract class AbstractQualityEstimationService extends AbstractLanguagePairService implements QualityEstimationService
ALL_MATCHINGMETHODS, EMPTY_LANGUAGEPAIRS, EMPTY_LANGUAGEPATHS, EMPTY_LANGUAGES, MINIMUM_MATCHINGMETHODS| Constructor and Description | 
|---|
| AbstractQualityEstimationService() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected abstract double | doEstimate(String sourceLang,
          String targetLang,
          String source,
          String target) | 
| double | estimate(String sourceLang,
        String targetLang,
        String source,
        String target)Run quality estimation | 
getSupportedLanguagePairCollection, getSupportedLanguagePairs, setSupportedLanguagePairsacquireSemaphore, checkStartupException, convertLanguagePairs, convertLanguages, doGetLastUpdate, getCurrentServiceContext, getDoDoubleSearch, getEliminateDuplicates, getInitParameter, getInitParameterBoolean, getInitParameterInt, getInitParameterLong, getInitParameters, getInitParameterString, getInitParameterUsingTransformer, getLastUpdate, getLogListener, getMaxResults, getMaxWaitMillisForExternalProcess, getRequestMimeHeaders, getServiceContext, getWorkDirectory, getWorkFile, log, parseDateMacro, processEnd, processEnd, processLap, processStart, releaseSemaphore, setCurrentServiceContext, setDoubleSearchResults, setEliminateDuplicates, setLogListener, setMaxResults, setMaxThreads, setMaxWaitMillisForExternalProcess, setMaxWaitMillisForThread, setMeasureProcessTime, setProcessTimeWarningThreasholdMillis, setStartupExceptiongetComponentServiceFactory, getFile, getServiceName, setComponentServiceFactory, setServiceNamepublic double estimate(String sourceLang, String targetLang, String source, String target) throws LanguagePairNotUniquelyDecidedException, UnsupportedLanguagePairException, InvalidParameterException, ProcessFailedException
QualityEstimationServiceestimate in interface QualityEstimationServicesourceLang - 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