@CreoleResource(name="DBpediaTagger",
comment="Add a descriptive comment about this resource")
public class DBpediaTagger
extends gate.creole.AbstractLanguageAnalyser
implements gate.ProcessingResource
ANNOTATION_COREF_FEATURE_NAME, DATE_ANNOTATION_TYPE, DATE_POSTED_ANNOTATION_TYPE, DEFAULT_FILE, DOCUMENT_COREF_FEATURE_NAME, JOB_ID_ANNOTATION_TYPE, LOCATION_ANNOTATION_TYPE, LOOKUP_ANNOTATION_TYPE, LOOKUP_CLASS_FEATURE_NAME, LOOKUP_INSTANCE_FEATURE_NAME, LOOKUP_LANGUAGE_FEATURE_NAME, LOOKUP_MAJOR_TYPE_FEATURE_NAME, LOOKUP_MINOR_TYPE_FEATURE_NAME, LOOKUP_ONTOLOGY_FEATURE_NAME, MONEY_ANNOTATION_TYPE, ORGANIZATION_ANNOTATION_TYPE, PERSON_ANNOTATION_TYPE, PERSON_GENDER_FEATURE_NAME, PLUGIN_DIR, SENTENCE_ANNOTATION_TYPE, SPACE_TOKEN_ANNOTATION_TYPE, TOKEN_ANNOTATION_TYPE, TOKEN_CATEGORY_FEATURE_NAME, TOKEN_KIND_FEATURE_NAME, TOKEN_LENGTH_FEATURE_NAME, TOKEN_ORTH_FEATURE_NAME, TOKEN_STRING_FEATURE_NAME| Constructor and Description |
|---|
DBpediaTagger() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
Integer |
getConfidence() |
String |
getEndpoint() |
String |
getOutputASName() |
Integer |
getSupport() |
gate.Resource |
init() |
void |
reInit() |
void |
setConfidence(Integer confidence) |
void |
setEndpoint(String endpoint) |
void |
setOutputASName(String outputASName) |
void |
setSupport(Integer support) |
getCorpus, getDocument, setCorpus, setDocumentaddProgressListener, addStatusListener, cleanup, fireProcessFinished, fireProgressChanged, fireStatusChanged, getRuntimeParameterValues, getRuntimeParameterValues, interrupt, isInterrupted, removeProgressListener, removeStatusListenercheckParameterValues, flushBeanInfoCache, getBeanInfo, getInitParameterValues, getInitParameterValues, getName, getParameterValue, getParameterValue, getParameterValues, removeResourceListeners, setName, setParameterValue, setParameterValue, setParameterValues, setParameterValues, setResourceListeners, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic String getEndpoint()
public void setEndpoint(String endpoint)
endpoint - the endpoint to setpublic Integer getConfidence()
public void setConfidence(Integer confidence)
confidence - the confidence to setpublic Integer getSupport()
public void setSupport(Integer support)
support - the support to setpublic String getOutputASName()
public void setOutputASName(String outputASName)
outputAS - the outputAS to setpublic gate.Resource init()
throws gate.creole.ResourceInstantiationException
init in interface gate.Resourceinit in class gate.creole.AbstractProcessingResourcegate.creole.ResourceInstantiationExceptionpublic void reInit()
throws gate.creole.ResourceInstantiationException
reInit in interface gate.ProcessingResourcereInit in class gate.creole.AbstractProcessingResourcegate.creole.ResourceInstantiationExceptionpublic void execute()
throws gate.creole.ExecutionException
execute in interface gate.Executableexecute in class gate.creole.AbstractProcessingResourcegate.creole.ExecutionException