GATE
Version 3.1-2270

gate.creole.gazetteer
Interface OntoGazetteer

All Superinterfaces:
Executable, FeatureBearer, Gazetteer, LanguageAnalyser, NameBearer, ProcessingResource, Resource, Serializable
All Known Implementing Classes:
AbstractOntoGazetteer, OntoGazetteerImpl

public interface OntoGazetteer
extends Gazetteer

OntoGazetteer
A gazetter that exploits a linear gazetter to generate annotations according to a mapping definition between lists and ontology classes


Method Summary
 Gazetteer getGazetteer()
          Gets the linear gazetteer associated with this onto gazetteer
 String getGazetteerName()
          Gets the name of the gazetteer
 URL getMappingURL()
          Gets the url of the mapping definition
 void setGazetteer(Gazetteer gaze)
          Associates a linear gazetteer with an onto gazetteer
 void setGazetteerName(String name)
          Sets name of the gazzetteer
 void setMappingURL(URL url)
          Sets the url of the mapping definition
 
Methods inherited from interface gate.creole.gazetteer.Gazetteer
add, addGazetteerListener, fireGazetteerEvent, getAnnotationSetName, getCaseSensitive, getEncoding, getLinearDefinition, getListsURL, getMappingDefinition, lookup, remove, setAnnotationSetName, setCaseSensitive, setEncoding, setListsURL, setMappingDefinition
 
Methods inherited from interface gate.LanguageAnalyser
getCorpus, getDocument, setCorpus, setDocument
 
Methods inherited from interface gate.ProcessingResource
reInit
 
Methods inherited from interface gate.Resource
cleanup, getParameterValue, init, setParameterValue, setParameterValues
 
Methods inherited from interface gate.util.FeatureBearer
getFeatures, setFeatures
 
Methods inherited from interface gate.util.NameBearer
getName, setName
 
Methods inherited from interface gate.Executable
execute, interrupt, isInterrupted
 

Method Detail

setGazetteerName

void setGazetteerName(String name)
Sets name of the gazzetteer

Parameters:
name - the name to be set

getGazetteerName

String getGazetteerName()
Gets the name of the gazetteer

Returns:
the name of the gazetteer

getGazetteer

Gazetteer getGazetteer()
Gets the linear gazetteer associated with this onto gazetteer

Returns:
the linear gazetteer

setGazetteer

void setGazetteer(Gazetteer gaze)
Associates a linear gazetteer with an onto gazetteer

Parameters:
gaze - the linear gazetteer to be associated with this onto gazetteer

setMappingURL

void setMappingURL(URL url)
Sets the url of the mapping definition

Parameters:
url - the url of the mapping definition

getMappingURL

URL getMappingURL()
Gets the url of the mapping definition

Returns:
the url of the mapping definition

GATE
Version 3.1-2270