public abstract class AbstractListBasedTermFilter extends Object implements PosTaggingTermFilter
| Modifier and Type | Field and Description |
|---|---|
private static org.slf4j.Logger |
LOGGER |
private Set<String> |
wordlist |
| Constructor and Description |
|---|
AbstractListBasedTermFilter() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
createWordList(File stopwordfile) |
protected void |
createWordList(InputStream in) |
protected void |
createWordListSafely(File stopwordfile) |
protected void |
createWordListSafely(InputStream in) |
protected boolean |
isWordInWordlist(String lemma) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisTermGoodprotected void createWordList(File stopwordfile) throws IOException
IOExceptionprotected void createWordListSafely(File stopwordfile)
protected void createWordList(InputStream in) throws IOException
IOExceptionprotected void createWordListSafely(InputStream in)
protected boolean isWordInWordlist(String lemma)
Copyright © 2015–2020. All rights reserved.