brendano / stanford_corenlp_pywrapper

151 stars 59 forks source link

SockWrap Syntax error thrown. #29

Open brahmbhattspandan opened 9 years ago

brahmbhattspandan commented 9 years ago

I install Stanford_corenlp_pywrapper using pip as mentioned in your readme file. Now when trying to use it, I face an error stating that there is Syntax error in line 194 of sockwrap.py. I basically just tried importing the classes in ipython. Here is a screenshot for better reference :

screen shot 2015-08-03 at 12 13 51 pm

Thank you.

prakritidev commented 6 years ago

I think you are using python 3. You can change the code in sockwrap.py by replacing ',' with 'as'.

This might work.