| LexKBSynset.java |
1 /*
2 * LexKBSynset.java
3 *
4 * Copyright (c) 1998-2005, 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, June 1991 (in the distribution as file licence.html,
9 * and also available at http://gate.ac.uk/gate/licence.html).
10 *
11 * Kalina Bontcheva, 28/January/2003
12 *
13 * $Id: LexKBSynset.java,v 1.4 2005/01/11 13:51:36 ian Exp $
14 */
15
16 package gate.lexicon;
17
18 import java.util.List;
19
20 public interface LexKBSynset {
21
22 /** returns the part-of-speech for this synset*/
23 public Object getPOS();
24
25 /** textual description of the synset */
26 public String getDefinition();
27
28 /** WordSenses contained in this synset */
29 public List getWordSenses();
30
31 /** get specific WordSense according to its order in the synset - most important senses come first */
32 public LexKBWordSense getWordSense(int offset);
33
34 /** Returns the Id of the synset, each synset has a unique Id for
35 * connection to the ontology
36 */
37 public Object getId();
38
39
40 }