类 com.hankcs.hanlp.corpus.occurrence.TermFrequency
的使用

使用 TermFrequency 的软件包
com.hankcs.hanlp.corpus.dictionary   
com.hankcs.hanlp.corpus.occurrence   
 

com.hankcs.hanlp.corpus.dictionaryTermFrequency 的使用
 

返回变量类型为 TermFrequency 的类型的 com.hankcs.hanlp.corpus.dictionary 中的方法
protected  Map.Entry<String,TermFrequency> TFDictionary.onGenerateEntry(String line)
           
 TreeSet<TermFrequency> TFDictionary.values()
          按照频率从高到低排序的条目
 

com.hankcs.hanlp.corpus.occurrenceTermFrequency 的使用
 

com.hankcs.hanlp.corpus.occurrenceTermFrequency 的子类
 class PairFrequency
          一个二元的词串的频度
 class TriaFrequency
          一个二元的词串的频度
 

返回变量类型为 TermFrequency 的类型的 com.hankcs.hanlp.corpus.occurrence 中的方法
 Set<Map.Entry<String,TermFrequency>> TermOccurrence.getEntrySet()
           
 

参数类型为 TermFrequencycom.hankcs.hanlp.corpus.occurrence 中的方法
 int TermFrequency.compareTo(TermFrequency o)
           
 



Copyright © 2014–2015 鐮佸啘鍦�/a>. All rights reserved.