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

Speller error model built from typos list #32

Open
snomos opened this issue Aug 18, 2023 · 0 comments
Open

Speller error model built from typos list #32

snomos opened this issue Aug 18, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@snomos
Copy link
Member

snomos commented Aug 18, 2023

Just an idea:

Given a large typos list, one could imagine making an error model of it + a simple Levenshtein 1 edit distance thing on top of it.

Needs to be tested for:

  • speed
  • memory/disk size
  • correction performance

If we find that it works well given a typos list of X entries, we could build it automatically if typos file ≥ X.

Main benefit: since we already collect typos, it would be an easy way to build an error model that would correct most typos without us having to do any work.

@snomos snomos added the enhancement New feature or request label Aug 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants