public class NGramDetector extends Object
| Constructor and Description |
|---|
NGramDetector(File sourceModelZip,
int maxLength) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Double> |
detectLanguages(String text,
List<String> additionalLanguageCodes) |
public NGramDetector(File sourceModelZip, int maxLength) throws IOException
IOException