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  import java.util.*;
19  /**OntoGazetteer
20   * <br>
21   * A gazetter that exploits a linear gazetter to generate annotations
22   * according to a mapping definition between lists and ontology classes*/
23  public interface OntoGazetteer extends Gazetteer {
24  
25    /**Sets name of the gazzetteer
26     * @param name the name to be set   */
27    public void setGazetteerName(String name) ;
28  
29    /** Gets the name of the gazetteer
30     *  @return the name of the gazetteer  */
31    public String getGazetteerName();
32  
33    /**Gets the linear gazetteer associated with this onto gazetteer
34     * @return the linear gazetteer */
35    public Gazetteer getGazetteer();
36  
37    /**Associates a linear gazetteer with an onto gazetteer
38     * @param gaze the linear gazetteer to be associated with this onto gazetteer */
39    public void setGazetteer(Gazetteer gaze);
40  
41    /**Sets the url of the mapping definition
42     * @param url the url of the mapping definition  */
43    public void setMappingURL(java.net.URL url) ;
44  
45    /**Gets the url of the mapping definition
46     * @return the url of the mapping definition  */
47    public java.net.URL getMappingURL() ;
48  
49  } // interface OntoGazetteer