Enum StopwordsList
- All Implemented Interfaces:
Serializable,Comparable<StopwordsList>,java.lang.constant.Constable
Identifies a predefined list of language-specific stopwords.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSelects the stopword list for Arabic.Selects the stopword list for Armenian.Selects the stopword list for Basque.Selects the stopword list for Portuguese (Brazil).Selects the stopword list for Bulgarian.Selects the stopword list for Catalan.Selects the stopword list for Czech.Selects the stopword list for Danish.Selects the stopword list for Dutch.Selects the stopword list for English.Selects the stopword list for Finnish.Selects the stopword list for French.Selects the stopword list for Galician.Selects the stopword list for German.Selects the stopword list for Greek.Selects the stopword list for Hindi.Selects the stopword list for Hungarian.Selects the stopword list for Indonesian.Selects the stopword list for Irish.Selects the stopword list for Italian.Selects the stopword list for Latvian.Selects the stopword list for Norwegian.Selects the stopword list for Persian.Selects the stopword list for Portuguese.Selects the stopword list for Romanian.Selects the stopword list for Russian.Selects the stopword list for Sorani.Selects the stopword list for Spanish.Selects the stopword list for Swedish.Selects the stopword list for Thai.Selects the stopword list for Turkish. -
Method Summary
Modifier and TypeMethodDescriptionstatic StopwordsListfromString(String value) Parses a serialized value to a StopwordsList instance.toString()static StopwordsListReturns the enum constant of this type with the specified name.static StopwordsList[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ARABIC
Selects the stopword list for Arabic. -
ARMENIAN
Selects the stopword list for Armenian. -
BASQUE
Selects the stopword list for Basque. -
BRAZILIAN
Selects the stopword list for Portuguese (Brazil). -
BULGARIAN
Selects the stopword list for Bulgarian. -
CATALAN
Selects the stopword list for Catalan. -
CZECH
Selects the stopword list for Czech. -
DANISH
Selects the stopword list for Danish. -
DUTCH
Selects the stopword list for Dutch. -
ENGLISH
Selects the stopword list for English. -
FINNISH
Selects the stopword list for Finnish. -
FRENCH
Selects the stopword list for French. -
GALICIAN
Selects the stopword list for Galician. -
GERMAN
Selects the stopword list for German. -
GREEK
Selects the stopword list for Greek. -
HINDI
Selects the stopword list for Hindi. -
HUNGARIAN
Selects the stopword list for Hungarian. -
INDONESIAN
Selects the stopword list for Indonesian. -
IRISH
Selects the stopword list for Irish. -
ITALIAN
Selects the stopword list for Italian. -
LATVIAN
Selects the stopword list for Latvian. -
NORWEGIAN
Selects the stopword list for Norwegian. -
PERSIAN
Selects the stopword list for Persian. -
PORTUGUESE
Selects the stopword list for Portuguese. -
ROMANIAN
Selects the stopword list for Romanian. -
RUSSIAN
Selects the stopword list for Russian. -
SORANI
Selects the stopword list for Sorani. -
SPANISH
Selects the stopword list for Spanish. -
SWEDISH
Selects the stopword list for Swedish. -
THAI
Selects the stopword list for Thai. -
TURKISH
Selects the stopword list for Turkish.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
fromString
Parses a serialized value to a StopwordsList instance.- Parameters:
value- the serialized value to parse.- Returns:
- the parsed StopwordsList object, or null if unable to parse.
-
toString
- Overrides:
toStringin classEnum<StopwordsList>
-