Module org.elasticsearch.xcore
Enum Class ScriptCode
java.lang.Object
java.lang.Enum<ScriptCode>
org.elasticsearch.xpack.core.ml.inference.preprocessing.customwordembedding.ScriptCode
- All Implemented Interfaces:
Serializable,Comparable<ScriptCode>,Constable
These are the custom script codes that match up to the appropriate id row for the CLD3 weights and quantiles
See https://github.com/google/cld3/blob/master/src/script_span/generated_ulscript.h
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptioninttoInt()static ScriptCodestatic ScriptCodeReturns the enum constant of this class with the specified name.static ScriptCode[]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
-
Hani
-
Ethiopic
-
Cherokee
-
Canadian_Aboriginal
-
Ogham
-
Runic
-
Khmer
-
Mongolian
-
Undefined_32
-
Undefined_33
-
Bopomofo
-
Undefined_35
-
Yi
-
Old_Italic
-
Gothic
-
Deseret
-
Inherited
-
Tagalog
-
Hanunoo
-
Buhid
-
Tagbanwa
-
Limbu
-
Tai_Le
-
Linear_B
-
Ugaritic
-
Shavian
-
Osmanya
-
Cypriot
-
Braille
-
Buginese
-
Coptic
-
New_Tai_Lue
-
Glagolitic
-
Tifinagh
-
Syloti_Nagri
-
Old_Persian
-
Kharoshthi
-
Balinese
-
Cuneiform
-
Phoenician
-
Phags_Pa
-
Nko
-
Sundanese
-
Lepcha
-
Ol_Chiki
-
Vai
-
Saurashtra
-
Kayah_Li
-
Rejang
-
Lycian
-
Carian
-
Lydian
-
Cham
-
Tai_Tham
-
Tai_Viet
-
Avestan
-
Egyptian_Hieroglyphs
-
Samaritan
-
Lisu
-
Bamum
-
Javanese
-
Meetei_Mayek
-
Imperial_Aramaic
-
Old_South_Arabian
-
Inscriptional_Parthian
-
Inscriptional_Pahlavi
-
Old_Turkic
-
Kaithi
-
Batak
-
Brahmi
-
Mandaic
-
Chakma
-
Meroitic_Cursive
-
Meroitic_Hieroglyphs
-
Miao
-
Sharada
-
Sora_Sompeng
-
Takri
-
MAX_SCRIPT_CODE
-
-
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
-
unicodeScriptToULScript
-
toInt
public int toInt()
-