I cannot report a bug since this luxury is only for the members. So I decided to post the bug here.
I want to use ccg-test command but it throws NullPointerException.
lps@lps-ThinkPad-T410:~/workspace/Pronoun/analysis$ ccg-test
Loading grammar from URL: file:/home/lps/workspace/Pronoun/analysis/grammar.xml
Timing realization with index filtering on, chunks on, licensing on, combos on, no time limit, no new best time limit, no pruning, and no cell pruning
Loading: testbed
Parse Realize String
----- ------- ------
Exception in thread "main" java.lang.NullPointerException
at opennlp.ccg.test.Regression.runSingleTest(Regression.java:682)
at opennlp.ccg.test.Regression.runTest(Regression.java:362)
at opennlp.ccg.test.Regression.main(Regression.java:1713)
Could you pls take a look at it?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
From the line number it seems that something unexpected is going on in realization. You might try making sure parsing is working by itself before trying realization. Realization can be turned off with the -norealization option for ccg-test.
Note that the Help forum is the usual location for such posts.
Hope this helps,
-Mike
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I cannot report a bug since this luxury is only for the members. So I decided to post the bug here.
I want to use ccg-test command but it throws NullPointerException.
Could you pls take a look at it?
Hi
From the line number it seems that something unexpected is going on in realization. You might try making sure parsing is working by itself before trying realization. Realization can be turned off with the -norealization option for ccg-test.
Note that the Help forum is the usual location for such posts.
Hope this helps,
-Mike