public class SegmentWrapper extends Object
| Constructor and Description |
|---|
SegmentWrapper(Reader reader,
com.hankcs.hanlp.seg.Segment segment) |
| Modifier and Type | Method and Description |
|---|---|
com.hankcs.hanlp.seg.common.Term |
next() |
void |
reset(Reader reader)
重置分词器
|
public SegmentWrapper(Reader reader, com.hankcs.hanlp.seg.Segment segment)
public void reset(Reader reader)
reader - public com.hankcs.hanlp.seg.common.Term next()
throws IOException
IOExceptionCopyright © 2014–2018 码农场. All rights reserved.