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

In some languages like Chinese, a word of length not bigger than 2 is very common, so I suppose this is a very strong(sometimes wrong in other languages) assumption. #176

Open
Christophy opened this issue Mar 3, 2018 · 2 comments

Comments

@Christophy
Copy link

next unless word.length > 2 && !STOPWORDS[language].include?(word)

@Ch4s3
Copy link
Member

Ch4s3 commented Mar 3, 2018

We could probably make this configurable. I’ll happily review a PR for this.

@Ch4s3
Copy link
Member

Ch4s3 commented Mar 5, 2018

@Christophy We just merged #162, which allows for custom tokenizers. Could you let us know if this helps?

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