Word.java |
1 2 /* 3 * Word.java 4 * 5 * Copyright (c) 1998-2005, The University of Sheffield. 6 * 7 * This file is part of GATE (see http://gate.ac.uk/), and is free 8 * software, licenced under the GNU Library General Public License, 9 * Version 2, June 1991 (in the distribution as file licence.html, 10 * and also available at http://gate.ac.uk/gate/licence.html). 11 * 12 * Kalina Bontcheva, 28/January/2003 13 * 14 * $Id: Word.java,v 1.4 2005/01/11 13:51:36 ian Exp $ 15 */ 16 package gate.lexicon; 17 18 import java.util.List; 19 20 public interface Word { 21 22 /** returns the senses of this word */ 23 public List getWordSenses(); 24 25 /** returns the lemma of this word */ 26 public String getLemma(); 27 28 /** returns the number of senses of this word (not necessarily loading them from storage) */ 29 public int getSenseCount(); 30 31 }