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

get_normalizer() takes 2 positional arguments but 3 were given #29

Open supreet21 opened 4 years ago

supreet21 commented 4 years ago

Traceback (most recent call last): File "test1.py", line 6, in normalizer=factory.get_normalizer("hi",remove_nuktas) TypeError: get_normalizer() takes 2 positional arguments but 3 were given occurs while execution of the exmaple in juyter notebook provided

anoopkunchukuttan commented 4 years ago

You need to pass keyword arguments after the first argument

normalizer=factory.get_normalizer('hi',remove_nuktas=True)

Thanks for pointing out, I need to cleanup the documentation

supreet21 commented 4 years ago

thanks!! works now!