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