aboSamoor / polyglot

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

Fix locale setting in tokenization #259

Open issamemari opened 2 years ago

issamemari commented 2 years ago

Hello! I think I caught a bug here. The variable locale should be passed to the constructor of Locale and not the literal word 'locale'