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

stanfordnlp.pexpect.EOF: End Of File (EOF). Empty string style platform. #26

Open
yrf1 opened this issue Sep 28, 2020 · 0 comments
Open

Comments

@yrf1
Copy link

yrf1 commented Sep 28, 2020

I was trying to run the very first step:
python2 amr_parsing.py -m preprocess source_without_tag_path_________.sgm

Error message:
> `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
> Traceback (most recent call last):
>   File "amr_parsing.py", line 436, in <module>
>     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 "/Users/may/Desktop/Fall2020/camr/preprocessing.py", line 429, in preprocess
>     proc1 = StanfordCoreNLP()
>   File "/Users/may/Desktop/Fall2020/camr/stanfordnlp/corenlp.py", line 309, in __init__
>     self.setup()
>   File "/Users/may/Desktop/Fall2020/camr/stanfordnlp/corenlp.py", line 355, in setup
>     self.corenlp.expect("Loaded models....", timeout=20)
>   File "/Users/may/Desktop/Fall2020/camr/stanfordnlp/pexpect/__init__.py", line 1451, in expect
>     timeout, searchwindowsize)
>   File "/Users/may/Desktop/Fall2020/camr/stanfordnlp/pexpect/__init__.py", line 1466, in expect_list
>     timeout, searchwindowsize)
>   File "/Users/may/Desktop/Fall2020/camr/stanfordnlp/pexpect/__init__.py", line 1554, in expect_loop
>     raise EOF(str(err) + '\n' + str(self))
> stanfordnlp.pexpect.EOF: End Of File (EOF). Empty string style platform.`

@yrf1 yrf1 changed the title Help please: stanfordnlp.pexpect.EOF: End Of File (EOF). Empty string style platform. [Help please:] stanfordnlp.pexpect.EOF: End Of File (EOF). Empty string style platform. Sep 28, 2020
@yrf1 yrf1 changed the title [Help please:] stanfordnlp.pexpect.EOF: End Of File (EOF). Empty string style platform. [Help] stanfordnlp.pexpect.EOF: End Of File (EOF). Empty string style platform. Sep 28, 2020
@yrf1 yrf1 changed the title [Help] stanfordnlp.pexpect.EOF: End Of File (EOF). Empty string style platform. stanfordnlp.pexpect.EOF: End Of File (EOF). Empty string style platform. Sep 28, 2020
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