public enum TermProperty extends java.lang.Enum<TermProperty> implements Property<Term>
Enum Constant and Description |
---|
DEPTH |
DOCUMENT_FREQUENCY |
FILTERED |
FREQUENCY |
FREQUENCY_NORM |
GENERAL_FREQUENCY_NORM |
GROUPING_KEY |
INDEPENDANCE |
INDEPENDANT_FREQUENCY |
IS_FIXED_EXPRESSION |
IS_SINGLE_WORD |
LEMMA |
ORTHOGRAPHIC_SCORE |
PATTERN |
PILOT |
RANK |
SPEC_IDF |
SPECIFICITY |
SPOTTING_RULE |
SWT_SIZE |
TF_IDF |
Modifier and Type | Method and Description |
---|---|
int |
compare(Term o1,
Term o2) |
static TermProperty |
forName(java.lang.String name) |
static java.util.Optional<TermProperty> |
forNameOptional(java.lang.String name) |
static TermProperty |
fromJsonString(java.lang.String field) |
java.util.Comparator<Term> |
getComparator() |
java.util.Comparator<Term> |
getComparator(boolean reverse) |
java.lang.String |
getDescription() |
java.lang.String |
getJsonField() |
java.lang.String |
getPropertyName() |
java.lang.Class<?> |
getRange() |
boolean |
isDecimalNumber() |
boolean |
isNumeric() |
static java.util.stream.Stream<TermProperty> |
numberValues() |
static java.util.stream.Stream<TermProperty> |
stream() |
static TermProperty |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TermProperty[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
forName, forNameIgnoreCase, forNameOptional, forNameStrictCase
public static final TermProperty RANK
public static final TermProperty IS_SINGLE_WORD
public static final TermProperty DOCUMENT_FREQUENCY
public static final TermProperty FREQUENCY_NORM
public static final TermProperty GENERAL_FREQUENCY_NORM
public static final TermProperty SPECIFICITY
public static final TermProperty FREQUENCY
public static final TermProperty ORTHOGRAPHIC_SCORE
public static final TermProperty INDEPENDANT_FREQUENCY
public static final TermProperty INDEPENDANCE
public static final TermProperty PILOT
public static final TermProperty LEMMA
public static final TermProperty TF_IDF
public static final TermProperty SPEC_IDF
public static final TermProperty GROUPING_KEY
public static final TermProperty PATTERN
public static final TermProperty SPOTTING_RULE
public static final TermProperty IS_FIXED_EXPRESSION
public static final TermProperty SWT_SIZE
public static final TermProperty FILTERED
public static final TermProperty DEPTH
public static TermProperty[] values()
for (TermProperty c : TermProperty.values()) System.out.println(c);
public static TermProperty valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getDescription()
getDescription
in interface Property<Term>
public java.lang.String getPropertyName()
getPropertyName
in interface Property<Term>
public java.lang.String getJsonField()
getJsonField
in interface Property<Term>
public boolean isDecimalNumber()
isDecimalNumber
in interface Property<Term>
public java.util.Comparator<Term> getComparator()
getComparator
in interface Property<Term>
public java.util.Comparator<Term> getComparator(boolean reverse)
getComparator
in interface Property<Term>
public static TermProperty forName(java.lang.String name)
public static java.util.Optional<TermProperty> forNameOptional(java.lang.String name)
public static TermProperty fromJsonString(java.lang.String field)
public static java.util.stream.Stream<TermProperty> numberValues()
public static java.util.stream.Stream<TermProperty> stream()