public DocumentClassifier
Performs classification of documents
| Modifier and Type | Method and Description |
|---|---|
DocumentType |
classifyDocument() |
void |
initialize()
Initializes DocumentClassifier ahead of time. It is not mandatory to call this method, although it might be used to start initialization (which is a heavy task) before actual classification.
|
boolean |
isLanguageSupported() |
boolean isLanguageSupported()
true if given language is supported by TextLanguageDetector. false otherwise.void initialize()
Initializes DocumentClassifier ahead of time. It is not mandatory to call this method, although it might be used to start initialization (which is a heavy task) before actual classification.
DocumentType classifyDocument()