public class QuantifierSegmenter extends Object implements ISegmenter
| Modifier and Type | Field and Description |
|---|---|
static String |
Arabic_Num_Mid |
static String |
Chn_Num |
static String |
Chn_Num_Mid |
static int |
NaN |
static int |
NC_ANM |
static int |
NC_ARABIC |
static int |
NC_CHINESE |
static int |
NC_CNM |
static int |
NC_NE |
static int |
NC_NP |
static String |
Num_End |
static String |
Num_Pre |
| Constructor and Description |
|---|
QuantifierSegmenter() |
| Modifier and Type | Method and Description |
|---|---|
void |
nextLexeme(char[] segmentBuff,
Context context)
从分析器读取下一个可能分解的词元对象
|
void |
reset()
重置子分析器状态
|
public static final int NC_ARABIC
public static String Arabic_Num_Mid
public static final int NC_ANM
public static String Num_Pre
public static final int NC_NP
public static String Chn_Num
public static final int NC_CHINESE
public static String Chn_Num_Mid
public static final int NC_CNM
public static String Num_End
public static final int NC_NE
public static final int NaN
public void nextLexeme(char[] segmentBuff,
Context context)
ISegmenternextLexeme in interface ISegmentersegmentBuff - 文本缓冲context - 分词算法上下文public void reset()
ISegmenterreset in interface ISegmenterCopyright © 2022. All rights reserved.