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

Spellcheck should support Damerau–Levenshtein distance #987

Open
wparad opened this issue Oct 21, 2021 · 0 comments
Open

Spellcheck should support Damerau–Levenshtein distance #987

wparad opened this issue Oct 21, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@wparad
Copy link
Contributor

wparad commented Oct 21, 2021

Is your feature request related to a problem? Please describe.
Spellchecking the word Eidt resolves list with distance 2, instead of edit. This is because the check doesn't include simple transpositions.

Describe the solution you'd like
Include at least some of these spell check alternatives, specifically Damerau–Levenshtein: https://en.wikipedia.org/wiki/Levenshtein_distance#Relationship_with_other_edit_distance_metrics

Describe alternatives you've considered
The current spell check module is newed in the Nlu which means it doesn't even support replacing the spell check module with an alternative. At the very least it should also support getting the spell check from the container

@aigloss aigloss added the enhancement New feature or request label Nov 24, 2022
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