philipperemy / stanford-openie-python

Stanford Open Information Extraction made simple!
ISC License
635 stars 102 forks source link

Python Wrapper Error #23

Closed carolinamatuk closed 4 years ago

carolinamatuk commented 4 years ago

Hello, I have installed the python wrapper but I keep getting an error when I run your sample code. From these lines: from openie import StanfordOpenIE

with StanfordOpenIE() as client:

I get Syntax Error: Unexpected EOF while parsing.

My question is, where is the syntax error? Or why is it saying this?

Thanks.

carolinamatuk commented 4 years ago

Sidenote: I am using Windows and was able to successfully install openie

philipperemy commented 4 years ago

@carolinamatuk hum I've never tried it on Windows. Do you have access to a Linux or Mac laptop? But maybe it does not work well with Windows..

carolinamatuk commented 4 years ago

Yes I do, I will try it on Linux.

philipperemy commented 4 years ago

@carolinamatuk yes please try it and if it works let me know. Also if you have a windows machine, you can try to make it work and open a pull request. That would be highly appreciated for our windows users (if you have time). Thanks!