Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WordNet compatibility #9

Open
GoogleCodeExporter opened this issue Mar 10, 2016 · 0 comments
Open

WordNet compatibility #9

GoogleCodeExporter opened this issue Mar 10, 2016 · 0 comments

Comments

@GoogleCodeExporter
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant