Package com.yahoo.language.process
Enum Class TokenScript
- All Implemented Interfaces:
Serializable
,Comparable<TokenScript>
,Constable
List of token scripts (e.g. latin, japanese, chinese, etc.) which may warrant different
linguistics treatment.
- Author:
- Mathias Mølster Lidal
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic TokenScript
Returns the enum constant of this class with the specified name.static TokenScript[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
COMMON
-
LATIN
-
GREEK
-
CYRILLIC
-
ARMENIAN
-
HEBREW
-
ARABIC
-
SYRIAC
-
THAANA
-
DEVANAGARI
-
BENGALI
-
GURMUKHI
-
GUJARATI
-
ORIYA
-
TAMIL
-
TELUGU
-
KANNADA
-
MALAYALAM
-
SINHALA
-
THAI
-
LAO
-
TIBETAN
-
MYANMAR
-
GEORGIAN
-
HANGUL
-
ETHIOPIC
-
CHEROKEE
-
CANADIAN
-
OGHAM
-
RUNIC
-
KHMER
-
MONGOLIAN
-
HIRAGANA
-
KATAKANA
-
CHINESE
-
HAN
-
YI
-
OLDITALIC
-
GOTHIC
-
DESERET
-
INHERITED
-
TAGALOG
-
HANUNOO
-
BUHID
-
TAGBANWA
-
LIMBU
-
TAILE
-
LINEARB
-
UGARITIC
-
SHAVIAN
-
OSMANYA
-
CYPRIOT
-
BRAILLE
-
ASCII
-
BUGINESE
-
COPTIC
-
GLAGOLITIC
-
KHAROSHTHI
-
OLDPERSIAN
-
SYLOTINAGRI
-
TAILUE
-
TIFINAGH
-
VIETNAMESE
-
UNKNOWN
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-