gate
Interface LanguageAnalyser

All Superinterfaces:
Executable, FeatureBearer, NameBearer, ProcessingResource, Resource, Serializable
All Known Subinterfaces:
Gazetteer, OntoGazetteer
All Known Implementing Classes:
AbstractCoreferencer, AbstractGazetteer, AbstractLanguageAnalyser, AbstractOntoGazetteer, ANNIETransducer, AnnotationDeletePR, AnnotationSetTransfer, APFormatExporter, ConditionalSerialAnalyserController, Coreferencer, DefaultGazetteer, DefaultTokeniser, DumpingPR, DynamicRegistrationTest.TestResource, FlexibleGazetteer, GazetteerListsCollector, HashGazetteer, Morph, NominalCoref, OntoGazetteerImpl, OntologyAwareTransducer, OrthoMatcher, POSTagger, PronominalCoref, RealtimeCorpusController, RegexSentenceSplitter, SampleOrthoMatcher, SentenceSplitter, SerialAnalyserController, SharedDefaultGazetteer, SimpleTokeniser, TestAnnotatedProcessingResource, TestSubclassProcessingResource, TestSuperclassProcessingResource, TestUnannotatedProcessingResource, Transducer, VPChunker

@CreoleResource(name="Language analyser",
                comment="A processing resource that takes document and corpus parameters")
public interface LanguageAnalyser
extends ProcessingResource

A special type of ProcessingResource that processes Documents


Method Summary
 Corpus getCorpus()
          Get the corpus property for this analyser.
 Document getDocument()
          Get the document property for this analyser.
 void setCorpus(Corpus corpus)
          Set the corpus property for this analyser.
 void setDocument(Document document)
          Set the document property for this analyser.
 
Methods inherited from interface gate.ProcessingResource
reInit
 
Methods inherited from interface gate.Resource
cleanup, getParameterValue, init, setParameterValue, setParameterValues
 
Methods inherited from interface gate.util.FeatureBearer
getFeatures, setFeatures
 
Methods inherited from interface gate.util.NameBearer
getName, setName
 
Methods inherited from interface gate.Executable
execute, interrupt, isInterrupted
 

Method Detail

setDocument

@RunTime
@CreoleParameter(comment="The document to process")
void setDocument(Document document)
Set the document property for this analyser.


getDocument

Document getDocument()
Get the document property for this analyser.


setCorpus

@RunTime
@CreoleParameter(comment="The corpus containing the document to process")
void setCorpus(Corpus corpus)
Set the corpus property for this analyser.


getCorpus

Corpus getCorpus()
Get the corpus property for this analyser.