}
public String[] getParentSenseKeys(String lemma, String pos, int sense) {
//System.err.println("JWNLDictionary.getParentSenseKeys: lemma="+lemma);
try {
IndexWord iw = dict.getIndexWord(POS.NOUN,lemma);
if (iw != null) {
Synset synset = iw.getSense(sense+1);
List<String> parents = new ArrayList<String>();
getParents(synset,parents);
return parents.toArray(new String[parents.size()]);
}
else {