Does not work with jwnl14-rc1

Bug #198873 reported by Mark T. B. Carroll
2
Affects Status Importance Assigned to Milestone
RelEx
Fix Released
Medium
linas

Bug Description

The README for RelEx should probably warn that while it does work with jwnl-1.3.3, it doesn't with jwnl14-rc1.

Revision history for this message
linas (linasvepstas) wrote :

Can you provide details about what got broken? Any suggestions about fixes?

Technically, a "version 1.4" of something should be binary compatible with
a "version 1.3" of something, since the major version number didn't get
bumped. Perhaps this bug should be reported to the jwnl folks, instead?

Changed in relex:
assignee: nobody → linasvepstas
status: New → Incomplete
Revision history for this message
linas (linasvepstas) wrote :

I've added a short note to the README file in the repository about this.

Revision history for this message
Paul McQuesten (mcquesten) wrote : Re: jwnl14-rc2 also fails

jwnl14-rc2 also fails. Adding a traceback to MorphyFactory.initializeJWNL eventually exposes some minor confusions, which may be due to changes in WordNet version 3

(1) line 22 in data/wordnet/file_properties.xml, missing 'dict':
old <param name="dictionary_path" value="/usr/local/wordnet"/>
             <!-- Use this in Ubuntu -->

new <param name="dictionary_path" value="/usr/local/wordnet/dict"/> <!-- Use this in Ubuntu -->

(2) WordNet version 3 changed some file names:
     sudo (cd /usr/local/wordnet/dict; ln -s index.sense sense.idx)

===================================
Here is the exception that was being caught in MorphyFactory.initializeJWNL:

Info: Using default ./data/wordnet/file_properties.xml

net.didion.jwnl.JWNLException: Unable to install net.didion.jwnl.dictionary.FileBackedDictionary

Revision history for this message
linas (linasvepstas) wrote :

I'm confused by the above note. Ubuntu installs wordnet 3 into
/usr/share/wordnet and not to /usr/local/wordnet/dict

If something is installing into /usr/local, its because its not
supported in the distro, and is instead being manually
installed from source.

To get the sense index on Ubuntu, you need to install the
"wordnet-sense-index" package.

Revision history for this message
linas (linasvepstas) wrote :

Sorry it took so long .. but version 0.98.1 now includes a fix, which should enable relex to run with any version of jwnl.

Changed in relex:
importance: Undecided → Medium
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.