public abstract class AbstractNamedEntityTaggingService extends AbstractLanguageService implements NamedEntityTaggingService
ALL_MATCHINGMETHODS, EMPTY_LANGUAGEPAIRS, EMPTY_LANGUAGEPATHS, EMPTY_LANGUAGES, MINIMUM_MATCHINGMETHODS| コンストラクタと説明 |
|---|
AbstractNamedEntityTaggingService()
Constructor that doesn't take parameter(s).
|
AbstractNamedEntityTaggingService(Collection<Language> supportedLanguages)
Constructor that takes the supported language as a parameter.
|
AbstractNamedEntityTaggingService(ServiceContext serviceContext,
Collection<Language> supportedLanguages)
Constructor that takes the service context and supported language as a parameter(s).
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
protected abstract Collection<NamedEntity> |
doTag(Language language,
String text) |
int |
getMaxSourceLength() |
void |
setMaxSourceLength(int maxSourceLength) |
NamedEntity[] |
tag(String language,
String text) |
getSupportedLanguageCollection, getSupportedLanguagePairCollection, getSupportedLanguages, setSupportedLanguageCollection, setSupportedLanguagesacquireSemaphore, 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, waitgetSupportedLanguagespublic AbstractNamedEntityTaggingService()
public AbstractNamedEntityTaggingService(Collection<Language> supportedLanguages)
supportedLanguages - Set of supported languagespublic AbstractNamedEntityTaggingService(ServiceContext serviceContext, Collection<Language> supportedLanguages)
serviceContext - Service contextsupportedLanguages - Set of supported languagespublic int getMaxSourceLength()
public void setMaxSourceLength(int maxSourceLength)
public NamedEntity[] tag(String language, String text) throws AccessLimitExceededException, InvalidParameterException, LanguageNotUniquelyDecidedException, NoAccessPermissionException, ProcessFailedException, NoValidEndpointsException, ServerBusyException, ServiceNotActiveException, ServiceNotFoundException, UnsupportedLanguageException
tag インタフェース内 NamedEntityTaggingServiceAccessLimitExceededExceptionInvalidParameterExceptionLanguageNotUniquelyDecidedExceptionNoAccessPermissionExceptionProcessFailedExceptionNoValidEndpointsExceptionServerBusyExceptionServiceNotActiveExceptionServiceNotFoundExceptionUnsupportedLanguageExceptionprotected abstract Collection<NamedEntity> doTag(Language language, String text) throws InvalidParameterException, ProcessFailedException
Copyright © 2021. All rights reserved.