com.textrazor.annotations
Class Word.Sense

java.lang.Object
  extended by com.textrazor.annotations.Word.Sense
Enclosing class:
Word

public static class Word.Sense
extends java.lang.Object


Constructor Summary
Word.Sense()
           
 
Method Summary
 float getScore()
           
 java.lang.String getSynset()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Word.Sense

public Word.Sense()
Method Detail

getSynset

public java.lang.String getSynset()
Returns:
The WordNet 3.1 synset of this sense.

getScore

public float getScore()
Returns:
Score between 0 to 1 corresponding to the likelyhood this sense applies to this word.