public static enum TfIdf.TfType extends Enum<TfIdf.TfType>
| Enum Constant and Description |
|---|
BOOLEAN
01词频
|
LOGARITHM
词频的对数并加1
|
NATURAL
普通词频
|
| Modifier and Type | Method and Description |
|---|---|
static TfIdf.TfType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TfIdf.TfType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TfIdf.TfType NATURAL
public static final TfIdf.TfType LOGARITHM
public static final TfIdf.TfType BOOLEAN
public static TfIdf.TfType[] values()
for (TfIdf.TfType c : TfIdf.TfType.values()) System.out.println(c);
public static TfIdf.TfType 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 nullCopyright © 2014–2021 码农场. All rights reserved.