SynsetFactory factory = SynsetFactory.getInstance();
synset = factory.getSynset(indexEntry.getSynsetPointer());
}
else
{
throw new RetrievalException("Unable to locate head word " +
"entry for " + headKey + " referenced by " + this);
}
}
}
return (AdjectiveSynset)(synset);