aboSamoor / polyglot

Multilingual text (NLP) processing toolkit
http://polyglot-nlp.com
Other
2.31k stars 337 forks source link

fixed an indentation problem in polyglot/text.py #110

Closed hgluka closed 7 years ago

hgluka commented 7 years ago

Fixes issue #109

christinamaniati1 commented 6 years ago

i still get that error can you help?

File "/Dataiku/pyenv/lib/python2.7/site-packages/polyglot/decorators.py", line 20, in get [17:07:01] [INFO] [dku.utils] - value = obj.dict[self.func.name] = self.func(obj) [17:07:01] [INFO] [dku.utils] - File "/Dataiku/pyenv/lib/python2.7/site-packages/polyglot/text.py", line 140, in entities [17:07:01] [INFO] [dku.utils] - if tag != u'O':

hgluka commented 6 years ago

Perhaps the pypi package wasn't updated, have you tried downloading it from github and installing from source?

ddefranza commented 4 years ago

I am still seeing this issue in Polyglot version 16.7.4. Any ideas for a workaround?