de.aitools.dm.clusterlabeling.algorithms
Class TopicIdentifier.ClusterLabelCandidate

java.lang.Object
  extended by de.aitools.dm.clusterlabeling.algorithms.TopicIdentifier.ClusterLabelCandidate
All Implemented Interfaces:
java.lang.Comparable<TopicIdentifier.ClusterLabelCandidate>
Enclosing class:
TopicIdentifier

public class TopicIdentifier.ClusterLabelCandidate
extends java.lang.Object
implements java.lang.Comparable<TopicIdentifier.ClusterLabelCandidate>


Constructor Summary
TopicIdentifier.ClusterLabelCandidate(java.lang.String newLabel, float newScore)
           
 
Method Summary
 int compareTo(TopicIdentifier.ClusterLabelCandidate other)
           
 java.lang.String getLabel()
           
 float getScore()
           
 void setScore(float newValue)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TopicIdentifier.ClusterLabelCandidate

public TopicIdentifier.ClusterLabelCandidate(java.lang.String newLabel,
                                             float newScore)
Parameters:
newLabel - a phrase or a single term
newScore - a user-specified score for a label
Method Detail

compareTo

public final int compareTo(TopicIdentifier.ClusterLabelCandidate other)
Specified by:
compareTo in interface java.lang.Comparable<TopicIdentifier.ClusterLabelCandidate>

getLabel

public final java.lang.String getLabel()
Returns:
a phrase or a single term

getScore

public final float getScore()
Returns:

setScore

public void setScore(float newValue)
Parameters:
newValue -