Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preprocess Issue #24

Open
ZhenHuaZhou68 opened this issue Oct 9, 2019 · 0 comments
Open

Preprocess Issue #24

ZhenHuaZhou68 opened this issue Oct 9, 2019 · 0 comments

Comments

@ZhenHuaZhou68
Copy link

zhou@zhou-Lenovo-Legion-Y7000P-1060:~/文档/camr-master$ python amr_parsing.py -m preprocess ~/文档/camr-master/input
Start Stanford CoreNLP...
java -Xmx2500m -cp stanfordnlp/stanford-corenlp-full-2015-04-20/stanford-corenlp-3.5.2.jar:stanfordnlp/stanford-corenlp-full-2015-04-20/stanford-corenlp-3.5.2-models.jar:stanfordnlp/stanford-corenlp-full-2015-04-20/joda-time.jar:stanfordnlp/stanford-corenlp-full-2015-04-20/xom.jar:stanfordnlp/stanford-corenlp-full-2015-04-20/jollyday.jar:stanfordnlp/stanford-corenlp-full-2015-04-20/protobuf.jar:stanfordnlp/stanford-corenlp-full-2015-04-20/javax.json.jar:stanfordnlp/stanford-corenlp-full-2015-04-20/ejml-0.23.jar edu.stanford.nlp.pipeline.StanfordCoreNLP -props stanfordnlp/default.properties
Loading Models: 4/4
Read token,lemma,name entity file /home/zhou/文档/camr-master/input.prp...
Traceback (most recent call last):
File "amr_parsing.py", line 436, in
main()
File "amr_parsing.py", line 169, in main
instances = preprocess(amr_file,START_SNLP=True,INPUT_AMR=args.amrfmt, PRP_FORMAT=args.prpfmt)
File "/home/zhou/文档/camr-master/preprocessing.py", line 439, in preprocess
instances = proc1.parse(tmp_sent_filename)
File "/home/zhou/文档/camr-master/stanfordnlp/corenlp.py", line 501, in parse
for i,line in enumerate(open(sent_filename,'r').readlines()):
IOError: [Errno 21] Is a directory: '/home/zhou/\xe6\x96\x87\xe6\xa1\xa3/camr-master/input'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant