de.aitools.dm.clusterlabeling.algorithms
Class KeyphraseLabeler

java.lang.Object
  extended by de.aitools.dm.clustering.algorithms.ASoftClusterer
      extended by de.aitools.dm.clustering.algorithms.AClusterer
          extended by de.aitools.dm.clusterlabeling.algorithms.AClusterLabeler
              extended by de.aitools.dm.clusterlabeling.algorithms.TopicIdentifier
                  extended by de.aitools.dm.clusterlabeling.algorithms.KeyphraseLabeler
All Implemented Interfaces:
Clusterer, SoftClusterer, ClusterLabeler

public class KeyphraseLabeler
extends TopicIdentifier

Version:
$Id: KeyphraseLabeler.java,v 1.5 2011/07/18 15:51:21 hoppe Exp $
Author:
dennis.hoppe(/\t)uni-weimar.de

Nested Class Summary
 
Nested classes/interfaces inherited from class de.aitools.dm.clusterlabeling.algorithms.TopicIdentifier
TopicIdentifier.ClusterLabelCandidate
 
Field Summary
 
Fields inherited from interface de.aitools.dm.clustering.Clusterer
DEFAULT_SEED
 
Constructor Summary
KeyphraseLabeler(Clusterer clusterer, VectorSpace vocabulary, java.util.List<java.lang.String> data, int numTerms)
           
 
Method Summary
 java.lang.String[] getClusterLabels()
           
 void setKeyphraseExtractor(KeyphraseExtractor newKeyphraseExtractor)
           
 
Methods inherited from class de.aitools.dm.clusterlabeling.algorithms.TopicIdentifier
cluster
 
Methods inherited from class de.aitools.dm.clustering.algorithms.AClusterer
cluster, cluster, cluster, clusterSoft
 
Methods inherited from class de.aitools.dm.clustering.algorithms.ASoftClusterer
clusterSoft, clusterSoft, clusterSoft, getBiggestRange
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeyphraseLabeler

public KeyphraseLabeler(Clusterer clusterer,
                        VectorSpace vocabulary,
                        java.util.List<java.lang.String> data,
                        int numTerms)
Parameters:
clusterer -
vocabulary -
data -
numTerms -
Method Detail

setKeyphraseExtractor

public final void setKeyphraseExtractor(KeyphraseExtractor newKeyphraseExtractor)
Parameters:
newKeyphraseExtractor - a user-specified keyphrase extractor
numberOfPhrasesPerText - maximum # of keyphrases that will be extracted per document

getClusterLabels

public final java.lang.String[] getClusterLabels()
Returns:
an array of cluster labels