Open liutaonuist opened 1 year ago
Thanks for the report! Seems like BLLIP Parser might not have been installed correctly. Can you give more information on the issue? These would be helpful:
Also, can you add more detail on how this issue relates to your comment on https://github.com/dmcc/bllip-parser/commit/558adf67aaf11925eec007b1451a729c21bad57d#commitcomment-88965788 ?
1、Problem(1、Full traceback of the error)
Traceback (most recent call last):
File "amr_parsing.py", line 435, in
Thanks for the information! From your stack trace, it looks like you're running BLLIP Parser from CAMR which has a script to install BLLIP Parser.
Have you run that script? What happens when you run pip install --user bllipparser
?
The answer to question 4 would be helpful for debugging (as you may also need to install things like swig and flex, the setup of which would depend on your OS/distribution).
AttributeError: type object 'CharniakParser' has no attribute 'loadModel', from . import CharniakParser as parser from . import JohnsonReranker as reranker