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

[Bug] Autocorrection dictionay for detecting correctly spelt words fails to load with v2+ english_words package #20914

Closed
2 tasks
fretep opened this issue May 13, 2023 · 1 comment

Comments

@fretep
Copy link
Contributor

fretep commented May 13, 2023

Describe the Bug

The following error is displayed when running qmk generate-autocorrect-data, even when the english_words package is installed.

Autocorrection will falsely trigger when a typo is a substring of a correctly spelled word.
To check for this, install the english_words package and rerun this script:
  python3 -m pip install english_words

This appears to be caused by the english_words module upgrade from v1 to v2, which has breaking changes. The english_words_lower_alpha_set function is now replaced by get_english_words_set.

Keyboard Used

No response

Link to product page (if applicable)

No response

Operating System

No response

qmk doctor Output

No response

Is AutoHotKey / Karabiner installed

  • AutoHotKey (Windows)
  • Karabiner (macOS)

Other keyboard-related software installed

No response

Additional Context

No response

@drashna
Copy link
Member

drashna commented May 22, 2023

Resolved.

@drashna drashna closed this as completed May 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants