public abstract class AbstractTranslationWithInternalDictionaryService extends AbstractTranslationService implements TranslationWithInternalDictionaryService
AbstractTranslationService.DivisionTypeALL_MATCHINGMETHODS, EMPTY_LANGUAGEPAIRS, EMPTY_LANGUAGEPATHS, EMPTY_LANGUAGES, MINIMUM_MATCHINGMETHODS| Constructor and Description |
|---|
AbstractTranslationWithInternalDictionaryService()
Constructor that doesn't take parameter(s).
|
AbstractTranslationWithInternalDictionaryService(ServiceContext serviceContext)
Constructor that takes the service context as a parameter(s).
|
AbstractTranslationWithInternalDictionaryService(ServiceContext serviceContext,
Collection<LanguagePair> supportedPairs)
Constructor that takes the service context and supported language pair(s) as a parameter(s).
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract String[] |
doGetSupportedInternalDictionaryIds(Language sourceLang,
Language targetLang) |
String[] |
getSupportedInternalDictionaryIds(String sourceLang,
String targetLang) |
backTranslate, doMultistatementTranslation, doTranslation, multihopTranslate, multistatementTranslate, setMaxSourceLength, setSentenceDivision, translate, validateLanguagePairgetSupportedLanguagePairCollection, 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, setServiceNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittranslatepublic AbstractTranslationWithInternalDictionaryService()
public AbstractTranslationWithInternalDictionaryService(ServiceContext serviceContext)
serviceContext - Service contextpublic AbstractTranslationWithInternalDictionaryService(ServiceContext serviceContext, Collection<LanguagePair> supportedPairs)
serviceContext - Service contextsupportedPairs - Supported language pairspublic String[] getSupportedInternalDictionaryIds(String sourceLang, String targetLang) throws AccessLimitExceededException, InvalidParameterException, LanguagePairNotUniquelyDecidedException, NoAccessPermissionException, ProcessFailedException, NoValidEndpointsException, ServerBusyException, ServiceNotActiveException, ServiceNotFoundException, UnsupportedLanguagePairException
getSupportedInternalDictionaryIds in interface TranslationWithInternalDictionaryServiceAccessLimitExceededExceptionInvalidParameterExceptionLanguagePairNotUniquelyDecidedExceptionNoAccessPermissionExceptionProcessFailedExceptionNoValidEndpointsExceptionServerBusyExceptionServiceNotActiveExceptionServiceNotFoundExceptionUnsupportedLanguagePairExceptionprotected abstract String[] doGetSupportedInternalDictionaryIds(Language sourceLang, Language targetLang) throws ProcessFailedException
ProcessFailedException