|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectcom.hankcs.hanlp.tokenizer.StandardTokenizer
public class StandardTokenizer
标准分词器
| 字段摘要 | |
|---|---|
static Segment |
SEGMENT
预置分词器 |
| 构造方法摘要 | |
|---|---|
StandardTokenizer()
|
|
| 方法摘要 | |
|---|---|
static List<List<Term>> |
seg2sentence(String text)
切分为句子形式 |
static List<Term> |
segment(char[] text)
分词 |
static List<Term> |
segment(String text)
分词 |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 字段详细信息 |
|---|
public static final Segment SEGMENT
| 构造方法详细信息 |
|---|
public StandardTokenizer()
| 方法详细信息 |
|---|
public static List<Term> segment(String text)
text - 文本
public static List<Term> segment(char[] text)
text - 文本
public static List<List<Term>> seg2sentence(String text)
text - 文本
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||