valeriobasile / learningbyreading

Learning by Reading pipeline of NLP and Entity Linking tools
GNU General Public License v2.0
82 stars 24 forks source link

Boxer errors #25

Closed Crista23 closed 5 years ago

Crista23 commented 5 years ago

Thank you for sharing Boxer. As I am trying to use it as part of Hybrid following the directions here, my output is as follows:

bin/candc --input test.txt --models models/boxer > test.ccg this file was generated by the following command(s): bin/candc --input /srv/disk01/ggarbace/TS/dataset/zhu_acl2010/test.txt --models models/boxer

1 parsed at B=0.075, K=20 1 coverage 100% 1 stats 10.8077 1479 2488 comb 2300 1438 0 0

bin/boxer --input test.ccg --semantics drs --output test.out --resolve true --instantiate true --format xml --elimeq true

ERROR: test.ccg:24: Syntax error: Undefined character escape in quoted atom or string: \N' ERROR: test.ccg:27: Syntax error: Undefined character escape in quoted atom or string:('

If I replace \N with \N and ( with \( and run the command again, what I get is:

ERROR: unable to preprocess derivation 1

Can you please let me know what I am doing wrong here? How can I get Boxer to work? Thank you!

valeriobasile commented 5 years ago

Sorry, this is not a repository for Boxer, I am not a developer of Boxer and I may not be able to answer these questions. As a user, it seems to me that the call to bin/candc is missing the "--candc-printer boxer" argument. This should be the last argument on the command line and changes the output format of bin/candc to a format that Boxer digests.