public class TextPhraseWizardElement extends java.lang.Object implements java.lang.Comparable<TextPhraseWizardElement>
TextPhraseWizard
Modifier and Type | Method and Description |
---|---|
int |
compareTo(TextPhraseWizardElement otherInstance)
Compare this instance with another instance - used to sort the instances by 1) ranking and 2) token position
|
void |
dumpToStdout()
Dump the data of this instance to stdout.
|
float |
getRanking()
Get the ranking of the text phrase.
|
java.lang.String |
getTextPhrase()
Get the text phrase.
|
public int compareTo(TextPhraseWizardElement otherInstance)
compareTo
in interface java.lang.Comparable<TextPhraseWizardElement>
otherInstance
- the other instancepublic java.lang.String getTextPhrase()
public float getRanking()
public void dumpToStdout()