public class NTDictionaryMaker extends CommonDictionaryMaker
verbose| Constructor and Description |
|---|
NTDictionaryMaker(EasyDictionary dictionary) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addToDictionary(List<List<IWord>> sentenceList)
加入到词典中,允许子类自定义过滤等等,这样比较灵活
|
protected void |
roleTag(List<List<IWord>> sentenceList)
角色标注,如果子类要进行label的调整或增加新的首尾等等,可以在此进行
|
boolean |
saveTxtTo(String path)
将自己以文本文档的方式保存到磁盘
|
compute, learn, learn, trainpublic NTDictionaryMaker(EasyDictionary dictionary)
protected void addToDictionary(List<List<IWord>> sentenceList)
CommonDictionaryMakeraddToDictionary in class CommonDictionaryMakerprotected void roleTag(List<List<IWord>> sentenceList)
CommonDictionaryMakerroleTag in class CommonDictionaryMakerCopyright © 2014–2021 码农场. All rights reserved.