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
IOExceptionpublic static void loadModels(Path path) throws IOException
IOExceptionpublic static com.google.common.base.Optional<com.optimaize.langdetect.i18n.LdLocale> detect(String s)
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.