com.hankcs.hanlp.seg.NShort.Path
类 AtomNode
java.lang.Object
com.hankcs.hanlp.seg.NShort.Path.AtomNode
public class AtomNode
- extends Object
原子分词节点
- 作者:
- hankcs
sWord
public String sWord
nPOS
public int nPOS
AtomNode
public AtomNode(String sWord,
int nPOS)
AtomNode
public AtomNode(char c,
int nPOS)
getNature
public Nature getNature()
- 原子的词性
- 返回:
toString
public String toString()
- 覆盖:
- 类
Object 中的 toString
convert
public static Vertex convert(String word,
int type)
Copyright © 2014–2015 码农场. All rights reserved.