com.hankcs.hanlp.suggest.scorer.editdistance
类 EditDistanceScorer

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

public class EditDistanceScorer
extends BaseScorer<CharArray>

编辑距离打分器

作者:
hankcs

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

构造方法详细信息

EditDistanceScorer

public EditDistanceScorer()
方法详细信息

generateKey

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

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


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