illinois-ml-nlp-users AT lists.siebelschool.illinois.edu
Subject: Support for users of CCG software closed 7-27-20
List archive
- From: Deborah Fernandes <debmarfer AT gmail.com>
- To: "illinois-ml-nlp-users AT cs.uiuc.edu" <illinois-ml-nlp-users AT cs.uiuc.edu>
- Subject: Re: [Illinois-ml-nlp-users] Fwd: NER doesn't work! Please help!
- Date: Wed, 8 May 2013 15:12:29 -0300
- 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'm using Linux Ubuntu 10.04 LTS. My java version "1.6.0_27"
OpenJDK Runtime Environment (IcedTea6 1.12.3) (6b27-1.12.3-0ubuntu1~10.04.1)
OpenJDK Server VM (build 20.0-b12, mixed mode).
Now I'm with the problem below:OpenJDK Runtime Environment (IcedTea6 1.12.3) (6b27-1.12.3-0ubuntu1~10.04.1)
OpenJDK Server VM (build 20.0-b12, mixed mode).
jar:lib/LbjNerTagger.jar
-Xmx2000m -jar dist/LbjNerTagger-2.1.jar -annotate TestFile.txt
TestFileAnn.txt true Config/allLayer1.config
Exception in thread "main" java.lang.
Thanks a lot for any help.Exception in thread "main" java.lang.
NoClassDefFoundError: LBJ2/learn/SparseNetworkLearner
at edu.illinois.cs.cogcomp.LbjNer.LbjTagger.NerTagger.main(NerTagger.java:14)
Caused by: java.lang.ClassNotFoundException: LBJ2.learn.SparseNetworkLearner
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
I checked inside of LBJ 2.jar and I didn't find LBJ2/learn/at edu.illinois.cs.cogcomp.LbjNer.LbjTagger.NerTagger.main(NerTagger.java:14)
Caused by: java.lang.ClassNotFoundException: LBJ2.learn.SparseNetworkLearner
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
SparseNetworkLearner directory or file
On Tue, May 7, 2013 at 3:40 PM, Deborah Fernandes <debmarfer AT gmail.com> wrote:
java -classpath lib/LBJ2.jar:lib/LBJ2Library.jar:lib/LbjNerTagger.jar -Xmx2000m -jar dist/LbjNerTagger-2.1.jar -annotate TestFile.txt TestFileAnn.txt true Config/allLayer1.config
Here it is the command. :-)
Deborah.On Tue, May 7, 2013 at 3:34 PM, Sammons, Mark <mssammon AT illinois.edu> wrote:
Hi, Deborah.
It looks like your classpath doesn't have the LBJ2Library.jar or LBJ2.jar on it. Can you paste the command you use to run NER into an email, so I can look at the classpath?
Regards,
Mark
From: illinois-ml-nlp-users-bounces AT cs.uiuc.edu [illinois-ml-nlp-users-bounces AT cs.uiuc.edu] on behalf of Deborah Fernandes [debmarfer AT gmail.com]
Sent: Tuesday, May 07, 2013 1:20 PM
To: illinois-ml-nlp-users AT cs.uiuc.edu
Subject: [Illinois-ml-nlp-users] Fwd: NER doesn't work! Please help!
Thank you a lot, Deborah.Any help ?Hello. I found some problems in the Manifest content. I fixed it. But I got a new problem in an another file. See below:I checked inside of LBJ 2.jar and I didn't find LBJ2/learn/SparseNetworkLearner directory or file.
Exception in thread "main" java.lang.NoClassDefFoundError: LBJ2/learn/SparseNetworkLearner
at edu.illinois.cs.cogcomp.LbjNer.LbjTagger.NerTagger.main(NerTagger.java:14)
Caused by: java.lang.ClassNotFoundException: LBJ2.learn.SparseNetworkLearner
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
On Tue, May 7, 2013 at 11:53 AM, Peter Groves <pdgroves AT gmail.com> wrote:
You have the name of a jar file where it is expecting the name of the class that contains a main() method.
First thing to try is probably to add "-jar" before the jar filename[1]. This will only work if the jar file was setup to be executable (which you have no control over).
> java -classpath lib/LBJ2.jar:lib/LBJ2Library.jar:lib/LbjNerTagger.jar -Xmx2000m -jar dist/LbjNerTagger-2.1.jar -annotate TestFile.txt TestFileAnn.txt true Config/allLayer1.config
If that doesn't work, you need to replace the 'dist/LbjNerTAgger-2.1.jar' argument with a classname[2]. If you unpack the jar you may be able to find a MANIFEST which will tell you the classname.
On Tue, May 7, 2013 at 9:26 AM, Deborah Fernandes <debmarfer AT gmail.com> wrote:
_______________________________________________Deborah :-)Thank you so much for any help.Any help?If is, there is no Config folder in the IllinoisNerExtended-v2.2.tgz available for dowload on the site.I really don't know what I could do, and I would like to ask if Config/ is a folder tht should contain allFeaturesBigTrainingSet.config , allLayer1.config and other config files?Hi,I'm PHD student of University of Brasilia - Brazil. I read about the Illinois Named Recognition and I'm trying to use it but it doesn't work. I read all the posts of the list and tried to fix but it doen't work too. So, I downloaded from the site the file IllinoisNerExtended-v2.2.tgz at my Linux Ubuntu 10.04 LTS. I unzipped with the command tar -xzf and inside the folder I tried:
>java -classpath lib/LBJ2.jar:lib/LBJ2Library.jar:lib/LbjNerTagger.jar -Xmx2000m dist/LbjNerTagger-2.1.jar -annotate TestFile.txt TestFileAnn.txt true Config/allLayer1.config
Exception in thread "main" java.lang.NoClassDefFoundError: dist/LbjNerTagger-2/1/jar
Caused by: java.lang.ClassNotFoundException: dist.LbjNerTagger-2.1.jar
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Could not find the main class: dist/LbjNerTagger-2.1.jar. Program will exit.
>
illinois-ml-nlp-users mailing list
illinois-ml-nlp-users AT cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/illinois-ml-nlp-users
- [Illinois-ml-nlp-users] NER doesn't work! Please help!, Deborah Fernandes, 05/07/2013
- Re: [Illinois-ml-nlp-users] NER doesn't work! Please help!, Peter Groves, 05/07/2013
- Message not available
- [Illinois-ml-nlp-users] Fwd: NER doesn't work! Please help!, Deborah Fernandes, 05/07/2013
- Re: [Illinois-ml-nlp-users] Fwd: NER doesn't work! Please help!, Sammons, Mark, 05/07/2013
- Re: [Illinois-ml-nlp-users] Fwd: NER doesn't work! Please help!, Deborah Fernandes, 05/07/2013
- Re: [Illinois-ml-nlp-users] Fwd: NER doesn't work! Please help!, Peter Groves, 05/07/2013
- Re: [Illinois-ml-nlp-users] Fwd: NER doesn't work! Please help!, Deborah Fernandes, 05/08/2013
- Re: [Illinois-ml-nlp-users] Fwd: NER doesn't work! Please help!, Sammons, Mark, 05/08/2013
- Re: [Illinois-ml-nlp-users] Fwd: NER doesn't work! Please help!, Sammons, Mark, 05/14/2013
- Re: [Illinois-ml-nlp-users] Fwd: NER doesn't work! Please help!, Deborah Fernandes, 05/07/2013
- Re: [Illinois-ml-nlp-users] Fwd: NER doesn't work! Please help!, Sammons, Mark, 05/07/2013
- [Illinois-ml-nlp-users] Fwd: NER doesn't work! Please help!, Deborah Fernandes, 05/07/2013
- Message not available
- Re: [Illinois-ml-nlp-users] NER doesn't work! Please help!, Peter Groves, 05/07/2013
Archive powered by MHonArc 2.6.16.