com.hankcs.hanlp.corpus.occurrence
类 TriaFrequency

java.lang.Object
  继承者 java.util.AbstractMap.SimpleEntry<String,Integer>
      继承者 com.hankcs.hanlp.corpus.occurrence.TermFrequency
          继承者 com.hankcs.hanlp.corpus.occurrence.PairFrequency
              继承者 com.hankcs.hanlp.corpus.occurrence.TriaFrequency
所有已实现的接口:
Serializable, Comparable<TermFrequency>, Map.Entry<String,Integer>

public class TriaFrequency
extends PairFrequency

一个二元的词串的频度

作者:
hankcs
另请参见:
序列化表格

字段摘要
 String third
           
 
从类 com.hankcs.hanlp.corpus.occurrence.PairFrequency 继承的字段
delimiter, first, le, mi, re, score, second
 
方法摘要
static TriaFrequency create(String first, char delimiter, String second, String third)
          构造一个三阶接续,正向
static TriaFrequency create(String second, String third, char delimiter, String first)
          构造一个三阶接续,逆向
 String toString()
           
 
从类 com.hankcs.hanlp.corpus.occurrence.PairFrequency 继承的方法
create, isRight
 
从类 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
 

字段详细信息

third

public String third
方法详细信息

create

public static TriaFrequency create(String first,
                                   char delimiter,
                                   String second,
                                   String third)
构造一个三阶接续,正向

参数:
first -
second -
third -
delimiter - 一般使用RIGHT!
返回:

create

public static TriaFrequency create(String second,
                                   String third,
                                   char delimiter,
                                   String first)
构造一个三阶接续,逆向

参数:
second -
third -
delimiter - 一般使用LEFT
first -
返回:

toString

public String toString()
覆盖:
PairFrequency 中的 toString


Copyright © 2014–2015 码农场. All rights reserved.