Skip to content

WordNet compatibility  #9

Description

@GoogleCodeExporter
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

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions