* Test Wordnet synonyms
*/
public void testSynonyms()
{
System.out.println("Started testing for wordnet synonyms");
WordnetTools wnetTools = new WordnetTools();
String word = "vietnamese"; String pos = "n"; String synonyms = wnetTools.getSynonyms(word, pos);
System.out.println("Synonyms of " + word + " are -->" + synonyms);
word = "track down"; pos = "v"; synonyms = wnetTools.getSynonyms(word, pos);
System.out.println("Synonyms of " + word + " are -->" + synonyms);
System.out.println("Finished testing for wordnet synonyms");
}