
pingbu.nlp.LexiconSimple Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pingbu-nlp Show documentation
Show all versions of pingbu-nlp Show documentation
A library to do Chinese NLP
package pingbu.nlp;
/**
* 简单词典基类,增加了添加词条的API
*
* @author pingbu
*/
abstract class LexiconSimple extends Lexicon {
public LexiconSimple(String name) {
super(name);
}
public abstract void addItems(String[] items);
public abstract void addItems(Iterable items);
public abstract void addItem(String text);
public abstract void addItem(String text, String params);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy