I have Java 1.4, WordNet 2.1 and JWNL 1.2 on my machine, and I wish to be able to use WordNet from inside a Java program to infer various lexical information about words. Typically, I will need to see if a word is a hyponym of person, for instance.
My problem is that I am not getting started at all! I have made a correction in the file_properties.xml file so that the dictionary path leads to the dict folder of my WordNet installation:
Still I get the below quoted error message when I try to run my short test file:
Please help, anyone!
net.didion.jwnl.JWNLException: Unable to install net.didion.jwnl.dictionary.FileBackedDictionary
Caused by: net.didion.jwnl.JWNLException: The properties file must specify a dictionary path
... 3 more
Caused by: java.lang.ClassNotFoundException: net.didion.jwnl.dictionary.DefaultMorphologicalProcessor
at java.security.AccessController.doPrivileged(Native Method)
at java.lang.Class.forName0(Native Method)
... 5 more
is it possible that there is a typo in your path?
What do you mean? Capital C? I have tried lower case c, it doesn't make any difference. I am sure that the path is correct, any other tips?
No, sorry. I was thinking of a typo in the word 'Programfiler' since this directory is often called 'Program Files'. However, your Windows installation probably uses your native language.
Oh, I see. Well, I am sure that is correct. Can you think of any other reasons?
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.