Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Adding stopwords always raises error #4

Open
hugo-ta opened this issue Sep 4, 2020 · 0 comments
Open

Adding stopwords always raises error #4

hugo-ta opened this issue Sep 4, 2020 · 0 comments

Comments

@hugo-ta
Copy link

hugo-ta commented Sep 4, 2020

The add_stopword(self, *args) function raises exception when *args is not a list, but *args is always a tuple. Code:

        if type(args) != list:
            raise Exception("Error - pass stopwords in list")

Additionally, I get an error when I pass parameters remove_HTML_tags and remove_punctation in the NLP() object.

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

No branches or pull requests

1 participant