feat: learn dictionary replacements from corrections to dictated text
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 15/100
Línea de trabajo
The payload names no files or tests, so start from the existing Dictionary replacement feature and read how user-defined replacements are stored and applied to dictated text. Detecting edits to recently inserted text is platform-specific, and the issue leaves the approach open, so settle that with maintainers before coding. Related issue #72 covers the earlier request for recurring name errors.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Problem
SpeakType can repeatedly misspell the same name or phrase. The existing Dictionary lets users add replacements manually, but correcting a dictation still requires a separate trip to Dictionary to teach the app that correction.
For example, my name is Sinh Sinh, but dictation may produce Sing Sing. If I select that text and correct it to Sinh Sinh, I want SpeakType to remember the correction automatically and use the right spelling next time.
Requested behavior
Add a feature that learns dictionary replacements from corrections to recently dictated text:
- I dictate into an app, and SpeakType inserts text containing “Sing Sing.”
- I select or edit that portion of the text and change it to “Sinh Sinh.”
- SpeakType recognizes the correction and automatically adds the corresponding replacement to its Dictionary, without requiring me to re-enter both versions manually.
- Future dictations that would produce “Sing Sing” instead output “Sinh Sinh.”
This should work for corrected words and multiword phrases, including names, technical terms, and other recurring transcription mistakes—not just this particular name.
User control and expected behavior
- Offer a setting to enable or disable learning from corrections.
- Make learned entries visible in Dictionary, where they can be edited, disabled, or deleted. A small “Correction remembered” notice with Undo would make automatic learning easy to review.
- Preserve corrections across app restarts and avoid creating duplicate entries or silently replacing a conflicting user-defined rule.
- Distinguish spelling/transcription corrections from unrelated edits or whole-sentence rewrites, so ordinary editing does not create unwanted replacements.
- Keep learned replacements local. Limit correction detection to text recently inserted by SpeakType rather than monitoring unrelated typing. Document any platform or target-app limitations.
Implementation consideration
The desired workflow includes correcting text in the destination app after dictation. Detecting that reliably may require platform-specific support. If automatic detection is not available everywhere, a “Remember this correction” action could be a fallback, while automatic learning remains the goal.
Related: #72 requested a dictionary for recurring name errors. This request builds on the existing Dictionary by learning entries directly from user corrections.
- Lenguaje dominante
- Swift
- Estrellas
- 540
- Forks
- 74
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de karansinghgit/speaktype
-
Dark mode: Delete confirmation button is white text on a white buttonPosiblemente ocupada @Aniruth-raman la tomó hace 1 día. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 78/100
karansinghgit/speaktype#213 · 1 comentario ·
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
karansinghgit/speaktype#211 ·
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
karansinghgit/speaktype#183 · 1 comentario ·
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 18/100
karansinghgit/speaktype#212 · 1 comentario ·
-
enhancement
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
karansinghgit/speaktype#209 ·
Todos los issues de karansinghgit/speaktype
Issues similares
-
🎉 Add FiletorAbiertoaddition
Dificultad 1/5 1-3 horas Aptitud para principiantes 78/100
jaywcjlove/awesome-mac#4409 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
abue-ammar/tinycast#1851 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
area:ui good first issue priority:p2 type:bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 80/100
Los mantenedores suelen responder en 1 día
-
area: build-and-ci possible-duplicate S3: minor
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
manaflow-ai/cmux#38889 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
agent-ready area:skills
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
jmbarzee/temporal-architect#616 ·
Los mantenedores suelen responder en 1 día