public abstract class AbstractOntoGazetteer extends AbstractGazetteer implements OntoGazetteer
AbstractProcessingResource.InternalStatusListener, AbstractProcessingResource.IntervalProgressListener
Modifier and Type | Field and Description |
---|---|
protected Gazetteer |
gaz
reference to the linear gazetteer
|
protected String |
gazetteerName
class name of the linear gazetteer to be called
|
protected URL |
mappingURL
the url of the mapping definition
|
annotationSetName, caseSensitive, definition, encoding, listeners, listsURL, longestMatchOnly, mappingDefinition, wholeWordsOnly
corpus, document
interrupted
name
features
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 |
---|
AbstractOntoGazetteer() |
Modifier and Type | Method and Description |
---|---|
Gazetteer |
getGazetteer()
Gets the linear gazetteer
|
String |
getGazetteerName()
Gets the class name of the linear gazetteer
|
LinearDefinition |
getLinearDefinition()
Overrides
Gazetteer
and retrieves the linear definition from the underlying
linear gazetteer |
URL |
getMappingURL()
Gets the URL of the mapping definition
|
void |
setGazetteer(Gazetteer gaze)
Sets the linear gazetteer
|
void |
setGazetteerName(String name)
Sets the class name of the linear gazetteer to be loaded.
|
void |
setMappingURL(URL url)
Sets the URL of the mapping definition
|
addGazetteerListener, fireGazetteerEvent, getAnnotationSetName, getCaseSensitive, getEncoding, getListsURL, getLongestMatchOnly, getMappingDefinition, getWholeWordsOnly, reInit, setAnnotationSetName, setCaseSensitive, setEncoding, setListsURL, setLongestMatchOnly, setMappingDefinition, setWholeWordsOnly
getCorpus, getDocument, setCorpus, setDocument
addProgressListener, addStatusListener, cleanup, execute, fireProcessFinished, fireProgressChanged, fireStatusChanged, getRuntimeParameterValues, getRuntimeParameterValues, init, interrupt, isInterrupted, removeProgressListener, removeStatusListener
checkParameterValues, flushBeanInfoCache, forgetBeanInfo, getBeanInfo, getInitParameterValues, getInitParameterValues, getName, getParameterValue, getParameterValue, getParameterValues, removeResourceListeners, setName, setParameterValue, setParameterValue, setParameterValues, setParameterValues, setResourceListeners, toString
getFeatures, setFeatures
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
add, addGazetteerListener, fireGazetteerEvent, getAnnotationSetName, getCaseSensitive, getEncoding, getListsURL, getMappingDefinition, lookup, remove, setAnnotationSetName, setCaseSensitive, setEncoding, setListsURL, setMappingDefinition
getCorpus, getDocument, setCorpus, setDocument
reInit
cleanup, getParameterValue, init, setParameterValue, setParameterValues
getFeatures, setFeatures
getName, setName
execute, interrupt, isInterrupted
protected URL mappingURL
protected String gazetteerName
public AbstractOntoGazetteer()
public void setGazetteerName(String name)
setGazetteerName
in interface OntoGazetteer
name
- class name of a Gazetteerpublic String getGazetteerName()
getGazetteerName
in interface OntoGazetteer
public void setMappingURL(URL url)
setMappingURL
in interface OntoGazetteer
url
- the URL of the mapping definitionpublic URL getMappingURL()
getMappingURL
in interface OntoGazetteer
public Gazetteer getGazetteer()
getGazetteer
in interface OntoGazetteer
public void setGazetteer(Gazetteer gaze)
setGazetteer
in interface OntoGazetteer
gaze
- the linear gazetteer to be associated with this onto gazetteer.public LinearDefinition getLinearDefinition()
Gazetteer
and retrieves the linear definition from the underlying
linear gazetteergetLinearDefinition
in interface Gazetteer
getLinearDefinition
in class AbstractGazetteer