You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've got the error:
java.lang.IndexOutOfBoundsException: Index: 4, Size: 4
this happen when I want to get Synset as the following statement:
Synset synset=WordNetUtil.wordToSynsets("win",POS.v).get(sn);
of course the error because sn is out of bound.
but I already know that sn is less than than the sense count of "win", because
I got sn from API that interface with wodnet(my API is Rita) that use wordnet
3.0 but even If I used wordnet 2.1 then I will get the same error.
is there any hint to overcome this problem, OR can I use
(edu.cmu.lti.jawjaw.util.WordNetUtil) to get the sense number of the word from
WORDNET.
I will be grateful for any reply...
Original issue reported on code.google.com by saad...@gmail.com on 11 Jun 2014 at 11:54
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
saad...@gmail.com
on 11 Jun 2014 at 11:54The text was updated successfully, but these errors were encountered: