-
-
Notifications
You must be signed in to change notification settings - Fork 40.7k
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
[Feature Request] Autocorrect with accent #24864
Comments
Switch to a smarter input method. |
Not exactly what is being requested. I've not done much with Unicode or accents, so I may be off base here. The Autocorrect documentation specifically calls out Unicode characters as not supported in the replacement. The default implementation uses However, it may be possible to use the override I believe the typo matching only supports 8-bit basic keycodes, so will be a problem with Unicode too. From your examples, you aren't using accents or Unicode in the typo side of the dictionary, so this may not be a problem for you / this request. I suspect this limitation is to keep memory usage down, and also reduce processing on each keypress. |
Yes, exactly, thank you for your answer. I guess too that it is not allowed to use Unicode characters to avoid slowdown. Thank you |
You might get more people jumping in to help asking over in r/qmk/, r/olkb/ or on the QMK Discord. I suspect this is something that should be possible in userspace without changes to core. @getreuer, have any thoughts on this request? |
Yes, Autocorrect is restricted to recognizing typos of letters The crux of the challenge is that typing in a non-English language is usually done by configuring the host computer's layout to US International or another language-specific layout. The host being configured to a non-QWERTY layout means that the usual Supporting such use in Autocorrect is possible, though tricky. Here is an outline for how it might be done. In the Python utility autocorrect_data.py, which generates the typo dictionary data: the main change needed is to revise the dict variable "
In the firmware in process_autocorrect.c, which compares key events to the typo dictionary:
Apologies that there is not a shorter path. I hope this outline helps if a brave soul does pursue this. |
Feature Request Type
Description
Hi, I set the standard keyboard layout on my OS.
Is there any way to use autocorrection to write grave accent and acute accent?
For example:
c'e -> c'è
perche -> perché
cosi -> così
(I'm italian) Thank you
The text was updated successfully, but these errors were encountered: