public class LanguageIDWrapper extends Object implements StringStatsCalculator<List<LanguageResult>>
Constructor and Description |
---|
LanguageIDWrapper() |
Modifier and Type | Method and Description |
---|---|
List<LanguageResult> |
calculate(String txt) |
String[] |
getSupportedLanguages() |
static void |
setMaxTextLength(int maxContentLengthForLangId) |
public static void setMaxTextLength(int maxContentLengthForLangId)
public List<LanguageResult> calculate(String txt)
calculate
in interface StringStatsCalculator<List<LanguageResult>>
public String[] getSupportedLanguages()
Copyright © 2007–2022 The Apache Software Foundation. All rights reserved.