public class StopWordDictionary extends MDAGSet implements Filter
charTreeSet, equivalenceClassMDAGNodeHashMap, mdagDataArray, simplifiedSourceNode, sourceNode, transitionCount| Constructor and Description |
|---|
StopWordDictionary() |
StopWordDictionary(Collection<String> strCollection) |
StopWordDictionary(File file) |
StopWordDictionary(String stopWordDictionaryPath) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
shouldInclude(Term term)
是否应当将这个term纳入计算
|
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray_getEquivalenceClassMDAGNodeHashMap, addString, addStrings, contains, getAllStrings, getSimpleMDAGArray, getStringsEndingWith, getStringsStartingWith, getStringsWithSubstring, load, removeString, save, simplify, unSimplifyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequals, hashCode, spliteratorparallelStream, removeIf, streampublic StopWordDictionary(File file) throws IOException
IOExceptionpublic StopWordDictionary(Collection<String> strCollection)
public StopWordDictionary()
public StopWordDictionary(String stopWordDictionaryPath) throws IOException
IOExceptionpublic boolean shouldInclude(Term term)
FiltershouldInclude in interface FilterCopyright © 2014–2021 码农场. All rights reserved.