public class CategoryBasedDocumentFilter extends Object implements DocumentFilter
| Modifier and Type | Field and Description |
|---|---|
private Set<String> |
categorieNames |
private boolean |
categoriesAreGood |
private static org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
CategoryBasedDocumentFilter(Collection<String> categorieNames,
boolean categoriesAreGood) |
CategoryBasedDocumentFilter(String[] categorieNames,
boolean categoriesAreGood) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isDocumentGood(org.dice_research.topicmodeling.utils.doc.Document document) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittestprivate static final org.slf4j.Logger logger
private boolean categoriesAreGood
public CategoryBasedDocumentFilter(Collection<String> categorieNames, boolean categoriesAreGood)
public CategoryBasedDocumentFilter(String[] categorieNames, boolean categoriesAreGood)
public boolean isDocumentGood(org.dice_research.topicmodeling.utils.doc.Document document)
isDocumentGood in interface DocumentFilterCopyright © 2015–2020. All rights reserved.