public abstract class AbstractDocumentPropertyMapCreator<T extends org.dice_research.topicmodeling.utils.doc.DocumentProperty> extends AbstractDocumentSupplierDecorator
| Modifier and Type | Field and Description |
|---|---|
private Class<T> |
DOCUMENT_PROPERTY_CLASS |
private com.carrotsearch.hppc.IntObjectOpenHashMap<T> |
properties |
documentSource| Constructor and Description |
|---|
AbstractDocumentPropertyMapCreator(org.dice_research.topicmodeling.preprocessing.docsupplier.DocumentSupplier documentSource,
Class<T> propertyClass) |
| Modifier and Type | Method and Description |
|---|---|
org.dice_research.topicmodeling.utils.doc.Document |
getNextDocument() |
protected abstract void |
mapCreated(com.carrotsearch.hppc.IntObjectOpenHashMap<T> properties) |
protected org.dice_research.topicmodeling.utils.doc.Document |
prepareDocument(org.dice_research.topicmodeling.utils.doc.Document document) |
apply, getDecoratedDocumentSupplier, setDecoratedDocumentSupplier, setDocumentStartIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprivate final Class<T extends org.dice_research.topicmodeling.utils.doc.DocumentProperty> DOCUMENT_PROPERTY_CLASS
private com.carrotsearch.hppc.IntObjectOpenHashMap<T extends org.dice_research.topicmodeling.utils.doc.DocumentProperty> properties
public org.dice_research.topicmodeling.utils.doc.Document getNextDocument()
getNextDocument in interface org.dice_research.topicmodeling.preprocessing.docsupplier.DocumentSuppliergetNextDocument in class AbstractDocumentSupplierDecoratorprotected org.dice_research.topicmodeling.utils.doc.Document prepareDocument(org.dice_research.topicmodeling.utils.doc.Document document)
prepareDocument in class AbstractDocumentSupplierDecoratorprotected abstract void mapCreated(com.carrotsearch.hppc.IntObjectOpenHashMap<T> properties)
Copyright © 2015–2020. All rights reserved.