de.aitools.dm.clusterlabeling.algorithms
Class LongTailClusterer

java.lang.Object
  extended by de.aitools.dm.clustering.algorithms.ASoftClusterer
      extended by de.aitools.dm.clusterlabeling.algorithms.ASoftClusterLabeler
          extended by de.aitools.dm.clusterlabeling.algorithms.ACarrot2ClusterLabeler
              extended by de.aitools.dm.clusterlabeling.algorithms.LongTailClusterer
All Implemented Interfaces:
SoftClusterer, ClusterLabeler

public class LongTailClusterer
extends ACarrot2ClusterLabeler

Version:
$Id: LongTailClusterer.java,v 1.1 2011/11/15 10:51:25 hoppe Exp $
Author:
dennis.hoppe(/\t)uni-weimar.de

Constructor Summary
LongTailClusterer(int headSize, int tailSize)
           
 
Method Summary
 java.util.Collection<org.carrot2.core.Cluster> cluster(java.util.List<org.carrot2.core.Document> documents)
          Creates the clustering based on Carrot2's implementation of Lingo.
 java.util.Collection<org.carrot2.core.Cluster> cluster(java.util.List<org.carrot2.core.Document> documents, java.lang.String query)
           
 void setClusterer(ACarrot2ClusterLabeler clusterer)
           
 void setHeadAnalyzer(KeyphraseExtractor kext)
           
 
Methods inherited from class de.aitools.dm.clusterlabeling.algorithms.ACarrot2ClusterLabeler
cluster, cluster, clusterSoft, clusterSoft, clusterSoft, clusterSoft, convertAssignment
 
Methods inherited from class de.aitools.dm.clusterlabeling.algorithms.ASoftClusterLabeler
getClusterLabels
 
Methods inherited from class de.aitools.dm.clustering.algorithms.ASoftClusterer
clusterSoft, getBiggestRange
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LongTailClusterer

public LongTailClusterer(int headSize,
                         int tailSize)
Method Detail

setClusterer

public void setClusterer(ACarrot2ClusterLabeler clusterer)

setHeadAnalyzer

public void setHeadAnalyzer(KeyphraseExtractor kext)

cluster

public java.util.Collection<org.carrot2.core.Cluster> cluster(java.util.List<org.carrot2.core.Document> documents)
Description copied from class: ACarrot2ClusterLabeler
Creates the clustering based on Carrot2's implementation of Lingo.

Specified by:
cluster in class ACarrot2ClusterLabeler
Parameters:
documents - text documents as input
Returns:
a Collection of Clusters

cluster

public java.util.Collection<org.carrot2.core.Cluster> cluster(java.util.List<org.carrot2.core.Document> documents,
                                                              java.lang.String query)
Specified by:
cluster in class ACarrot2ClusterLabeler