Skip to content

Pre-processing issue #16

@berzentine

Description

@berzentine

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
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 "/usr2/home/nkvyas/TriggerModelling/AMRParsing/preprocessing.py", line 436, in preprocess
proc1.setup()
File "/usr2/home/nkvyas/TriggerModelling/AMRParsing/stanfordnlp/corenlp.py", line 358, in setup
self.corenlp.expect("done.", timeout=20) # Load pos tagger model (~5sec)
File "/usr2/home/nkvyas/TriggerModelling/AMRParsing/stanfordnlp/pexpect/init.py", line 1451, in expect
timeout, searchwindowsize)
File "/usr2/home/nkvyas/TriggerModelling/AMRParsing/stanfordnlp/pexpect/init.py", line 1466, in expect_list
timeout, searchwindowsize)
File "/usr2/home/nkvyas/TriggerModelling/AMRParsing/stanfordnlp/pexpect/init.py", line 1554, in expect_loop
raise EOF(str(err) + '\n' + str(self))
stanfordnlp.pexpect.EOF: End Of File (EOF). Exception style platform.
<stanfordnlp.pexpect.spawn object at 0x7f308fa601d0>
version: 3.3
command: /usr/bin/java
args: ['/usr/bin/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']
searcher: <stanfordnlp.pexpect.searcher_re object at 0x7f308fa60290>
buffer (last 100 chars): ''
before (last 100 chars): 's(ClassLoader.java:358)\r\n\tat sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)\r\n'
after: <class 'stanfordnlp.pexpect.EOF'>
match: None
match_index: None
exitstatus: None
flag_eof: True
pid: 24394
child_fd: 3
closed: False
timeout: 30
delimiter: <class 'stanfordnlp.pexpect.EOF'>
logfile: None
logfile_read: None
logfile_send: None
maxread: 2000
ignorecase: False
searchwindowsize: None
delaybeforesend: 0.05
delayafterclose: 0.1
delayafterterminate: 0.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions