at.ofai.gate.localner
Class OFAILocalNER
java.lang.Object
gate.util.AbstractFeatureBearer
gate.creole.AbstractResource
gate.creole.AbstractProcessingResource
gate.creole.AbstractLanguageAnalyser
at.ofai.gate.localner.OFAILocalNER
- All Implemented Interfaces:
- ANNIEConstants, ControllerAwarePR, Executable, LanguageAnalyser, ProcessingResource, Resource, FeatureBearer, NameBearer, Serializable
public class OFAILocalNER
- extends AbstractLanguageAnalyser
- implements ControllerAwarePR
This is ..
explain!
- Author:
- Johann Petrak
- See Also:
- Serialized Form
Fields inherited from interface gate.creole.ANNIEConstants |
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, PR_NAMES, 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 Summary |
OFAILocalNER()
Build a gazetter using the default lists from the gate resources |
Methods inherited from class gate.creole.AbstractProcessingResource |
addProgressListener, addStatusListener, cleanup, fireProcessFinished, fireProgressChanged, fireStatusChanged, interrupt, isInterrupted, reInit, removeProgressListener, removeStatusListener |
Methods inherited from class gate.creole.AbstractResource |
checkParameterValues, getBeanInfo, getName, getParameterValue, getParameterValue, removeResourceListeners, setName, setParameterValue, setParameterValue, setParameterValues, setParameterValues, setResourceListeners |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
queryFileURL
protected URL queryFileURL
queryString
protected String queryString
sesameServerURL
protected URL sesameServerURL
sesameRepositoryID
protected String sesameRepositoryID
annotationSetName
protected String annotationSetName
annotationType
protected String annotationType
docIdAnnSet
protected String docIdAnnSet
docIdAnnType
protected String docIdAnnType
docIdFeature
protected String docIdFeature
baseURI
protected String baseURI
wholeWordsOnly
protected Boolean wholeWordsOnly
ignoreCase
protected Boolean ignoreCase
maxResults
protected Integer maxResults
OFAILocalNER
public OFAILocalNER()
- Build a gazetter using the default lists from the gate resources
setQueryFileURL
public void setQueryFileURL(URL queryFileURL)
getQueryFileURL
public URL getQueryFileURL()
setQueryString
public void setQueryString(String queryString)
getQueryString
public String getQueryString()
setSesameServerURL
public void setSesameServerURL(URL sesameServerURL)
getSesameServerURL
public URL getSesameServerURL()
setSesameRepositoryID
public void setSesameRepositoryID(String sesameRepositoryID)
getSesameRepositoryID
public String getSesameRepositoryID()
setAnnotationSetName
public void setAnnotationSetName(String annotationSetName)
getAnnotationSetName
public String getAnnotationSetName()
setAnnotationType
public void setAnnotationType(String annotationType)
getAnnotationType
public String getAnnotationType()
setDocIdAnnSet
public void setDocIdAnnSet(String docIdAnnSet)
getDocIdAnnSet
public String getDocIdAnnSet()
setDocIdAnnType
public void setDocIdAnnType(String docIdAnnType)
getDocIdAnnType
public String getDocIdAnnType()
setDocIdFeature
public void setDocIdFeature(String docIdFeature)
getDocIdFeature
public String getDocIdFeature()
setBaseURI
public void setBaseURI(String baseURI)
getBaseURI
public String getBaseURI()
setWholeWordsOnly
public void setWholeWordsOnly(Boolean yesorno)
getWholeWordsOnly
public Boolean getWholeWordsOnly()
setIgnoreCase
public void setIgnoreCase(Boolean yesorno)
getIgnoreCase
public Boolean getIgnoreCase()
setMaxResults
public void setMaxResults(Integer max)
getMaxResults
public Integer getMaxResults()
controllerExecutionStarted
public void controllerExecutionStarted(Controller c)
throws ExecutionException
- Specified by:
controllerExecutionStarted
in interface ControllerAwarePR
- Throws:
ExecutionException
controllerExecutionFinished
public void controllerExecutionFinished(Controller c)
throws ExecutionException
- Specified by:
controllerExecutionFinished
in interface ControllerAwarePR
- Throws:
ExecutionException
controllerExecutionAborted
public void controllerExecutionAborted(Controller c,
Throwable t)
throws ExecutionException
- Specified by:
controllerExecutionAborted
in interface ControllerAwarePR
- Throws:
ExecutionException
startup
public void startup()
throws ExecutionException
- Throws:
ExecutionException
shutdown
public void shutdown()
init
public Resource init()
throws ResourceInstantiationException
- Specified by:
init
in interface Resource
- Overrides:
init
in class AbstractProcessingResource
- Throws:
ResourceInstantiationException
execute
public void execute()
throws ExecutionException
- This method runs the gazetteer.
- Specified by:
execute
in interface Executable
- Overrides:
execute
in class AbstractProcessingResource
- Throws:
ExecutionException