|
Carrot2 v3.5.2
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.clustering.lingo.LingoClusteringAlgorithm
public class LingoClusteringAlgorithm
Lingo clustering algorithm. Implementation as described in: "Stanisław Osiński, Dawid Weiss: A Concept-Driven Algorithm for Clustering Search Results. IEEE Intelligent Systems, May/June, 3 (vol. 20), 2005, pp. 48—54.".
| Field Summary | |
|---|---|
ClusterBuilder |
clusterBuilder
Cluster label builder, contains bindable attributes. |
List<Cluster> |
clusters
|
int |
desiredClusterCountBase
Desired cluster count base. |
List<Document> |
documents
Documents to cluster. |
LabelFormatter |
labelFormatter
Cluster label formatter, contains bindable attributes. |
TermDocumentMatrixBuilder |
matrixBuilder
Term-document matrix builder for the algorithm, contains bindable attributes. |
TermDocumentMatrixReducer |
matrixReducer
Term-document matrix reducer for the algorithm, contains bindable attributes. |
MultilingualClustering |
multilingualClustering
A helper for performing multilingual clustering. |
CompletePreprocessingPipeline |
preprocessingPipeline
Common preprocessing tasks handler, contains bindable attributes. |
String |
query
Query that produced the documents. |
double |
scoreWeight
Balance between cluster score and size during cluster sorting. |
| Constructor Summary | |
|---|---|
LingoClusteringAlgorithm()
|
|
| Method Summary | |
|---|---|
void |
process()
Performs Lingo clustering of documents. |
| Methods inherited from class org.carrot2.core.ProcessingComponentBase |
|---|
afterProcessing, beforeProcessing, dispose, getContext, getSharedExecutor, init |
| 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 |
| Field Detail |
|---|
public String query
public List<Document> documents
public List<Cluster> clusters
public double scoreWeight
public int desiredClusterCountBase
public final CompletePreprocessingPipeline preprocessingPipeline
public final TermDocumentMatrixBuilder matrixBuilder
public final TermDocumentMatrixReducer matrixReducer
public final ClusterBuilder clusterBuilder
public final LabelFormatter labelFormatter
public final MultilingualClustering multilingualClustering
| Constructor Detail |
|---|
public LingoClusteringAlgorithm()
| Method Detail |
|---|
public void process()
throws ProcessingException
documents.
process in interface IProcessingComponentprocess in class ProcessingComponentBaseProcessingException - when processing failed. If thrown, the
IProcessingComponent.afterProcessing() method will be called and the component will
be ready to accept further requests or to be disposed of. Finally, the
exception will be rethrown from the controller method that caused the
component to perform processing.
|
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 | ||||||||