Comment #2 on issue 120 by eckle.kohler: update WordNet converter to
WordNet 3.1
https://code.google.com/p/uby/issues/detail?id=120
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