| 程序包 | 说明 |
|---|---|
| com.hankcs.hanlp.corpus.dictionary | |
| com.hankcs.hanlp.corpus.occurrence |
| 限定符和类型 | 方法和说明 |
|---|---|
protected Map.Entry<String,TermFrequency> |
TFDictionary.onGenerateEntry(String line) |
TreeSet<TermFrequency> |
TFDictionary.values()
按照频率从高到低排序的条目
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
PairFrequency
一个二元的词串的频度
|
class |
TriaFrequency
一个二元的词串的频度
|
| 限定符和类型 | 方法和说明 |
|---|---|
Set<Map.Entry<String,TermFrequency>> |
TermOccurrence.getEntrySet() |
Set<Map.Entry<String,TermFrequency>> |
Occurrence.getUniGram()
获取一阶共现,其实就是词频统计
|
| 限定符和类型 | 方法和说明 |
|---|---|
int |
TermFrequency.compareTo(TermFrequency o) |
Copyright © 2014–2018 码农场. All rights reserved.