anoopkunchukuttan / indic_nlp_library

Resources and tools for Indian language Natural Language Processing
http://anoopkunchukuttan.github.io/indic_nlp_library/
MIT License
546 stars 158 forks source link

Fix for Urdu Normalizer imports #49

Closed neerajchhimwal closed 1 year ago

neerajchhimwal commented 3 years ago

UrduNormalizer class imports from urduhack but the method calls were giving an error since imports are not global. This fix resolves that issue while still only importing the required modules in case the lang=='ur'.