Package com.yahoo.language.process
Enum TokenScript
- java.lang.Object
-
- java.lang.Enum<TokenScript>
-
- com.yahoo.language.process.TokenScript
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<TokenScript>
public enum TokenScript extends java.lang.Enum<TokenScript>
List of token scripts (e.g. latin, japanese, chinese, etc.) which may warrant different linguistics treatment.- Author:
- Mathias Mølster Lidal
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TokenScript
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static TokenScript[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COMMON
public static final TokenScript COMMON
-
LATIN
public static final TokenScript LATIN
-
GREEK
public static final TokenScript GREEK
-
CYRILLIC
public static final TokenScript CYRILLIC
-
ARMENIAN
public static final TokenScript ARMENIAN
-
HEBREW
public static final TokenScript HEBREW
-
ARABIC
public static final TokenScript ARABIC
-
SYRIAC
public static final TokenScript SYRIAC
-
THAANA
public static final TokenScript THAANA
-
DEVANAGARI
public static final TokenScript DEVANAGARI
-
BENGALI
public static final TokenScript BENGALI
-
GURMUKHI
public static final TokenScript GURMUKHI
-
GUJARATI
public static final TokenScript GUJARATI
-
ORIYA
public static final TokenScript ORIYA
-
TAMIL
public static final TokenScript TAMIL
-
TELUGU
public static final TokenScript TELUGU
-
KANNADA
public static final TokenScript KANNADA
-
MALAYALAM
public static final TokenScript MALAYALAM
-
SINHALA
public static final TokenScript SINHALA
-
THAI
public static final TokenScript THAI
-
LAO
public static final TokenScript LAO
-
TIBETAN
public static final TokenScript TIBETAN
-
MYANMAR
public static final TokenScript MYANMAR
-
GEORGIAN
public static final TokenScript GEORGIAN
-
HANGUL
public static final TokenScript HANGUL
-
ETHIOPIC
public static final TokenScript ETHIOPIC
-
CHEROKEE
public static final TokenScript CHEROKEE
-
CANADIAN
public static final TokenScript CANADIAN
-
OGHAM
public static final TokenScript OGHAM
-
RUNIC
public static final TokenScript RUNIC
-
KHMER
public static final TokenScript KHMER
-
MONGOLIAN
public static final TokenScript MONGOLIAN
-
HIRAGANA
public static final TokenScript HIRAGANA
-
KATAKANA
public static final TokenScript KATAKANA
-
CHINESE
public static final TokenScript CHINESE
-
HAN
public static final TokenScript HAN
-
YI
public static final TokenScript YI
-
OLDITALIC
public static final TokenScript OLDITALIC
-
GOTHIC
public static final TokenScript GOTHIC
-
DESERET
public static final TokenScript DESERET
-
INHERITED
public static final TokenScript INHERITED
-
TAGALOG
public static final TokenScript TAGALOG
-
HANUNOO
public static final TokenScript HANUNOO
-
BUHID
public static final TokenScript BUHID
-
TAGBANWA
public static final TokenScript TAGBANWA
-
LIMBU
public static final TokenScript LIMBU
-
TAILE
public static final TokenScript TAILE
-
LINEARB
public static final TokenScript LINEARB
-
UGARITIC
public static final TokenScript UGARITIC
-
SHAVIAN
public static final TokenScript SHAVIAN
-
OSMANYA
public static final TokenScript OSMANYA
-
CYPRIOT
public static final TokenScript CYPRIOT
-
BRAILLE
public static final TokenScript BRAILLE
-
ASCII
public static final TokenScript ASCII
-
BUGINESE
public static final TokenScript BUGINESE
-
COPTIC
public static final TokenScript COPTIC
-
GLAGOLITIC
public static final TokenScript GLAGOLITIC
-
KHAROSHTHI
public static final TokenScript KHAROSHTHI
-
OLDPERSIAN
public static final TokenScript OLDPERSIAN
-
SYLOTINAGRI
public static final TokenScript SYLOTINAGRI
-
TAILUE
public static final TokenScript TAILUE
-
TIFINAGH
public static final TokenScript TIFINAGH
-
VIETNAMESE
public static final TokenScript VIETNAMESE
-
UNKNOWN
public static final TokenScript UNKNOWN
-
-
Method Detail
-
values
public static TokenScript[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TokenScript c : TokenScript.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TokenScript valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-