@Bindable(prefix="FubDocumentSource",
inherit=CommonAttributes.class)
public class FubDocumentSource
extends ProcessingComponentBase
implements IDocumentSource
| Modifier and Type | Field and Description |
|---|---|
List<Document> |
documents |
boolean |
includeDocumentsWithoutTopic
Include documents without topics.
|
int |
minTopicSize
Minimum topic size.
|
String |
query |
protected static String |
TOPIC_ID
Group name. |
Set<Object> |
topicIds
Topics and subtopics covered in the output documents.
|
| Constructor and Description |
|---|
FubDocumentSource() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
processInternal(org.carrot2.source.ambient.FubTestCollection data,
int topicId,
int requestedResults) |
afterProcessing, beforeProcessing, dispose, getContext, getSharedExecutor, init, processclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitafterProcessing, beforeProcessing, dispose, init, processprotected static final String TOPIC_ID
Group name.@Processing @Output @Attribute(key="documents", inherit=true) @Internal public List<Document> documents
@Processing @Output @Attribute @Group(value="Topic ID") @Level(value=ADVANCED) public Set<Object> topicIds
documents and it may vary for the same main topic based e.g. on the
requested number of requested results or minTopicSize.@Processing @Output @Attribute(key="query", inherit=true) public String query
@Input @Processing @Attribute @IntRange(min=1) @Group(value="Filtering") @Level(value=MEDIUM) public int minTopicSize
@Input @Processing @Attribute @Group(value="Filtering") @Level(value=MEDIUM) public boolean includeDocumentsWithoutTopic
protected void processInternal(org.carrot2.source.ambient.FubTestCollection data,
int topicId,
int requestedResults)
throws ProcessingException
ProcessingException