com.hankcs.hanlp.seg.NShort.Path
类 AtomNode

java.lang.Object
  继承者 com.hankcs.hanlp.seg.NShort.Path.AtomNode

public class AtomNode
extends Object

原子分词节点

作者:
hankcs

字段摘要
 int nPOS
           
 String sWord
           
 
构造方法摘要
AtomNode(char c, int nPOS)
           
AtomNode(String sWord, int nPOS)
           
 
方法摘要
static Vertex convert(String word, int type)
           
 Nature getNature()
          原子的词性
 String toString()
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

字段详细信息

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.