dkpro / dkpro-uby

Framework for creating and accessing UBY resources – sense-linked lexical resources in standard UBY-LMF format
https://dkpro.github.io/dkpro-uby
Other
22 stars 3 forks source link

update WordNet converter to WordNet 3.1 #120

Closed judithek closed 9 years ago

judithek commented 9 years ago
update WordNet converter to WordNet 3.1:
- first test, if current WordNet converter runs also for WN 3.1

the next Uby database should contain two WN versions: 3.0 (frequently used) and 3.1
(most recent)

Original issue reported on code.google.com by eckle.kohler on 2014-11-07 09:33:10

judithek commented 9 years ago
(No text was entered with this change)

Original issue reported on code.google.com by richard.eckart on 2015-02-18 21:11:15

judithek commented 9 years ago
Tried to update to version 1.8.0
<dependency>
    <groupId>net.sf.extjwnl</groupId>
    <artifactId>extjwnl</artifactId>
    <version>1.8.0</version>
</dependency>

However, thie version does not convert WordNet 3.0
Neither does it convert WordNet 3.1: not as dict locally, nor as Maven artifact, as
provided by extJWNL.

will not pursue this further at the moment

error message when trying to convert WordNet 3.0:

Exception in thread "main" net.sf.extjwnl.JWNLException: Unable to create instance
of net.sf.extjwnl.dictionary.FileBackedDictionary: java.lang.NumberFormatException:
For input string: "NUMBER_OF_VERB_FRAMES"
    at net.sf.extjwnl.dictionary.Dictionary.getInstance(Dictionary.java:227)
    at net.sf.extjwnl.dictionary.Dictionary.getInstance(Dictionary.java:177)
    at de.tudarmstadt.ukp.lmf.transform.tools.ConversionScript.createXML(ConversionScript.java:167)
    at de.tudarmstadt.ukp.lmf.transform.tools.ConversionScript.main(ConversionScript.java:651)
Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
    at net.sf.extjwnl.dictionary.Dictionary.getInstance(Dictionary.java:217)
    ... 3 more
Caused by: java.lang.NumberFormatException: For input string: "NUMBER_OF_VERB_FRAMES"
    at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
    at java.lang.Integer.parseInt(Integer.java:492)
    at java.lang.Integer.parseInt(Integer.java:527)
    at net.sf.extjwnl.dictionary.Dictionary.<init>(Dictionary.java:372)
    at net.sf.extjwnl.dictionary.AbstractCachingDictionary.<init>(AbstractCachingDictionary.java:65)
    at net.sf.extjwnl.dictionary.FileBackedDictionary.<init>(FileBackedDictionary.java:57)
    ... 8 more

Original issue reported on code.google.com by eckle.kohler on 2015-03-27 11:20:45

judithek commented 9 years ago
However, the currently used version of extJWNL 1.6.3 does convert also WordNet 3.1

Original issue reported on code.google.com by eckle.kohler on 2015-03-27 13:52:04

judithek commented 9 years ago
(No text was entered with this change)

Original issue reported on code.google.com by eckle.kohler on 2015-04-07 18:39:42