1   /*
2    *  LexKBWordSense.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: LexKBWordSense.java,v 1.3 2005/01/11 13:51:36 ian Exp $
14   */
15  package gate.lexicon;
16  
17  public interface LexKBWordSense {
18  
19    /** returns the Word of this WordSense */
20    public Word getWord();
21  
22    /** part-of-speech for this sense (inherited from the containing synset) */
23    public Object getPOS();
24  
25    /** synset of this sense */
26    public LexKBSynset getSynset();
27  
28    /** order of this sense relative to the word - i.e. most important senses of the same word come first */
29    public int getSenseNumber();
30  
31    /** order of this sense relative to the synset- i.e. most important senses of the same synset come first */
32    public int getOrderInSynset();
33  
34  }