[java] Info: Using default ./data/wordnet/file_properties.xml
[java] Error: Unable to initialize JWNL:
net.didion.jwnl.JWNLException: Una
ble to install net.didion.jwnl.dictionary.FileBackedDictionary
[java] net.didion.jwnl.JWNLException: The properties file must
specify a di
ctionary path
[java] net.didion.jwnl.JWNLException: Could not create a file
manager of ty
pe class
net.didion.jwnl.princeton.file.PrincetonRandomAccessDictionaryFile
[java] java.io.FileNotFoundException: C:\yPrograms\WordNet\dict
\verb.idx (T
he system cannot find the file specified)
[java]
[java] Warning: Unable to initialize WordNet Java API (JWNL).
[java] Was -Dwordnet.configfile set correctly?
[java] Does the wordnet.configfile contain the right paths?
[java] Will use command-line interface; this will negatively
impact per
formance.
[java] Exception in thread "main" java.lang.UnsatisfiedLinkError:
no link-g
rammar in java.library.path
[java] at java.lang.ClassLoader.loadLibrary(ClassLoader.java:
1734)
[java] at java.lang.Runtime.loadLibrary0(Runtime.java:823)
[java] at java.lang.System.loadLibrary(System.java:1028)
[java] at
org.linkgrammar.LinkGrammar.<clinit>(LinkGrammar.java:38)
[java] at relex.parser.LocalLGParser.init(LocalLGParser.java:
49)
[java] at relex.parser.LocalLGParser.parse(LocalLGParser.java:
63)
[java] at
relex.RelationExtractor.parseSentence(RelationExtractor.java:
313)
[java] at
relex.RelationExtractor.processSentence(RelationExtractor.jav
a:233)
[java] at
relex.RelationExtractor.processSentence(RelationExtractor.jav
a:217)
[java] at
relex.test.TestStanford.test_sentence(TestStanford.java:63)
[java] at relex.test.TestStanford.main(TestStanford.java:131)
What is going wrong? I have used 'ant' in this case
On May 12, 9:47 am, Linas Vepstas <linasveps...@gmail.com> wrote:
java.io.FileNotFoundException: C:\yPrograms\WordNet\dict\verb.idx (The system cannot find the file specified)
The verb.idx error is a red herring; you don't want the
PrincetonRandomAccessDictionary anyway.
You want the FIleBackedDictionary, and that one is failing for
you with the following:
[java] Error: Unable to initialize JWNL:
net.didion.jwnl.JWNLException: Una
ble to install net.didion.jwnl.dictionary.FileBackedDictionary
[java] net.didion.jwnl.JWNLException: The properties file must
specify a di
ctionary path
So I think you need to review your properties.
--linas