public class SimpleWordSimilarity extends Object implements WordSimilarity
WordSimilarity| Constructor and Description |
|---|
SimpleWordSimilarity(String first,
String second,
double sim) |
| Modifier and Type | Method and Description |
|---|---|
String |
getFirstWord()
Returns the first word in the pair.
|
String |
getSecondWord()
Returns the second word in the pair.
|
double |
getSimilarity()
Returns the human similarity judgement for the two words.
|
public String getFirstWord()
getFirstWord in interface WordSimilaritypublic String getSecondWord()
getSecondWord in interface WordSimilaritypublic double getSimilarity()
getSimilarity in interface WordSimilarityCopyright © 2012. All Rights Reserved.