public enum LOCAL_TERM_WEIGHTS extends Enum<LOCAL_TERM_WEIGHTS> implements Named
| Enum Constant and Description |
|---|
AUGMENTED_NORMALIZED_TERM_FREQUENCY |
BINARY |
LOGARITHMIC |
TERM_FREQUENCY |
| Modifier and Type | Method and Description |
|---|---|
static LOCAL_TERM_WEIGHTS |
byName(String name) |
String |
getName() |
static LOCAL_TERM_WEIGHTS |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LOCAL_TERM_WEIGHTS[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LOCAL_TERM_WEIGHTS TERM_FREQUENCY
public static final LOCAL_TERM_WEIGHTS BINARY
public static final LOCAL_TERM_WEIGHTS LOGARITHMIC
public static final LOCAL_TERM_WEIGHTS AUGMENTED_NORMALIZED_TERM_FREQUENCY
public static LOCAL_TERM_WEIGHTS[] values()
for (LOCAL_TERM_WEIGHTS c : LOCAL_TERM_WEIGHTS.values()) System.out.println(c);
public static LOCAL_TERM_WEIGHTS valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static LOCAL_TERM_WEIGHTS byName(String name)
Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.