public abstract class AbstractTemporalBilingualDictionaryWithLongestMatchSearchService extends AbstractLanguageService implements TemporalBilingualDictionaryWithLongestMatchSearchSerivce
ALL_MATCHINGMETHODS, EMPTY_LANGUAGEPAIRS, EMPTY_LANGUAGEPATHS, EMPTY_LANGUAGES, MINIMUM_MATCHINGMETHODS
Constructor and Description |
---|
AbstractTemporalBilingualDictionaryWithLongestMatchSearchService() |
AbstractTemporalBilingualDictionaryWithLongestMatchSearchService(ServiceContext context) |
Modifier and Type | Method and Description |
---|---|
protected abstract Collection<TranslationWithPosition> |
doSearchAllLongestMatchingTerms(Language language,
Morpheme[] morphemes,
Translation[] translations) |
TranslationWithPosition[] |
searchAllLongestMatchingTerms(String headLang,
Morpheme[] morphemes,
Translation[] temporalDict) |
getSupportedLanguageCollection, getSupportedLanguagePairCollection, getSupportedLanguages, setSupportedLanguageCollection, setSupportedLanguages
acquireSemaphore, 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, setStartupException
getComponentServiceFactory, getFile, getServiceName, setComponentServiceFactory, setServiceName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getLastUpdate
public AbstractTemporalBilingualDictionaryWithLongestMatchSearchService()
public AbstractTemporalBilingualDictionaryWithLongestMatchSearchService(ServiceContext context)
public TranslationWithPosition[] searchAllLongestMatchingTerms(String headLang, Morpheme[] morphemes, Translation[] temporalDict) throws AccessLimitExceededException, InvalidParameterException, NoAccessPermissionException, NoValidEndpointsException, ProcessFailedException, ServerBusyException, ServiceNotActiveException, ServiceNotFoundException, UnsupportedLanguageException
searchAllLongestMatchingTerms
in interface TemporalBilingualDictionaryWithLongestMatchSearchSerivce
AccessLimitExceededException
InvalidParameterException
NoAccessPermissionException
NoValidEndpointsException
ProcessFailedException
ServerBusyException
ServiceNotActiveException
ServiceNotFoundException
UnsupportedLanguageException
protected abstract Collection<TranslationWithPosition> doSearchAllLongestMatchingTerms(Language language, Morpheme[] morphemes, Translation[] translations) throws InvalidParameterException, ProcessFailedException