Skip to content
Discussion options

You must be logged in to vote

If I ran typos on your main.rs, then nothing is reported. If I edit it to add hte, then that gets reported as a typo.

From our FAQ Entry Why was ... not corrected?

If it is showing up, likely typos doesn't know about it yet.

typos maintains a list of known typo corrections to keep the false positive count low so it can safely run unassisted.

This is in contrast to most spell checking UIs people use where there is a known list of valid words. In this case, the spell checker tries to guess your intent by finding the closest-looking word. It then has a gauge for when a word isn't close enough and assumes you know best. The user has the opportunity to verify these corrections and explicitly …

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@bradbell
Comment options

@epage
Comment options

Answer selected by bradbell
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants