$ python corenlp/corenlp.py
java -Xmx3g -cp stanford-corenlp-full-2013-11-12/stanford-corenlp-3.3.0.jar:stanford-corenlp-full-2013-11-12/stanford-corenlp-3.3.0-models.jar:stanford-corenlp-full-2013-11-12/xom.jar:stanford-corenlp-full-2013-11-12/joda-time.jar:stanford-corenlp-full-2013-11-12/jollyday.jar:stanford-corenlp-full-2013-11-12/ejml-0.23.jar edu.stanford.nlp.pipeline.StanfordCoreNLP -props /home/patrick/nlp-features/corenlp-python/corenlp/default.properties
Traceback (most recent call last):
File "corenlp/corenlp.py", line 575, in <module>
nlp = StanfordCoreNLP(options.corenlp, properties=options.properties, serving=True)
File "corenlp/corenlp.py", line 430, in __init__
self._spawn_corenlp()
File "corenlp/corenlp.py", line 413, in _spawn_corenlp
self.corenlp.expect("done.", timeout=timeouts[i]) # Load model
File "/usr/lib/python2.7/dist-packages/pexpect.py", line 1316, in expect
return self.expect_list(compiled_pattern_list, timeout, searchwindowsize)
File "/usr/lib/python2.7/dist-packages/pexpect.py", line 1330, in expect_list
return self.expect_loop(searcher_re(pattern_list), timeout, searchwindowsize)
File "/usr/lib/python2.7/dist-packages/pexpect.py", line 1401, in expect_loop
raise EOF (str(e) + '\n' + str(self))
pexpect.EOF: End Of File (EOF) in read_nonblocking(). Exception style platform.
<pexpect.spawn object at 0x8c50fac>
version: 2.4 ($Revision: 516 $)
command: /usr/bin/java
args: ['/usr/bin/java', '-Xmx3g', '-cp', 'stanford-corenlp-full-2013-11-12/stanford-corenlp-3.3.0.jar:stanford-corenlp-full-2013-11-12/stanford-corenlp-3.3.0-models.jar:stanford-corenlp-full-2013-11-12/xom.jar:stanford-corenlp-full-2013-11-12/joda-time.jar:stanford-corenlp-full-2013-11-12/jollyday.jar:stanford-corenlp-full-2013-11-12/ejml-0.23.jar', 'edu.stanford.nlp.pipeline.StanfordCoreNLP', '-props', '/home/patrick/nlp-features/corenlp-python/corenlp/default.properties']
searcher: searcher_re:
0: re.compile("done.")
buffer (last 100 chars):
before (last 100 chars): ld not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
after: <class 'pexpect.EOF'>
match: None
match_index: None
exitstatus: 1
flag_eof: True
pid: 18679
child_fd: 4
closed: False
timeout: 60
delimiter: <class 'pexpect.EOF'>
logfile: None
logfile_read: None
logfile_send: None
maxread: 8192
ignorecase: False
searchwindowsize: 80
delaybeforesend: 0.05
delayafterclose: 0.1
delayafterterminate: 0.1
I'm getting an error when I try to run corenlp.py