com.hankcs.hanlp.corpus.dictionary.item
类 Item

java.lang.Object
  继承者 com.hankcs.hanlp.corpus.dictionary.item.SimpleItem
      继承者 com.hankcs.hanlp.corpus.dictionary.item.Item

public class Item
extends SimpleItem

词典中的一个条目,比如“希望 v 7685 vn 616”

作者:
hankcs

字段摘要
 String key
          该条目的索引,比如“啊”
 
从类 com.hankcs.hanlp.corpus.dictionary.item.SimpleItem 继承的字段
labelMap
 
构造方法摘要
Item(String key)
           
Item(String key, String label)
           
 
方法摘要
static Item create(String param)
           
static Item create(String[] param)
           
 String toString()
           
 
从类 com.hankcs.hanlp.corpus.dictionary.item.SimpleItem 继承的方法
addLabel, addLabel, combine, containsLabel, getFrequency, getMostLikelyLabel, getTotalFrequency
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

字段详细信息

key

public String key
该条目的索引,比如“啊”

构造方法详细信息

Item

public Item(String key,
            String label)

Item

public Item(String key)
方法详细信息

toString

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

create

public static Item create(String param)
参数:
param - 类似 “希望 v 7685 vn 616” 的字串
返回:

create

public static Item create(String[] param)


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