public class NotionalTokenizer extends Object
| Constructor and Description |
|---|
NotionalTokenizer() |
| Modifier and Type | Method and Description |
|---|---|
static List<List<Term>> |
seg2sentence(String text)
切分为句子形式
|
static List<List<Term>> |
seg2sentence(String text,
boolean shortest)
分词断句 输出句子形式
|
static List<List<Term>> |
seg2sentence(String text,
Filter... filterArrayChain)
切分为句子形式
|
static List<Term> |
segment(char[] text)
分词
|
static List<Term> |
segment(String text) |
public static Segment SEGMENT
public static List<List<Term>> seg2sentence(String text)
text - public static List<List<Term>> seg2sentence(String text, boolean shortest)
text - 待分词句子shortest - 是否断句为最细的子句(将逗号也视作分隔符)Copyright © 2014–2021 码农场. All rights reserved.