com.hankcs.hanlp.summary
类 KeywordExtractor
java.lang.Object
com.hankcs.hanlp.summary.KeywordExtractor
- 直接已知子类:
- TextRankKeyword
public class KeywordExtractor
- extends Object
提取关键词的基类
- 作者:
- hankcs
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KeywordExtractor
public KeywordExtractor()
shouldInclude
public boolean shouldInclude(Term term)
- 是否应当将这个term纳入计算,词性属于名词、动词、副词、形容词
- 参数:
term -
- 返回:
- 是否应当
Copyright © 2014–2015 码农场. All rights reserved.