gate.creole
Class AbstractLanguageAnalyser
java.lang.Object
|
+--gate.util.AbstractFeatureBearer
|
+--gate.creole.AbstractResource
|
+--gate.creole.AbstractProcessingResource
|
+--gate.creole.AbstractLanguageAnalyser
- All Implemented Interfaces:
- Executable, FeatureBearer, LanguageAnalyser, NameBearer, ProcessingResource, Resource, Serializable
- Direct Known Subclasses:
- AnnotationDeletePR, AnnotationSetTransfer, APFormatExporter, DefaultGazetteer, DefaultTokeniser, OrthoMatcher, POSTagger, SentenceSplitter, SimpleTokeniser, Transducer
- public abstract class AbstractLanguageAnalyser
- extends AbstractProcessingResource
- implements LanguageAnalyser
A parent implementation of language analysers with some default code.
- See Also:
- Serialized Form
Field Summary |
protected Corpus |
corpus
The corpus property for this analyser. |
protected Document |
document
The document property for this analyser. |
Methods inherited from class gate.creole.AbstractProcessingResource |
addProgressListener, addStatusListener, cleanup, execute, fireProcessFinished, fireProgressChanged, fireStatusChanged, init, interrupt, isInterrupted, reInit, removeProgressListener, removeStatusListener |
Methods inherited from class gate.creole.AbstractResource |
checkParameterValues, getName, getParameterValue, getParameterValue, removeResourceListeners, setName, setParameterValue, setParameterValue, setParameterValues, setParameterValues, setResourceListeners |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
document
protected Document document
- The document property for this analyser.
corpus
protected Corpus corpus
- The corpus property for this analyser.
AbstractLanguageAnalyser
public AbstractLanguageAnalyser()
setDocument
public void setDocument(Document document)
- Set the document property for this analyser.
- Specified by:
setDocument
in interface LanguageAnalyser
getDocument
public Document getDocument()
- Get the document property for this analyser.
- Specified by:
getDocument
in interface LanguageAnalyser
setCorpus
public void setCorpus(Corpus corpus)
- Set the corpus property for this analyser.
- Specified by:
setCorpus
in interface LanguageAnalyser
getCorpus
public Corpus getCorpus()
- Get the corpus property for this analyser.
- Specified by:
getCorpus
in interface LanguageAnalyser