c-amr / camr

Transition-based tree-to-graph AMR Parser
GNU General Public License v2.0
125 stars 45 forks source link

pdb activates when parsing #10

Closed butsugiri closed 7 years ago

butsugiri commented 7 years ago

I am having an issue with parsing. When I run python amr_parsing.py -m parse command, the pdb activates and the parser stops running. I am using the HEAD version of the CAMR and stanford-corenlp-full-2015-04-20.

I did preprocessing by python amr_parsing.py -m preprocess sample.txt, where sample.txt contains single sentence: "australian current account deficit narrows sharply".

I think that preprocessing is done correctly (files generated by preprocessing weren't empty).

I tried 1a52d91080fccdd117079a2bdf080ed4e4e49966 and the parsing actually worked. Thus I think that this is the issue of the HEAD version.

Juicechuan commented 7 years ago

Thank you so much for bringing this up. There is a bug when reading in the preprocessing result. Now it should be working.

butsugiri commented 7 years ago

Thank you for your quick response. I used the latest commit and confirmed that the issue has been solved.