de.aitools.dm.clusterlabeling.algorithms
Class KeyphraseLabeler
java.lang.Object
de.aitools.dm.clustering.algorithms.ASoftClusterer
de.aitools.dm.clustering.algorithms.AClusterer
de.aitools.dm.clusterlabeling.algorithms.AClusterLabeler
de.aitools.dm.clusterlabeling.algorithms.TopicIdentifier
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
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KeyphraseLabeler
public KeyphraseLabeler(Clusterer clusterer,
VectorSpace vocabulary,
java.util.List<java.lang.String> data,
int numTerms)
- Parameters:
clusterer
- vocabulary
- data
- numTerms
-
setKeyphraseExtractor
public final void setKeyphraseExtractor(KeyphraseExtractor newKeyphraseExtractor)
- Parameters:
newKeyphraseExtractor
- a user-specified keyphrase extractornumberOfPhrasesPerText
- maximum # of keyphrases that will be extracted per document
getClusterLabels
public final java.lang.String[] getClusterLabels()
- Returns:
- an array of cluster labels