|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectcom.hankcs.hanlp.dictionary.nt.OrganizationDictionary
public class OrganizationDictionary
机构名识别用的词典,实际上是对两个词典的包装
| 字段摘要 | |
|---|---|
static NTDictionary |
dictionary
机构名词典 |
static TransformMatrixDictionary<NT> |
transformMatrixDictionary
转移矩阵词典 |
static Trie |
trie
AC算法用到的Trie树 |
| 构造方法摘要 | |
|---|---|
OrganizationDictionary()
|
|
| 方法摘要 | |
|---|---|
static void |
parsePattern(List<NT> ntList,
List<Vertex> vertexList,
WordNet wordNetOptimum,
WordNet wordNetAll)
模式匹配 |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 字段详细信息 |
|---|
public static NTDictionary dictionary
public static TransformMatrixDictionary<NT> transformMatrixDictionary
public static Trie trie
| 构造方法详细信息 |
|---|
public OrganizationDictionary()
| 方法详细信息 |
|---|
public static void parsePattern(List<NT> ntList,
List<Vertex> vertexList,
WordNet wordNetOptimum,
WordNet wordNetAll)
ntList - 确定的标注序列vertexList - 原始的未加角色标注的序列wordNetOptimum - 待优化的图wordNetAll -
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||