public class ListBasedDocumentSheduler extends AbstractDocumentSheduler
StringContainingDocumentProperty. It takes one (or more) sets
of possible values. If the property value of a document matches one of the
property values in the i-th set of given values, the document will be part of
the (i + 1)th document supplier. If the value is part of multiple sets, only
the first match is recognized. All documents, that do have values matching
none of the given sets will be part of the 0th supplier. Note that documents,
that do not have the given property are ignored and won't be part of any
supplier.AbstractDocumentSheduler.PartialDocumentSupplier| Modifier and Type | Field and Description |
|---|---|
private static org.slf4j.Logger |
LOGGER |
private Class<? extends org.dice_research.topicmodeling.utils.doc.StringContainingDocumentProperty> |
propertyClass |
private Set<String>[] |
propertyValuesTestPartition |
documentSource, listOfParts| Constructor and Description |
|---|
ListBasedDocumentSheduler(org.dice_research.topicmodeling.preprocessing.docsupplier.DocumentSupplier documentSource,
Class<? extends org.dice_research.topicmodeling.utils.doc.StringContainingDocumentProperty> propertyClass,
Set<String>[] propertyValuesTestPartition) |
| Modifier and Type | Method and Description |
|---|---|
protected org.dice_research.topicmodeling.utils.doc.Document |
getNextDocument(int partId) |
getNumberOfParts, getPartialDocumentSupplierprivate static final org.slf4j.Logger LOGGER
private Class<? extends org.dice_research.topicmodeling.utils.doc.StringContainingDocumentProperty> propertyClass
protected org.dice_research.topicmodeling.utils.doc.Document getNextDocument(int partId)
getNextDocument in class AbstractDocumentShedulerCopyright © 2015–2020. All rights reserved.