what is the problem with this code
807603Oct 20 2007 — edited Oct 20 2007hi
the method getSynonyms1 returns the list of synonyms for a word of given part of speech.Iam trying to pick one word from the list. check out the code
List synnyms=word.getSynonyms1(POS.NOUN,"keyWord");
String keyWord=synnyms.getItem[index];
Iam getting an error in the second line as 'cannot find symbol variable getItem'..eventhough i imported the package
import java.util.List;