| Package | Description |
|---|---|
| com.hankcs.hanlp.corpus.tag | |
| com.hankcs.hanlp.dictionary.nr | |
| com.hankcs.hanlp.recognition.nr |
| Modifier and Type | Method and Description |
|---|---|
static NR |
NR.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NR[] |
NR.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Field and Description |
|---|---|
static TransformMatrixDictionary<NR> |
PersonDictionary.transformMatrixDictionary
转移矩阵词典
|
| Modifier and Type | Method and Description |
|---|---|
protected NR |
NRDictionary.valueOf(String name) |
protected NR[] |
NRDictionary.values() |
| Modifier and Type | Method and Description |
|---|---|
protected EnumItem<NR> |
NRDictionary.newItem() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
NRDictionary.onLoaded(TreeMap<String,EnumItem<NR>> map) |
static void |
PersonDictionary.parsePattern(List<NR> nrList,
List<Vertex> vertexList,
WordNet wordNetOptimum,
WordNet wordNetAll)
模式匹配
|
| Modifier and Type | Method and Description |
|---|---|
static List<EnumItem<NR>> |
PersonRecognition.roleObserve(List<Vertex> wordSegResult)
角色观察(从模型中加载所有词语对应的所有角色,允许进行一些规则补充)
|
static List<NR> |
PersonRecognition.viterbiCompute(List<EnumItem<NR>> roleTagList)
维特比算法求解最优标签
|
static List<NR> |
PersonRecognition.viterbiComputeSimply(List<EnumItem<NR>> roleTagList)
简化的"维特比算法"求解最优标签
|
| Modifier and Type | Method and Description |
|---|---|
static List<NR> |
PersonRecognition.viterbiCompute(List<EnumItem<NR>> roleTagList)
维特比算法求解最优标签
|
static List<NR> |
PersonRecognition.viterbiComputeSimply(List<EnumItem<NR>> roleTagList)
简化的"维特比算法"求解最优标签
|
Copyright © 2014–2021 码农场. All rights reserved.