|
Word |
|
1 /* 2 * Word.java 3 * 4 * Copyright (c) 1998-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, June 1991 (in the distribution as file licence.html, 9 * and also available at http://gate.ac.uk/gate/licence.html). 10 * 11 * Marin Dimitrov, 16/May/2002 12 * 13 * $Id: Word.java,v 1.3 2002/05/30 09:54:17 marin Exp $ 14 */ 15 16 package gate.wordnet; 17 18 import java.util.*; 19 20 import gate.*; 21 import gate.event.*; 22 23 24 /** Represents WordNet word. 25 */ 26 public interface Word { 27 28 /** returns the senses of this word */ 29 public List getWordSenses() throws WordNetException; 30 31 /** returns the lemma of this word */ 32 public String getLemma(); 33 34 /** returns the number of senses of this word (not necessarily loading them from storage) */ 35 public int getSenseCount(); 36 37 } 38 39
|
Word |
|