|
||||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||
| 使用 Pair 的软件包 | |
|---|---|
| com.hankcs.hanlp.collection.dartsclone | |
| com.hankcs.hanlp.dictionary.py | |
| com.hankcs.hanlp.model.maxent | |
| com.hankcs.hanlp.collection.dartsclone 中 Pair 的使用 |
|---|
| 返回变量类型为 Pair 的类型的 com.hankcs.hanlp.collection.dartsclone 中的方法 | |
|---|---|
List<Pair<Integer,Integer>> |
DoubleArray.commonPrefixSearch(byte[] key,
int offset,
int maxResults)
Returns the keys that begins with the given key and its corresponding values. |
ArrayList<Pair<String,V>> |
DartMap.commonPrefixSearch(String key)
|
ArrayList<Pair<String,V>> |
DartMap.commonPrefixSearch(String key,
int offset,
int maxResults)
前缀查询 |
| com.hankcs.hanlp.dictionary.py 中 Pair 的使用 |
|---|
| 返回 Pair 的 com.hankcs.hanlp.dictionary.py 中的方法 | |
|---|---|
static Pair<List<Pinyin>,List<Boolean>> |
String2PinyinConverter.convert2Pair(String complexText,
boolean removeTone)
将混合文本转为拼音 |
| com.hankcs.hanlp.model.maxent 中 Pair 的使用 |
|---|
| 返回 Pair 的 com.hankcs.hanlp.model.maxent 中的方法 | |
|---|---|
Pair<String,Double> |
MaxEntModel.predictBest(String[] context)
预测概率最高的分类 |
| 返回变量类型为 Pair 的类型的 com.hankcs.hanlp.model.maxent 中的方法 | |
|---|---|
List<Pair<String,Double>> |
MaxEntModel.predict(Collection<String> context)
预测分布 |
List<Pair<String,Double>> |
MaxEntModel.predict(String[] context)
预测分布 |
|
||||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||