01 /*
02 * CorpusController.java
03 *
04 * Copyright (c) 1995-2010, The University of Sheffield. See the file
05 * COPYRIGHT.txt in the software or at http://gate.ac.uk/gate/COPYRIGHT.txt
06 *
07 * This file is part of GATE (see http://gate.ac.uk/), and is free
08 * software, licenced under the GNU Library General Public License,
09 * 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, 10/May/2002
13 *
14 * $Id: CorpusController.java 12006 2009-12-01 17:24:28Z thomas_heitz $
15 */
16
17 package gate;
18
19 /**
20 * Models the execution of groups of ProcessingResources on a given corpus.
21 */
22 public interface CorpusController extends Controller {
23
24 /**
25 * Returns the {@link gate.Corpus} used by this
26 * controller.
27 */
28 public gate.Corpus getCorpus();
29
30 /**
31 * Sets the {@link gate.Corpus} which contains the data on which
32 * the controller is going to run.
33 */ public void setCorpus(gate.Corpus corpus);
34
35 }
|