Ezhil-Language-Foundation / open-tamil

Open Source Tamil NLP Tools - தமிழ் இயற்கை மொழி பகுப்பாய்வு நிரல்தொகுப்பு
http://tamilpesu.us
MIT License
266 stars 82 forks source link

Remove unicode /Python3 checks #201

Open arcturusannamalai opened 4 years ago

arcturusannamalai commented 4 years ago

Open-Tamil migrated to Python3 earlier this year. We nolonger need code like,

PYTHON3 = version > '3' del version

and

if not isinstance(uyirmei_char, PYTHON3 and str or str): raise ValueError("Passed input letter '%s' must be unicode, \ not just string" % uyirmei_char)

arcturusannamalai commented 2 weeks ago

thanks @HariharanUmapathi