-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to handle files ending with lbj when running program from cog comp of Illinois #104
Comments
Could you clone the current project and use this one? Because the code on the website is outdated |
Do you mean I should not use lbj2.jar provided with the source in http://cogcomp.cs.illinois.edu/page/resource_view/107 So I point the class path to $HOME/lbjava/lbjava/target/classes ? |
Hi, I know it is not the proper place to ask about the source in http://cogcomp.cs.illinois.edu/page/resource_view/107 But if anyone of you know anything, I would be extremely grateful. The following gives me a lot of complaints about unknown symbols and missing classes java -Xmx5G -XX:MaxPermSize=5G -cp /home/ubuntu/lbjava/lbjava/target/classes:/home/ubuntu/ACL2016Code/lbj/LBJ2Library.jar:/home/ubuntu/ACL2016Code/lbj/LBJChunk.jar:/home/ubuntu/ACL2016Code/lbj/LBJPOS.jar:/home/ubuntu/ACL2016Code/lbj/:class:/home/ubuntu/lbjava/lbjava/target/ LBJ2.Main -sourcepath src -gsp lbj -d class article.lbj
I would be extremely grateful to any help. |
What I mean is, clone this project and follow the instructions on the readme? |
Hi, I have cloned this project and succeeded with compiling it with maven. How do I get the lbj file in http://cogcomp.cs.illinois.edu/page/resource_view/107 to compile? |
Ah I see. Sorry misunderstood your problem. Let me take a look at this package and get back to you. |
Hi, thanks. This is the command I try to run:
I am getting the following errors: Generating code for PrepositionUnconfuse lbj/esl/PrepositionUnconfuse.java:39: error: cannot find symbol |
Hi, I have downloaded the source of one of your colleagues with some lbj files:
http://cogcomp.cs.illinois.edu/page/resource_view/107
and so I install lbjava from here. After finishing a maven install of lbjava, I am still stuck.
The source comes with the following script:
java -Xmx5G -XX:MaxPermSize=5G -cp $CLASSPATH:class LBJ2.Main -sourcepath src -gsp lbj -d class article.lbj
javac -classpath $CLASSPATH:class -sourcepath lbj:src -d class src/esl/*.java
The first line of the script goes well after I replace $CLASSPATH with the path to LBJ2.jar.
Now when running the second line, one of java source in "src/esl/*.java" fails because it contains a call to a function in "article.lbj"
May I know how to get the 2nd line to succeed? Currently, the $CLASSPATH of the 2nd line is exactly the same as the first line, pointing to LBJ2.jar
Any help would be appreciated.
The text was updated successfully, but these errors were encountered: