com.hankcs.hanlp.suggest.scorer.pinyin
类 PinyinScorer

java.lang.Object
  继承者 com.hankcs.hanlp.suggest.scorer.BaseScorer<PinyinKey>
      继承者 com.hankcs.hanlp.suggest.scorer.pinyin.PinyinScorer
所有已实现的接口:
IScorer

public class PinyinScorer
extends BaseScorer<PinyinKey>

拼音打分器

作者:
hankcs

字段摘要
 
从类 com.hankcs.hanlp.suggest.scorer.BaseScorer 继承的字段
boost, storage
 
构造方法摘要
PinyinScorer()
           
 
方法摘要
protected  PinyinKey generateKey(String sentence)
          生成能够代表这个句子的键
 
从类 com.hankcs.hanlp.suggest.scorer.BaseScorer 继承的方法
addSentence, computeScore, setBoost
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

PinyinScorer

public PinyinScorer()
方法详细信息

generateKey

protected PinyinKey generateKey(String sentence)
从类 BaseScorer 复制的描述
生成能够代表这个句子的键

指定者:
BaseScorer<PinyinKey> 中的 generateKey
返回:


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