Need help on installing Relex on Mac OS X

Asked by frostshoxx

Hello there,

I have tried to install Relex on Mac OS X 10.5.6. I have followed the instruction and installed all the libraries that required according to the readme. I then used ./configure and ant command on Relex. The result of ant command said "BUILD SUCCESSFUL". I then try to run relation-extractor.sh, but receive this error.

sh-3.2# ./relation-extractor.sh
Info: Using default ./data/wordnet/file_properties.xml
Error: Unable to initialize JWNL:java.lang.NullPointerException
Warning: Unable to initialize WordNet Java API (JWNL).
 Was -Dwordnet.configfile set correctly?
 Does the wordnet.configfile contain the right paths?
 Will use command-line interface; this will negatively impact performance.
Exception in thread "main" java.lang.UnsatisfiedLinkError: no link-grammar-java in java.library.path
 at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1753)
 at java.lang.Runtime.loadLibrary0(Runtime.java:822)
 at java.lang.System.loadLibrary(System.java:993)
 at org.linkgrammar.LinkGrammar.<clinit>(LinkGrammar.java:37)
 at relex.parser.LocalLGParser.getVersion(LocalLGParser.java:250)
 at relex.RelationExtractor.getVersion(RelationExtractor.java:145)
 at relex.RelationExtractor.main(RelationExtractor.java:422)

What do I miss here? I appreciate your time looking into this

Thank you

Patt

Question information

Language:
English Edit question
Status:
Answered
For:
RelEx Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
linas (linasvepstas) said :
#1

This is being followed up in the mailing list.

Can you help with this problem?

Provide an answer of your own, or ask frostshoxx for more information if necessary.

To post a message you must log in.