public class LanguageAnalyserDocumentProcessor extends Object implements DocumentProcessor
DocumentProcessor that processes documents using a
LanguageAnalyser.| Modifier and Type | Field and Description |
|---|---|
protected LanguageAnalyser |
analyser
The analyser used to process documents.
|
| Constructor and Description |
|---|
LanguageAnalyserDocumentProcessor() |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup()
Clean up resources.
|
LanguageAnalyser |
getAnalyser() |
void |
processDocument(Document doc)
Process the given GATE document.
|
void |
setAnalyser(LanguageAnalyser a)
Set the controller used to process documents.
|
protected LanguageAnalyser analyser
public void setAnalyser(LanguageAnalyser a)
public LanguageAnalyser getAnalyser()
public void processDocument(Document doc) throws GateException
DocumentProcessorprocessDocument in interface DocumentProcessorGateExceptionpublic void cleanup()
Copyright © 2024 GATE. All rights reserved.