stanford_corenlp_pywrapper icon indicating copy to clipboard operation
stanford_corenlp_pywrapper copied to clipboard

SockWrap Syntax error thrown.

Open brahmbhattspandan opened this issue 10 years ago • 1 comments

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.

brahmbhattspandan avatar Aug 03 '15 16:08 brahmbhattspandan

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

This might work.

prakritidev avatar Nov 14 '17 08:11 prakritidev