de.aitools.dm.clusterlabeling.algorithms
Class TopicIdentifier.ClusterLabelCandidate
java.lang.Object
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>
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TopicIdentifier.ClusterLabelCandidate
public TopicIdentifier.ClusterLabelCandidate(java.lang.String newLabel,
float newScore)
- Parameters:
newLabel
- a phrase or a single termnewScore
- a user-specified score for a label
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
-