Issue 120 in uby: update WordNet converter to WordNet 3.1

9 views
Skip to first unread message

u...@googlecode.com

unread,
Nov 7, 2014, 4:33:27 AM11/7/14
to uby-dev...@googlegroups.com
Status: Accepted
Owner: eckle.kohler
Labels: Type-Enhancement Priority-Low Milestone-0.7.0

New issue 120 by eckle.kohler: update WordNet converter to WordNet 3.1
https://code.google.com/p/uby/issues/detail?id=120

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)

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

u...@googlecode.com

unread,
Mar 27, 2015, 7:21:05 AM3/27/15
to uby-dev...@googlegroups.com

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

u...@googlecode.com

unread,
Mar 27, 2015, 9:52:14 AM3/27/15
to uby-dev...@googlegroups.com

Comment #3 on issue 120 by eckle.kohler: update WordNet converter to
WordNet 3.1
https://code.google.com/p/uby/issues/detail?id=120

However, the currently used version of extJWNL 1.6.3 does convert also
WordNet 3.1

u...@googlecode.com

unread,
Apr 7, 2015, 2:39:54 PM4/7/15
to uby-dev...@googlegroups.com
Updates:
Status: Verified

Comment #4 on issue 120 by eckle.kohler: update WordNet converter to
WordNet 3.1
https://code.google.com/p/uby/issues/detail?id=120

(No comment was entered for this change.)
Reply all
Reply to author
Forward
0 new messages