| OntoGazetteer.java |
1 /*
2 * OntoGazetteer.java
3 *
4 * Copyright (c) 2002, The University of Sheffield.
5 *
6 * This file is part of GATE (see http://gate.ac.uk/), and is free
7 * software, licenced under the GNU Library General Public License,
8 * Version 2, June1991.
9 *
10 * A copy of this licence is included in the distribution in the file
11 * licence.html, and is also available at http://gate.ac.uk/gate/licence.html.
12 *
13 * borislav popov 02/2002
14 *
15 */
16 package gate.creole.gazetteer;
17
18 /**OntoGazetteer
19 * <br>
20 * A gazetter that exploits a linear gazetter to generate annotations
21 * according to a mapping definition between lists and ontology classes*/
22 public interface OntoGazetteer extends Gazetteer {
23
24 /**Sets name of the gazzetteer
25 * @param name the name to be set */
26 public void setGazetteerName(String name) ;
27
28 /** Gets the name of the gazetteer
29 * @return the name of the gazetteer */
30 public String getGazetteerName();
31
32 /**Gets the linear gazetteer associated with this onto gazetteer
33 * @return the linear gazetteer */
34 public Gazetteer getGazetteer();
35
36 /**Associates a linear gazetteer with an onto gazetteer
37 * @param gaze the linear gazetteer to be associated with this onto gazetteer */
38 public void setGazetteer(Gazetteer gaze);
39
40 /**Sets the url of the mapping definition
41 * @param url the url of the mapping definition */
42 public void setMappingURL(java.net.URL url) ;
43
44 /**Gets the url of the mapping definition
45 * @return the url of the mapping definition */
46 public java.net.URL getMappingURL() ;
47
48 } // interface OntoGazetteer