1   /*
2    *  LexKBSynset.java
3    *
4    *  Copyright (c) 1998-2003, 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: MutableLexicalKnowledgeBase.java,v 1.2 2003/02/25 20:03:09 kalina Exp $
14   */
15  package gate.lexicon;
16  
17  import java.util.*;
18  
19  public interface MutableLexicalKnowledgeBase extends LexicalKnowledgeBase {
20  
21    /** returns the lexicon version */
22    public void setVersion(String newVersion);
23  
24    /** add a new word */
25    public MutableWord addWord(String lemma);
26  
27    /** add a new synset */
28    public MutableLexKBSynset addSynset();
29  
30    public void addPOSType(Object newPOSType);
31  
32    public void removeWord(MutableWord theWord);
33  
34    public void removeSynset(MutableLexKBSynset synset);
35  }