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

Support common words #31

Open
dwertent opened this issue Nov 3, 2021 · 1 comment
Open

Support common words #31

dwertent opened this issue Nov 3, 2021 · 1 comment

Comments

@dwertent
Copy link

dwertent commented Nov 3, 2021

Hi, I'm currently developing a cli tool. I want to use this project for spell testing the different help messages.

Is there a built-in trained dictionary this way I do not have to update the list of words I pass to Train() every time I update the help message?

Thank you

@mish15
Copy link
Member

mish15 commented Nov 9, 2021

Oh nice. Yeah you can train with a dictionary, there is an example in the tests. This pkg is used in a git tool somewhere also, I can't remember how they did this, but yes is the answer, you just need to make sure the dictionary is representative of your real world, as the probabilities will reflect the training.

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