com.carrotsearch.lingo3g
Enum Lingo3GAttributes.UnknownWordHandlingStrategy
java.lang.Object
java.lang.Enum<Lingo3GAttributes.UnknownWordHandlingStrategy>
com.carrotsearch.lingo3g.Lingo3GAttributes.UnknownWordHandlingStrategy
- All Implemented Interfaces:
- Serializable, Comparable<Lingo3GAttributes.UnknownWordHandlingStrategy>
- Enclosing class:
- Lingo3GAttributes
public static enum Lingo3GAttributes.UnknownWordHandlingStrategy
- extends Enum<Lingo3GAttributes.UnknownWordHandlingStrategy>
Defines how Lingo3G should treat unknown words in labels of persistent clusters. A
word is unknown when it occurs in the persistent cluster's label but it is not
present in any of the documents being clustered.
- See Also:
Lingo3GAttributes.unknownWordHandlingStrategy
DO_NOT_ASSIGN_DOCUMENTS
public static final Lingo3GAttributes.UnknownWordHandlingStrategy DO_NOT_ASSIGN_DOCUMENTS
- See Also:
Lingo3GAttributes.unknownWordHandlingStrategy
ASSIGN_DOCUMENTS
public static final Lingo3GAttributes.UnknownWordHandlingStrategy ASSIGN_DOCUMENTS
- See Also:
Lingo3GAttributes.unknownWordHandlingStrategy
values
public static Lingo3GAttributes.UnknownWordHandlingStrategy[] 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 (Lingo3GAttributes.UnknownWordHandlingStrategy c : Lingo3GAttributes.UnknownWordHandlingStrategy.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Lingo3GAttributes.UnknownWordHandlingStrategy valueOf(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:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
toString
public String toString()
- Overrides:
toString in class Enum<Lingo3GAttributes.UnknownWordHandlingStrategy>
Copyright (c) Dawid Weiss, Stanislaw Osinski