jcolibri.extensions.textual.carrot2
Class CarrotClusteringResult

java.lang.Object
  extended by jcolibri.extensions.textual.carrot2.CarrotClusteringResult

public class CarrotClusteringResult
extends java.lang.Object

Result of a clustering. Uses an internal class "Cluster" that stores the requiered information for each cluster:

Version:
1.0
Author:
Juan A. Recio-García
See Also:
LuceneDocument

Nested Class Summary
 class CarrotClusteringResult.Cluster
          Internal class that stores the labels and documents for a cluster.
 
Constructor Summary
protected CarrotClusteringResult(org.carrot2.core.impl.ArrayOutputComponent.Result result, LuceneIndex index)
          Creates a CarrotClusteringResult object from the Carrot2 output.
 
Method Summary
 java.util.List<CarrotClusteringResult.Cluster> getClusters()
          Returns the list of clusters.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CarrotClusteringResult

protected CarrotClusteringResult(org.carrot2.core.impl.ArrayOutputComponent.Result result,
                                 LuceneIndex index)
Creates a CarrotClusteringResult object from the Carrot2 output.

Method Detail

getClusters

public java.util.List<CarrotClusteringResult.Cluster> getClusters()
Returns the list of clusters.


GAIA - Group for Artificial Intelligence Applications
http://gaia.fdi.ucm.es