illinois-ml-nlp-users AT lists.cs.illinois.edu
Subject: Support for users of CCG software closed 7-27-20
List archive
- From: "Sammons, Mark" <mssammon AT illinois.edu>
- To: Erik Omberg <ombe0004 AT umn.edu>, "illinois-ml-nlp-users AT cs.uiuc.edu" <illinois-ml-nlp-users AT cs.uiuc.edu>
- Subject: Re: [Illinois-ml-nlp-users] LlmCompareSinglePair Test Examples
- Date: Fri, 12 Dec 2014 16:27:55 +0000
- Accept-language: en-US
- List-archive: <http://lists.cs.uiuc.edu/pipermail/illinois-ml-nlp-users/>
- List-id: Support for users of CCG software <illinois-ml-nlp-users.cs.uiuc.edu>
I should add: the default configuration assumes you have a wnsim metric server running. You can disable this by setting "useMetric" to "false" in the config file the script uses.
I will try to push out a version of LLM that uses our java WNSim package over the next couple of days -- this is simpler than setting up the metric, though results are not directly comparable as the Java WNSim package has different behavior from the WNSim
server.
Mark
From: Sammons, Mark
Sent: Friday, December 12, 2014 10:25 AM
To: Erik Omberg; illinois-ml-nlp-users AT cs.uiuc.edu
Subject: RE: [Illinois-ml-nlp-users] LlmCompareSinglePair Test Examples
Sent: Friday, December 12, 2014 10:25 AM
To: Erik Omberg; illinois-ml-nlp-users AT cs.uiuc.edu
Subject: RE: [Illinois-ml-nlp-users] LlmCompareSinglePair Test Examples
Hi, Erik.
Thanks for letting us know about the error in the test.sh script.
Thanks for letting us know about the error in the test.sh script.
The command works for me in a Linux environment. It looks like Cygwin may handle paths differently: see
http://www.coderanch.com/t/501233/java/java/Running-java-classpath-cygwin
-- you can try two things:
1. build a classpath argument using *relative* paths from LLM/
( so "java -cp dist/IllinoisLLM-0.3.jar:lib/coreUtilities-1.4.jar:...") -- I think this will work in cygwin
2. specify the absolute path including the cygpath argument as shown in the post I linked to above
Have you tried VirtualBox? This works well for me, and allows you to use a native linux environment rather than cygwin's emulation of same -- in the long term I think your life will be much simpler.
Mark
From: illinois-ml-nlp-users-bounces AT cs.uiuc.edu [illinois-ml-nlp-users-bounces AT cs.uiuc.edu] on behalf of Erik Omberg [ombe0004 AT umn.edu]
Sent: Friday, December 12, 2014 9:38 AM
To: illinois-ml-nlp-users AT cs.uiuc.edu
Subject: [Illinois-ml-nlp-users] LlmCompareSinglePair Test Examples
Sent: Friday, December 12, 2014 9:38 AM
To: illinois-ml-nlp-users AT cs.uiuc.edu
Subject: [Illinois-ml-nlp-users] LlmCompareSinglePair Test Examples
[Please forgive me if you've already read this. I emailed the "contact us" link this help request before I found the mail list group info. Below is the details about the LLM - LlmCompareSinglePair issues I'm observing. Thank you for any help you can provide.]
Hi,
Regarding: LLM (Lexical Level Matcher)
I'm trying to use the LLM tools on your web page, but I'm getting errors trying to run the basic test examples. I really like the live demo on the web page for the LLM tools. Could you please take a look at my procedure and let me know if I'm doing something
wrong or you can help?
Thank you very much,
Erik Omberg
I downloaded the LLM from here:
I tried to run the ./scripts/test.sh after changing the MAIN_PATH and NAME. (The test.sh uses IllinoisLLM-0.1.2.jar, but the jar file in the dist folder is version 0.1.3.jar.)
MAIN_PATH=/home/erik/LLM
NAME="IllinoisLLM-0.1.3.jar"
This is the error I receive:
Error: Could not find or load main class edu.illinois.cs.cogcomp.mrcs.drivers.LlmCompareSinglePair
I'm using cygwin on Windows 7 and this version of java:
java version "1.7.0_67"
Java(TM) SE Runtime Environment (build 1.7.0_67-b01)
Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)
Here's my full console window info:
erik@pod ~/LLM
$ sh ./scripts/test.sh
CLASSPATH: /home/erik/LLM/dist/IllinoisLLM-0.1.3.jar:/home/erik/LLM/resources:/home/erik/LLM/config:/home/erik/LLM/lib/commons-collections-3.2.1.jar:/home/erik/LLM/lib/commons-configuration-1.6.jar:/home/erik/LLM/lib/commons-lang-2.4.jar:/home/erik/LLM/lib/commons-logging-1.1.1.jar:/home/erik/LLM/lib/coreUtilities-0.1.4.jar:/home/erik/LLM/lib/curator-client-0.6.jar:/home/erik/LLM/lib/edison-0.2.9.jar:/home/erik/LLM/lib/LBJ2-2.8.2.jar:/home/erik/LLM/lib/LBJ2Library-2.8.2.jar:/home/erik/LLM/lib/libthrift.jar:/home/erik/LLM/lib/MRCS-0.1.4.jar:/home/erik/LLM/lib/MSUtils-0.2.0-SNAPSHOT.jar:/home/erik/LLM/lib/slf4j-api-1.5.8.jar:/home/erik/LLM/lib/slf4j-simple-1.5.8.jar:/home/erik/LLM/lib/springframework.core-3.0.1.jar:/home/erik/LLM/lib/ws-commons-util-1.0.2.jar:/home/erik/LLM/lib/xmlrpc-client-3.1.3.jar:/home/erik/LLM/lib/xmlrpc-common-3.1.3.jar:/home/erik/LLM/lib/xmlrpc-server-3.1.3.jar
running command: 'java -cp /home/erik/LLM/dist/IllinoisLLM-0.1.3.jar:/home/erik/LLM/resources:/home/erik/LLM/config:/home/erik/LLM/lib/commons-collections-3.2.1.jar:/home/erik/LLM/lib/commons-configuration-1.6.jar:/home/erik/LLM/lib/commons-lang-2.4.jar:/home/erik/LLM/lib/commons-logging-1.1.1.jar:/home/erik/LLM/lib/coreUtilities-0.1.4.jar:/home/erik/LLM/lib/curator-client-0.6.jar:/home/erik/LLM/lib/edison-0.2.9.jar:/home/erik/LLM/lib/LBJ2-2.8.2.jar:/home/erik/LLM/lib/LBJ2Library-2.8.2.jar:/home/erik/LLM/lib/libthrift.jar:/home/erik/LLM/lib/MRCS-0.1.4.jar:/home/erik/LLM/lib/MSUtils-0.2.0-SNAPSHOT.jar:/home/erik/LLM/lib/slf4j-api-1.5.8.jar:/home/erik/LLM/lib/slf4j-simple-1.5.8.jar:/home/erik/LLM/lib/springframework.core-3.0.1.jar:/home/erik/LLM/lib/ws-commons-util-1.0.2.jar:/home/erik/LLM/lib/xmlrpc-client-3.1.3.jar:/home/erik/LLM/lib/xmlrpc-common-3.1.3.jar:/home/erik/LLM/lib/xmlrpc-server-3.1.3.jar
edu.illinois.cs.cogcomp.mrcs.drivers.LlmCompareSinglePair alternativeLlmConfig.txt test/sts-4-0.8.txt > test/sts-4-0.8.out'
Error: Could not find or load main class edu.illinois.cs.cogcomp.mrcs.drivers.LlmCompareSinglePair
- [Illinois-ml-nlp-users] LlmCompareSinglePair Test Examples, Erik Omberg, 12/12/2014
- Re: [Illinois-ml-nlp-users] LlmCompareSinglePair Test Examples, Sammons, Mark, 12/12/2014
- Re: [Illinois-ml-nlp-users] LlmCompareSinglePair Test Examples, Sammons, Mark, 12/12/2014
- Re: [Illinois-ml-nlp-users] LlmCompareSinglePair Test Examples, Sammons, Mark, 12/12/2014
Archive powered by MHonArc 2.6.16.