类 com.hankcs.hanlp.seg.NShort.Path.AtomNode
的使用

使用 AtomNode 的软件包
com.hankcs.hanlp.seg   
com.hankcs.hanlp.seg.common   
 

com.hankcs.hanlp.segAtomNode 的使用
 

返回变量类型为 AtomNode 的类型的 com.hankcs.hanlp.seg 中的方法
protected static List<AtomNode> Segment.atomSegment(char[] charArray, int start, int end)
          原子分词
protected static List<AtomNode> Segment.quickAtomSegment(char[] charArray, int start, int end)
          快速原子分词,希望用这个方法替换掉原来缓慢的方法
protected static List<AtomNode> Segment.simpleAtomSegment(char[] charArray, int start, int end)
          简易原子分词,将所有字放到一起作为一个词
 

com.hankcs.hanlp.seg.commonAtomNode 的使用
 

类型变量类型为 AtomNodecom.hankcs.hanlp.seg.common 中的方法参数
 void WordNet.add(int line, List<AtomNode> atomSegment)
          添加顶点,由原子分词顶点添加
 



Copyright © 2014–2015 码农场. All rights reserved.