codeaudit / dkpro-lsr

Automatically exported from code.google.com/p/dkpro-lsr
0 stars 0 forks source link

Wordnet 'index.sense' file name automatically set to 'sense.idx' #3

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
In UkpFileManagerImpl.java 
line 108-111 

Resets WordNet "index.sense" file-name to "sense.idx"

 String sense = "index.sense";
 if (JWNL.getVersion().getNumber() < 2.1) {
            sense = "sense.idx";
 }

But all my WordNet (1.7, 2.1, 3.0, 3.1) installations in Unix (Ubuntu 12.04) 
have only "index.sense" files

This results in error when calling "LsrSenseInventoryResource"

-----------------------------------
Workaround:
Copy "index.sense" file in WordNet 1.7/dict and rename to "sense.idx"

-----------------------------------

The problem occurred with:
de.tudarmstadt.ukp.dkpro.wsd.examples-gpl / Senseval2EnLSExample.java

Running Ubuntu 12.04 (Eclipse Kepler Service Release 2)

Original issue reported on code.google.com by turkovic...@gmail.com on 7 Jul 2014 at 1:32

GoogleCodeExporter commented 9 years ago
You are right.
It is strange that this wasn't detected before.

Thanks for documenting the workaround.
I am not sure however when we will find time to fix this issue.
This project is not maintained very actively by me anymore.

Original comment by torsten....@gmail.com on 8 Jul 2014 at 11:20