LanguageAnalyser.java |
1 /* 2 * Copyright (c) 1998-2005, The University of Sheffield. 3 * 4 * This file is part of GATE (see http://gate.ac.uk/), and is free 5 * software, licenced under the GNU Library General Public License, 6 * Version 2, June 1991 (in the distribution as file licence.html, 7 * and also available at http://gate.ac.uk/gate/licence.html). 8 * 9 * Valentin Tablan 05/10/2001 10 * 11 * $Id: LanguageAnalyser.java,v 1.3 2005/01/11 13:51:30 ian Exp $ 12 * 13 */ 14 15 16 package gate; 17 18 /** 19 * A special type of {@link ProcessingResource} that processes {@link Document}s 20 */ 21 public interface LanguageAnalyser extends ProcessingResource { 22 23 /** Set the document property for this analyser. */ 24 public void setDocument(Document document); 25 26 /** Get the document property for this analyser. */ 27 public Document getDocument(); 28 29 /** Set the corpus property for this analyser. */ 30 public void setCorpus(Corpus corpus); 31 32 /** Get the corpus property for this analyser. */ 33 public Corpus getCorpus(); 34 }