/** Get a particular sense of this word. Sense indices start at 1. */ public Synset getSense(int index) throws JWNLException { loadSynset(index - 1); return _synsets[index - 1]; }
/** Get an array of all the senses of this word.*/ public Synset[] getSenses() throws JWNLException { if (!_synsetsLoaded) { for (int i = 0; i < getSynsetOffsets().length; ++i) loadSynset(i); _synsetsLoaded = true; } return _synsets; }