aboSamoor / polyglot

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

Fix error in tokenization option --only-word #128

Open nisargjhaveri opened 6 years ago

nisargjhaveri commented 6 years ago

Fix: polyglot on command line dies with AttributeError: 'Sequence' object has no attribute 'encode' when run with option --only-sent or --only-word.