|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
public interface IScorer
打分接口
| 方法摘要 | |
|---|---|
void |
addSentence(String sentence)
输入一个候选句子 |
Map<String,Double> |
computeScore(String outerSentence)
计算分值 |
void |
removeAllSentences()
清空该推荐器中的所有句子 |
| 方法详细信息 |
|---|
Map<String,Double> computeScore(String outerSentence)
outerSentence - 外部句子
void addSentence(String sentence)
sentence - void removeAllSentences()
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||