smilli / py-corenlp

Python wrapper for Stanford CoreNLP
353 stars 75 forks source link

AttributeError: StanfordCoreNLP instance has no attribute 'annotate' #19

Closed pathaine closed 7 years ago

pathaine commented 7 years ago

Hi there,

Thank you very much for this code.

I'd like to know if anyone has run into the following error: AttributeError: StanfordCoreNLP instance has no attribute 'annotate'

I'm connecting to the StanfordCoreNLP server just fine. '.parse' works just fine. I've run out of ideas.

Many thanks!

pathaine commented 7 years ago

The solution was to input ascii text rather than unicode FYI