use polyglot package for Named Entity Recognition in hebrew
问题 I am trying to use the polyglot package for Named Entity Recognition in hebrew. this is my code: # -*- coding: utf8 -*- import polyglot from polyglot.text import Text, Word from polyglot.downloader import downloader downloader.download("embeddings2.iw") text = Text(u"in france and in germany") print(type(text)) text2 = Text(u"נסעתי מירושלים לתל אביב") print(type(text2)) print(text.entities) print(text2.entities) this is the output: <class 'polyglot.text.Text'> <class 'polyglot.text.Text'> [I