@CreoleResource(name="Language analyser", comment="A processing resource that takes document and corpus parameters") public interface LanguageAnalyser extends ProcessingResource
ProcessingResource
that processes Document
sModifier and Type | Method and Description |
---|---|
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.
|
reInit
cleanup, getParameterValue, init, setParameterValue, setParameterValues
getFeatures, setFeatures
getName, setName
execute, interrupt, isInterrupted
@RunTime @CreoleParameter(comment="The document to process") void setDocument(Document document)
Document getDocument()
@Optional @RunTime @CreoleParameter(comment="The corpus containing the document to process") void setCorpus(Corpus corpus)
Corpus getCorpus()
Copyright © 2024 GATE. All rights reserved.