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

Is it possible to use pure golang implementation Snowball? #4

Open
fondoger opened this issue Oct 29, 2024 · 0 comments
Open

Is it possible to use pure golang implementation Snowball? #4

fondoger opened this issue Oct 29, 2024 · 0 comments

Comments

@fondoger
Copy link

fondoger commented Oct 29, 2024

We need to install some additional packages to use fallback. This makes the library difficult to use.

# Aspell lib
sudo apt-get install aspell libaspell-dev

# And dictionaries for your target languages
sudo apt-get install aspell-ua aspell-se

# On macOS it'd be
brew install aspell

# To check the dicts list and codes
aspell dump dicts

You also mentioned that there is an issue with the aspell package.

For snowball, we can use github.com/kljensen/snowball.
For aspell, we can use github.com/sajari/fuzzy. A list of english words COCA 60000 can be used as training data for fuzzy package.

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