public class LanguageIDWrapper extends Object
Constructor and Description |
---|
LanguageIDWrapper() |
Modifier and Type | Method and Description |
---|---|
List<Language> |
getProbabilities(String s) |
String[] |
getSupportedLanguages() |
static void |
loadBuiltInModels() |
static void |
loadModels(Path path) |
static void |
setMaxTextLength(int maxTextLength) |
public static void loadBuiltInModels() throws IOException
IOException
public static void loadModels(Path path) throws IOException
IOException
public String[] getSupportedLanguages()
public static void setMaxTextLength(int maxTextLength)
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.