|
Carrot2 v3.6.0-SNAPSHOT
API Documentation |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.carrot2.core.ProcessingComponentBase
org.carrot2.source.ambient.FubDocumentSource
public class FubDocumentSource
A base document source for test collections developed at Fondazione Ugo Bordoni.
| Field Summary | |
|---|---|
List<Document> |
documents
|
boolean |
includeDocumentsWithoutTopic
Include documents without topics. |
int |
minTopicSize
Minimum topic size. |
String |
query
|
Set<Object> |
topicIds
Topics and subtopics covered in the output documents. |
| Constructor Summary | |
|---|---|
FubDocumentSource()
|
|
| Method Summary | |
|---|---|
protected void |
processInternal(org.carrot2.source.ambient.FubTestCollection data,
int topicId,
int requestedResults)
|
| Methods inherited from class org.carrot2.core.ProcessingComponentBase |
|---|
afterProcessing, beforeProcessing, dispose, getContext, getSharedExecutor, init, process |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.carrot2.core.IProcessingComponent |
|---|
afterProcessing, beforeProcessing, dispose, init, process |
| Field Detail |
|---|
public List<Document> documents
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.
public String query
public int minTopicSize
public boolean includeDocumentsWithoutTopic
| Constructor Detail |
|---|
public FubDocumentSource()
| Method Detail |
|---|
protected void processInternal(org.carrot2.source.ambient.FubTestCollection data,
int topicId,
int requestedResults)
throws ProcessingException
ProcessingException
|
Please refer to project documentation at
http://project.carrot2.org |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||