com.hankcs.hanlp.corpus.dictionary
类 NRDictionaryMaker
java.lang.Object
com.hankcs.hanlp.corpus.dictionary.CommonDictionaryMaker
com.hankcs.hanlp.corpus.dictionary.NRDictionaryMaker
- 所有已实现的接口:
- ISaveAble
public class NRDictionaryMaker
- extends CommonDictionaryMaker
nr词典(词典+ngram转移+词性转移矩阵)制作工具
- 作者:
- hankcs
从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NRDictionaryMaker
public NRDictionaryMaker(EasyDictionary dictionary)
addToDictionary
protected void addToDictionary(List<List<IWord>> sentenceList)
- 从类
CommonDictionaryMaker
复制的描述
- 加入到词典中,允许子类自定义过滤等等,这样比较灵活
- 指定者:
- 类
CommonDictionaryMaker
中的 addToDictionary
roleTag
protected void roleTag(List<List<IWord>> sentenceList)
- 从类
CommonDictionaryMaker
复制的描述
- 角色标注,如果子类要进行label的调整或增加新的首尾等等,可以在此进行
- 指定者:
- 类
CommonDictionaryMaker
中的 roleTag
main
public static void main(String[] args)
Copyright © 2014–2015 码农场. All rights reserved.