Glad you found the issue! An empty tb.xml file could be the result of some steps getting skipped by the build file because it looked like these steps had already been completed when in fact they did not finish successfully in the earlier run. Starting with a fresh folder there (or more tediously, deleting the intermediate files) could resolve the issue in this case. On Tue, Jun 25, 2019 at 2:54 AM America Chambers alchambers@users.sourceforge.net wrote: Okay, I just realized what the problem is....
Okay, I just realized what the problem is. The ccg-env.bat file is for Windows. I should have been modifying the ccg-env file instead. When I change the memory size in ccg-env, it runs to completion (although the final tb.xml file is essentially empty).
I am following the instructions in the README file (docs/ccgbank-README) to parse the data in ccgbank/data/novel/two-sents using the broad coverage grammar. I am running this on a MacBook Pro (running Mac OS 10.14) with 16GB of memory. I have increased the Java heap size in bin/ccg-env.bat to 4GB: set JAVA_MEM=-Xmx4096m rem set JAVA_MEM=-Xmx4096m I also set my global system preferences in the Java Control Panel to have a minimum and maximum heap size of 4GB. Despite this, when I execute the parser...
Hi there, Some fellow students were having a similar problem. So here a reminder for everybody: if you get your code from GitHub, do not forget to follow the advice in this remark about getting the libraries in the first place: https://github.com/OpenCCG/openccg#libraries Greetings, May your code live long and prosper!
Hi there, Some fellow students were having a similar problem. So here a reminder for everybody: if you get your code from GitHub, do not forget to follow the advice in this remark about getting the libraries in the first place: https://github.com/OpenCCG/openccg#libraries
Hi there everybody, I had a similar problem under Windows and thought I should add this here for others who might encounter this, too. I did set my environment and Path variable correctly but it still didn't work. I made the following two mistakes: 1) It took me ages to get that there was a major difference between the windows for editing system environment variables and environment variables for the current user (I hope i translated this understandably; in German these windows can be found from...
Thank you! This helped me a lot.
Hello Polina It looks like this may just be an issue of expecting the DLF to be within <lf> ... </lf> instead of <dlf> ... </dlf>. I've added an example to the git repo that works with ccg-realize and the routes grammar: https://github.com/OpenCCG/openccg/blob/master/grammars/routes/dlf_test.xml That is, from the openccg/grammars/routes directory, it should be possible to run ccg-realize dlf_test.xml and see in the resulting log file different outputs resulting from the various disjunctions therein....
Hi, I have problems with generation from DLFs created by the Disjunctivizer. For example, when I try to realize (with regression tests) the test output formulas I always get an exception, as if the formulas would have a wrong structure and would be ignored by the realizer. It seems that the realizer cannot handle <dlf> ...</dlf> structure. If I understood it correctly from this paper http://www.ling.ohio-state.edu/~white.1240/papers/White-inlg06.pdf , the packing/unpacking mode is essential for this...
Many thanks!
Right, with each grammar you can configure a sequence of XSLT transformations to...
Hi, Sorry to bother. It seems that the grammars in the grammars directory are very...
Many thanks~
The warning with the Java exception represents cruft that can be ignored. The broad...
Really very sorry to bother again. I was trying to load openccgbank grammar to tccg...
Really very sorry to bother again. I was trying to load openccgbank grammar to tccg...
Really very sorry to bother again. I was trying to load openccgbank grammar to tccg...
Thanks a lot. I solve this by replacing with the old version of Stanford CoreNLP...
This looks like a Stanford CoreNLP installation or configuration issue. OpenCCG has...
It's fixed now -- it occurred to me that uploading the file again might fix the problem,...
Sorry to bother. I was following the "ccgbank-README" file when I encoutered a "java.lang.NoClassDefFoundError"...
Still doesn't work after 3 days. Any backup sites for this file? Thanks~
Still doesn't work after 3 days. Any backup site for this file? Thanks~
Strange, never seen this problem before. It seems there are zero mirrors for this...
Hi, I'm trying to download gigaword4.5g.kenlm.bin from this site, but it seems that...
Yes, not the most informative error message. The problem is that you're specifying...
I'm learning OpenCCG and I encountered a problem when I tried to use ccg2xml: $ ccg2xml...
I'm learning OpenCCG and I encountered a problem when I tried to use ccg2xml: $ ccg2xml...
I see -- I believe OpenCCG is the only framework that implements slash modalities,...
Hi Mike Thanks for all this info, I am following up the different threads. I got...
Hi Mats There is some discussion of related issues in my article on the realizer...
Is there any methodology for using lambda calculus terms for the semantics (in place...
Hello, I have recently read an interesting article that you may like, please read...
Hello Mike, That works! I hadn't thought of looking in the morph.xml file. tccg is...
Hello Colin This looks to me like a bug in the ccg2xml compiler unfortunately. Most...
I am clearly missing something, but I can't fathom what it is. I am writing a grammar...
Thank you a lot! :-)
You'd need to fork the project and add Java code for the new supertagger, then use...
Hello ! how can I add a new supertagger to library and evaluate it????
Hello ! how can I add a new supertagger to library and evaluate it????
It looks like this may be the same issue reported in an earlier post (https://sourceforge.net/projects/openccg/forums/forum/255819/topic/3727899);...
Using VisCCG, I just can edit a ccg file, nothing else. Every other action (e.g....
Right, it saves the LF output of each parse to a testbed file. I've added ccg-parse...
Hi Michael, thank you! With "output a testbed" you mean that I could save the semantic...
Hi There is a program to parse a file with one sentence per line and output a testbed...
Hello, Using tccg I can parse and display the semantics of a single example sentence....
Ah, what an embarrassing oversight! That works perfectly, thank you very much!
Ah, looking at this again my guess is that you're not running it with the right build...
Sadly, even when setting <arg value="-nbestListSize"/> <arg value="${nbest.list.size}"/>...
Ah, when parsing novel text the preferences are set according to what's in ccgbank/models/parser/parse.prefs,...
Hello! Thank you very much for your quick reply. Currently I'm running the parser...
Hello Jeezri I'm not sure from your message how exactly you're running the parser,...
Hi, I'm working on a school project and I want to use OpenCCG. I've got everything...
Did you follow the instructions in docs/ccgbank-README in the section "Installing...
Hi....Thank you when I use the command ccg-build -f build-rz.xml test-novel more...
Yes, with handcrafted grammars, all words are expected to have lexical entries, so...
Hi thank you very much Mr Michael.....Now it working well with me can you please...
The main readme has some information on how to do this; beyond that, googling how...
Hi, there is some one please who can help me how to set my OPENCCG_HOME environm...
That's great. I've updated the ccgbank-README on github, good idea. Mike
Hi, Thanks! I had forgotten to set the LD_LIBRARY_PATH - I followed the instructions...
Hi Amy Yes, you do need to modify your LD_LIBRARY_PATH, per the main README: Finally,...
Hi, I've got the wide coverage grammar working on a linux machine, and have succesfully...
Hi Andrea Hi Andrea Yes, openccg's current use of preferences was clearly a design...
Dear all, I am not sure how to file a bug report, so I am posting here in the hopes...
Sphinx compiler extension
Depending on what you're doing, you can look at the programs listed below as starting...
Hey CCGers, I have an application, written in C++, that needs the output of the parser,...
Hi Andrea Have a look first at the main README, especially the part about increasing...
Hey, I seem to be unable to figure out how to use the realizer. It initializes the...
I'll try it on a different machine later tonight and get back to you. Thanks for...
Hmm, I'm not sure what might be going on here. I just tried ccg-grammardoc in grammars/routes/...
Sorry, I misspoke. I'm running Linux, not Windows. Earlier, I meant ccg-env, not...
Sorry, I misspoke. I'm running Linux, not Windows. Earlier, I meant ccg-env, not...
Hmm, I've never seen that particular error. Are you running on Windows? The ccg-env.bat...
Hi Michael, Thanks for the quick reply! I did what you said, first changing the line...
Looks like you need to increase the memory limit. See the "Increasing Java memory...
Hello CCGers, I'm relatively new to OpenCCG (and NLP, and computers in general...)....
Hello CCGers, I'm relatively new to OpenCCG (and NLP, and computers in general...)....
Ah, yes, I see that it's relying on the compiled classes in ${OPENCCG_HOME}/classes,...
Thanks Michael. I think i had probably forgot something. In my error message i have...
Yes, the idea is to run make in src/srilmbridge. I'm not a C++ person, and neither...
Hi, I'm trying to use the SRILMNgramModel class but i have a Java error when i run...