Menu

Welcome to Open Discussion

Anonymous
2012-11-21
2013-04-08
  • Anonymous

    Anonymous - 2012-11-21

    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?

     
  • Michael White

    Michael White - 2012-11-22

    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

     

Log in to post a comment.