| Package | Description |
|---|---|
| com.hankcs.hanlp.mining.word |
| Modifier and Type | Method and Description |
|---|---|
static TfIdf.Normalization |
TfIdf.Normalization.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TfIdf.Normalization[] |
TfIdf.Normalization.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static <TERM> Map<TERM,Double> |
TfIdf.tfIdf(Map<TERM,Double> tf,
Map<TERM,Double> idf,
TfIdf.Normalization normalization)
计算文档的tf-idf
|
Copyright © 2014–2021 码农场. All rights reserved.