Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Open
supreet21 opened this issue Jul 6, 2020 · 2 comments
Open

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

supreet21 opened this issue Jul 6, 2020 · 2 comments
Assignees
Labels

Comments

@supreet21
Copy link

supreet21 commented Jul 6, 2020

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
Copy link
Owner

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
Copy link
Author

thanks!! works now!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants