gate.creole
Class SerialAnalyserController
java.lang.Object
|
+--gate.util.AbstractFeatureBearer
|
+--gate.creole.AbstractResource
|
+--gate.creole.AbstractController
|
+--gate.creole.SerialController
|
+--gate.creole.SerialAnalyserController
- All Implemented Interfaces:
- Controller, CreoleListener, EventListener, Executable, FeatureBearer, NameBearer, Resource, Serializable
- public class SerialAnalyserController
- extends SerialController
This class implements a SerialController that only contains
LanguageAnalyser
s.
It has a Corpus
and its execute method runs all the analysers in
turn over each of the documents in the corpus.
- See Also:
- Serialized Form
Methods inherited from class gate.creole.SerialController |
add, cleanup, datastoreClosed, datastoreCreated, datastoreOpened, getPRs, remove, remove, resourceLoaded, resourceRenamed, resourceUnloaded, set, setPRs |
SerialAnalyserController
public SerialAnalyserController()
getCorpus
public Corpus getCorpus()
setCorpus
public void setCorpus(Corpus corpus)
execute
public void execute()
throws ExecutionException
- Run the Processing Resources in sequence.
- Overrides:
execute
in class SerialController
add
public void add(ProcessingResource pr)
- Overidden from
SerialController
to only allow
LanguageAnalyser
s as components.
- Overrides:
add
in class SerialController
getOffendingPocessingResources
public List getOffendingPocessingResources()
throws ResourceInstantiationException
- Checks whether all the contained PRs have all the required runtime
parameters set. Ignores the corpus and document parameters as these will
be set at run time.
- Overrides:
getOffendingPocessingResources
in class AbstractController
- Returns:
- a
List
of ProcessingResource
s that have required
parameters with null values if they exist null otherwise.