public abstract class AbstractMultihopTranslationWithTemporalDictionaryService extends AbstractService implements MultihopTranslationWithTemporalDictionaryService
ALL_MATCHINGMETHODS, EMPTY_LANGUAGEPAIRS, EMPTY_LANGUAGEPATHS, EMPTY_LANGUAGES, MINIMUM_MATCHINGMETHODS| コンストラクタと説明 |
|---|
AbstractMultihopTranslationWithTemporalDictionaryService()
Constructor.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
protected abstract MultihopTranslationResult |
doMultihopTranslation(LanguagePath languagePath,
String source,
Translation[] temporalDictionary,
Language dictionaryTargetLang) |
MultihopTranslationResult |
multihopTranslate(String sourceLang,
String[] intermediateLangs,
String targetLang,
String source,
Translation[] temporalDictionary,
String dictionaryTargetLang) |
protected void |
setSupportedLanguagePaths(Collection<LanguagePath> paths) |
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, setStartupExceptiongetComponentServiceFactory, getFile, getServiceName, setComponentServiceFactory, setServiceNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmultihopTranslatepublic AbstractMultihopTranslationWithTemporalDictionaryService()
public MultihopTranslationResult multihopTranslate(String sourceLang, String[] intermediateLangs, String targetLang, String source, Translation[] temporalDictionary, String dictionaryTargetLang) throws AccessLimitExceededException, InvalidParameterException, LanguagePathNotUniquelyDecidedException, NoAccessPermissionException, NoValidEndpointsException, ProcessFailedException, ServerBusyException, ServiceNotActiveException, ServiceNotFoundException, UnsupportedLanguagePathException
protected abstract MultihopTranslationResult doMultihopTranslation(LanguagePath languagePath, String source, Translation[] temporalDictionary, Language dictionaryTargetLang) throws InvalidParameterException, ProcessFailedException
protected void setSupportedLanguagePaths(Collection<LanguagePath> paths)
Copyright © 2021. All rights reserved.