| Package | Description |
|---|---|
| com.hankcs.hanlp.seg | |
| com.hankcs.hanlp.seg.common |
| Modifier and Type | Method and Description |
|---|---|
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)
简易原子分词,将所有字放到一起作为一个词
|
| Modifier and Type | Method and Description |
|---|---|
void |
WordNet.add(int line,
List<AtomNode> atomSegment)
添加顶点,由原子分词顶点添加
|
Copyright © 2014–2021 码农场. All rights reserved.