com.hankcs.hanlp.dictionary.stopword
类 StopWordDictionary
java.lang.Object
com.hankcs.hanlp.collection.MDAG.MDAG
com.hankcs.hanlp.collection.MDAG.MDAGSet
com.hankcs.hanlp.dictionary.stopword.StopWordDictionary
- 所有已实现的接口:
- ICacheAble, Filter, Iterable<String>, Collection<String>, Set<String>
public class StopWordDictionary
- extends MDAGSet
- implements Filter
- 作者:
- hankcs
| 从类 com.hankcs.hanlp.collection.MDAG.MDAGSet 继承的方法 |
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
| 从类 com.hankcs.hanlp.collection.MDAG.MDAG 继承的方法 |
_getEquivalenceClassMDAGNodeHashMap, addString, addStrings, contains, getAllStrings, getSimpleMDAGArray, getStringsEndingWith, getStringsStartingWith, getStringsWithSubstring, load, removeString, save, simplify, unSimplify |
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StopWordDictionary
public StopWordDictionary(File file)
throws IOException
- 抛出:
IOException
StopWordDictionary
public StopWordDictionary(Collection<String> strCollection)
StopWordDictionary
public StopWordDictionary()
shouldInclude
public boolean shouldInclude(Term term)
- 从接口
Filter 复制的描述
- 是否应当将这个term纳入计算
- 指定者:
- 接口
Filter 中的 shouldInclude
- 返回:
- 是否应当
Copyright © 2014–2015 鐮佸啘鍦�/a>. All rights reserved.