com.hankcs.hanlp.seg.common.wrapper
类 SegmentWrapper
java.lang.Object
com.hankcs.hanlp.seg.common.wrapper.SegmentWrapper
public class SegmentWrapper
- extends Object
一个将BufferedReader wrap进来的类
- 作者:
- hankcs
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SegmentWrapper
public SegmentWrapper(BufferedReader br,
Segment segment)
reset
public void reset(BufferedReader br)
- 重置分词器
- 参数:
br -
next
public Term next()
throws IOException
- 抛出:
IOException
Copyright © 2014–2015 码农场. All rights reserved.