public class WordWeight extends Object
| Constructor and Description |
|---|
WordWeight() |
WordWeight(Integer maxCount,
Integer recyclingCount)
新的个数 = maxCount - recyclingCount; recyclingCount< maxCount
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(String word) |
void |
add(String word,
double weight) |
void |
add(String word,
String target) |
void |
add(String word,
String target,
double weight) |
Map<String,Double> |
export()
导出词频统计结果
|
HashMap<String,MapCount<String>> |
exportChiSquare() |
Map<String,Double> |
exportIDF()
导出IDF统计结果
|
Copyright © 2016. All rights reserved.