public class LanguageAnalyserDocumentProcessor extends Object implements DocumentProcessor
DocumentProcessor
that processes documents using a
LanguageAnalyser
.Constructor and Description |
---|
LanguageAnalyserDocumentProcessor() |
Modifier and Type | Method and Description |
---|---|
void |
cleanup()
Clean up resources.
|
void |
processDocument(Document doc)
Process the given GATE document.
|
void |
setAnalyser(LanguageAnalyser a)
Set the controller used to process documents.
|
public LanguageAnalyserDocumentProcessor()
public void setAnalyser(LanguageAnalyser a)
public void processDocument(Document doc) throws GateException
DocumentProcessor
processDocument
in interface DocumentProcessor
GateException
public void cleanup()