public class DooTextBasedLanguageDetector implements TextBasedLanguageDetector
Detects language of a document
| Constructor and Description |
|---|
DooTextBasedLanguageDetector() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<net.doo.snap.entity.Language> |
detectTextBasedLanguages()
Detects language of document. Might perform heavy computations and block current thread.
|
detectTextBasedLanguagespublic java.util.Collection<net.doo.snap.entity.Language> detectTextBasedLanguages()
Detects language of document. Might perform heavy computations and block current thread.