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.MDAG 继承的字段
charTreeSet, equivalenceClassMDAGNodeHashMap, mdagDataArray, simplifiedSourceNode, sourceNode, transitionCount
 
构造方法摘要
StopWordDictionary()
           
StopWordDictionary(Collection<String> strCollection)
           
StopWordDictionary(File file)
           
 
方法摘要
 boolean shouldInclude(Term term)
          是否应当将这个term纳入计算
 
从类 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
 
从接口 java.util.Set 继承的方法
equals, hashCode
 

构造方法详细信息

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 码农场. All rights reserved.