SemanticRelation.java |
1 /* 2 * SemanticRelation.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 * Marin Dimitrov, 16/May/2002 12 * 13 * $Id: SemanticRelation.java,v 1.5 2005/01/11 13:51:38 ian Exp $ 14 */ 15 16 package gate.wordnet; 17 18 19 20 /** Represents WordNet sem relation. 21 */ 22 public interface SemanticRelation extends Relation { 23 24 /** returns the source (Synset) of this lexical relation */ 25 public Synset getSource(); 26 27 /** returns the source (Synset) of this lexical relation */ 28 public Synset getTarget(); 29 30 } 31 32