public class PinyinScorer extends BaseScorer<PinyinKey>
boost, storage| Constructor and Description |
|---|
PinyinScorer() |
| Modifier and Type | Method and Description |
|---|---|
protected PinyinKey |
generateKey(String sentence)
生成能够代表这个句子的键
|
addSentence, computeScore, removeAllSentences, setBoostprotected PinyinKey generateKey(String sentence)
BaseScorergenerateKey in class BaseScorer<PinyinKey>Copyright © 2014–2021 码农场. All rights reserved.