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
Methods inherited from interface gate.creole.gazetteer.Gazetteer |
add, addGazetteerListener, fireGazetteerEvent, getAnnotationSetName, getCaseSensitive, getEncoding, getLinearDefinition, getListsURL, getMappingDefinition, lookup, remove, setAnnotationSetName, setCaseSensitive, setEncoding, setListsURL, setMappingDefinition |
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