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

BUG: Why filter out word has less than 2 character in eng corpus ? #80

Closed
Luvata opened this issue Dec 12, 2019 · 1 comment
Closed

Comments

@Luvata
Copy link
Contributor

Luvata commented Dec 12, 2019

I found that this line

if word != u'' and len(word) > 2:
    self.corpus.append(word)

can filter out many important words like "is", "no", ...
I'll submit an Pull requests to fix

@Luvata
Copy link
Contributor Author

Luvata commented Dec 12, 2019

I've fixed that in my pull request #80
Others can clone my fork if need

@Sanster Sanster closed this as completed Dec 12, 2019
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

2 participants