| 程序包 | 说明 |
|---|---|
| com.hankcs.hanlp.collection.dartsclone | |
| com.hankcs.hanlp.dictionary.py | |
| com.hankcs.hanlp.model.maxent |
| 限定符和类型 | 方法和说明 |
|---|---|
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)
前缀查询
|
| 限定符和类型 | 方法和说明 |
|---|---|
static Pair<List<Pinyin>,List<Boolean>> |
String2PinyinConverter.convert2Pair(String complexText,
boolean removeTone)
将混合文本转为拼音
|
| 限定符和类型 | 方法和说明 |
|---|---|
Pair<String,Double> |
MaxEntModel.predictBest(String[] context)
预测概率最高的分类
|
| 限定符和类型 | 方法和说明 |
|---|---|
List<Pair<String,Double>> |
MaxEntModel.predict(Collection<String> context)
预测分布
|
List<Pair<String,Double>> |
MaxEntModel.predict(String[] context)
预测分布
|
Copyright © 2014–2018 码农场. All rights reserved.