public class LanguageIDWrapper extends Object
Constructor and Description |
---|
LanguageIDWrapper() |
Modifier and Type | Method and Description |
---|---|
static com.google.common.base.Optional<com.optimaize.langdetect.i18n.LdLocale> |
detect(String s) |
static List<com.optimaize.langdetect.DetectedLanguage> |
getProbabilities(String s) |
static void |
loadBuiltInModels() |
static void |
loadModels(Path path) |
public static void loadBuiltInModels() throws IOException
IOException
public static void loadModels(Path path) throws IOException
IOException
public static com.google.common.base.Optional<com.optimaize.langdetect.i18n.LdLocale> detect(String s)
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.