| CorpusController.java |
1 /*
2 * CorpusController.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 * Kalina Bontcheva, 10/May/2002
12 *
13 * $Id: CorpusController.java,v 1.3 2005/01/11 13:51:30 ian Exp $
14 */
15
16 package gate;
17
18 /** Models the execution of groups of ProcessingResources on a given corpus.
19 */
20 public interface CorpusController extends Controller {
21
22 /**
23 * Returns the {@link gate.Corpus} used by this
24 * controller.
25 */
26 public gate.Corpus getCorpus();
27
28 /**
29 * Sets the {@link gate.Corpus} which contains the data on which
30 * the controller is going to run.
31 */ public void setCorpus(gate.Corpus corpus);
32
33 }