|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectjava.util.AbstractMap.SimpleEntry<String,Integer>
com.hankcs.hanlp.corpus.occurrence.TermFrequency
com.hankcs.hanlp.corpus.occurrence.PairFrequency
public class PairFrequency
一个二元的词串的频度
| 字段摘要 | |
|---|---|
char |
delimiter
|
String |
first
|
double |
le
左信息熵 |
double |
mi
互信息值 |
double |
re
右信息熵 |
double |
score
分数 |
String |
second
|
| 构造方法摘要 | |
|---|---|
protected |
PairFrequency(String term)
|
protected |
PairFrequency(String term,
Integer frequency)
|
| 方法摘要 | |
|---|---|
static PairFrequency |
create(String first,
char delimiter,
String second)
构造一个pf |
boolean |
isRight()
|
String |
toString()
|
| 从类 com.hankcs.hanlp.corpus.occurrence.TermFrequency 继承的方法 |
|---|
compareTo, getFrequency, getTerm, increase, increase |
| 从类 java.util.AbstractMap.SimpleEntry 继承的方法 |
|---|
equals, getKey, getValue, hashCode, setValue |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| 字段详细信息 |
|---|
public double mi
public double le
public double re
public double score
public String first
public String second
public char delimiter
| 构造方法详细信息 |
|---|
protected PairFrequency(String term,
Integer frequency)
protected PairFrequency(String term)
| 方法详细信息 |
|---|
public static PairFrequency create(String first,
char delimiter,
String second)
first - delimiter - second -
public boolean isRight()
public String toString()
AbstractMap.SimpleEntry<String,Integer> 中的 toString
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||