com.hankcs.hanlp.seg.common
类 ResultTerm<V>

java.lang.Object
  继承者 com.hankcs.hanlp.seg.common.ResultTerm<V>

public class ResultTerm<V>
extends Object

一个通用的Term

作者:
hankcs

字段摘要
 V label
           
 int offset
           
 String word
           
 
构造方法摘要
ResultTerm(String word, V label, int offset)
           
 
方法摘要
 String toString()
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

字段详细信息

word

public String word

label

public V label

offset

public int offset
构造方法详细信息

ResultTerm

public ResultTerm(String word,
                  V label,
                  int offset)
方法详细信息

toString

public String toString()
覆盖:
Object 中的 toString


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