|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectcom.hankcs.hanlp.seg.Config
public class Config
分词器配置项
| 字段摘要 | |
|---|---|
boolean |
indexMode
是否是索引分词(合理地最小分割) |
boolean |
japaneseNameRecognize
是否识别日本人名 |
boolean |
nameRecognize
是否识别中国人名 |
boolean |
ner
命名实体识别是否至少有一项被激活 |
boolean |
numberQuantifierRecognize
是否识别数字和量词 |
boolean |
offset
是否计算偏移量 |
boolean |
organizationRecognize
是否识别机构 |
boolean |
placeRecognize
是否识别地名 |
boolean |
speechTagging
词性标注 |
int |
threadNumber
并行分词的线程数 |
boolean |
translatedNameRecognize
是否识别音译人名 |
boolean |
useCustomDictionary
是否加载用户词典 |
| 构造方法摘要 | |
|---|---|
Config()
|
|
| 方法摘要 | |
|---|---|
void |
updateNerConfig()
更新命名实体识别总开关 |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 字段详细信息 |
|---|
public boolean indexMode
public boolean nameRecognize
public boolean translatedNameRecognize
public boolean japaneseNameRecognize
public boolean placeRecognize
public boolean organizationRecognize
public boolean useCustomDictionary
public boolean speechTagging
public boolean ner
public boolean offset
public boolean numberQuantifierRecognize
public int threadNumber
| 构造方法详细信息 |
|---|
public Config()
| 方法详细信息 |
|---|
public void updateNerConfig()
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||