|
||||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||
| 使用 AtomNode 的软件包 | |
|---|---|
| com.hankcs.hanlp.seg | |
| com.hankcs.hanlp.seg.common | |
| com.hankcs.hanlp.seg 中 AtomNode 的使用 |
|---|
| 返回变量类型为 AtomNode 的类型的 com.hankcs.hanlp.seg 中的方法 | |
|---|---|
protected static List<AtomNode> |
Segment.atomSegment(char[] charArray,
int start,
int end)
原子分词 |
protected static List<AtomNode> |
Segment.quickAtomSegment(char[] charArray,
int start,
int end)
快速原子分词,希望用这个方法替换掉原来缓慢的方法 |
protected static List<AtomNode> |
Segment.simpleAtomSegment(char[] charArray,
int start,
int end)
简易原子分词,将所有字放到一起作为一个词 |
| com.hankcs.hanlp.seg.common 中 AtomNode 的使用 |
|---|
| 类型变量类型为 AtomNode 的 com.hankcs.hanlp.seg.common 中的方法参数 | |
|---|---|
void |
WordNet.add(int line,
List<AtomNode> atomSegment)
添加顶点,由原子分词顶点添加 |
|
||||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||