jcolibri.extensions.textual.carrot2
Class CarrotClusteringResult.Cluster

java.lang.Object
  extended by jcolibri.extensions.textual.carrot2.CarrotClusteringResult.Cluster
Enclosing class:
CarrotClusteringResult

public class CarrotClusteringResult.Cluster
extends java.lang.Object

Internal class that stores the labels and documents for a cluster.

Author:
Juan A. Recio-García

Constructor Summary
protected CarrotClusteringResult.Cluster(java.util.List<java.lang.String> labels, java.util.List<LuceneDocument> docs)
           
 
Method Summary
 java.util.List<LuceneDocument> getDocs()
           
 java.util.List<java.lang.String> getLabels()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CarrotClusteringResult.Cluster

protected CarrotClusteringResult.Cluster(java.util.List<java.lang.String> labels,
                                         java.util.List<LuceneDocument> docs)
Method Detail

getDocs

public java.util.List<LuceneDocument> getDocs()
Returns:
the documents of the cluster

getLabels

public java.util.List<java.lang.String> getLabels()
Returns:
the labels of the cluster

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