gate.creole.gazetteer
Interface OntoGazetteer

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

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
interrupt, isInterrupted, 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
 

Method Detail

setGazetteerName

public void setGazetteerName(String name)
Sets name of the gazzetteer
Parameters:
name - the name to be set

getGazetteerName

public String getGazetteerName()
Gets the name of the gazetteer
Returns:
the name of the gazetteer

getGazetteer

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

setGazetteer

public 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

public void setMappingURL(URL url)
Sets the url of the mapping definition
Parameters:
url - the url of the mapping definition

getMappingURL

public URL getMappingURL()
Gets the url of the mapping definition
Returns:
the url of the mapping definition