public enum LanguageModel extends Enum<LanguageModel>
Modifier and Type | Method and Description |
---|---|
CharTrie |
getTrie() |
static LanguageModel |
match(String text) |
static LanguageModel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LanguageModel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LanguageModel English
public static final LanguageModel French
public static final LanguageModel German
public static LanguageModel[] values()
for (LanguageModel c : LanguageModel.values()) System.out.println(c);
public static LanguageModel valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static LanguageModel match(String text)
public CharTrie getTrie()
Copyright © 2017 SimiaCryptus Software. All rights reserved.