[✨ FEATURE] Auto-learn custom vocabulary from user corrections
Is your feature request related to a problem? Please describe. FluidVoice already has a useful custom dictionary and Parakeet vocabulary boosting, but maintaining it is still manual. In real dictation workflows, the same product names, model names, acronyms, people, and technical terms get corrected repeatedly after paste. That creates avoidable friction and means the recogniser never benefits from those repeated corrections unless the user manually adds the term.
Describe the solution you'd like Add an optional Auto-learn custom vocabulary feature that can learn candidate terms from explicit user corrections and feed them back into the existing custom-words / Parakeet vocabulary path.
Suggested behaviour:
- Watch for explicit post-dictation corrections made by the user.
- Detect likely vocabulary corrections (for example:
git hub->GitHub,java script->JavaScript,mac book->MacBook). - After a confidence threshold is met, either:
- automatically add the corrected term to the custom dictionary, or
- place it in a review queue for one-click approval.
- Keep this feature toggleable in settings.
- Restrict it to likely names / product terms / technical vocabulary so it does not learn arbitrary prose.
- When Parakeet is the active engine, feed learned terms into the existing custom-vocabulary boosting path.
Why this matters This would compound the value of the current dictionary feature over time:
- fewer repeated manual corrections
- better handling of jargon-heavy workflows
- better first-pass accuracy for technical users
- less dictionary maintenance overhead
Describe alternatives you've considered
- manually maintaining the custom dictionary
- relying on AI enhancement to clean up names after transcription
Manual dictionary maintenance works, but it does not scale well when the same corrections keep recurring.
Additional context This feels like a natural follow-on to the existing custom words / dictionary work in issues like #41 and #153. The key thing is to keep the learning conservative and reviewable so the dictionary does not get polluted by one-off mistakes.
How do you differentiate tech words compared to a random word? How does the app decide which is worth adding? Not the word itself but more how do you differentiate a useful word and a not useful word that you corrected?
Good question. I would not try to solve this by semantically classifying "tech words" vs "normal words" because that will be brittle.
I would make it conservative and pattern-based instead.
The key idea is not "merge two words into one" specifically. It is: detect repeated correction patterns and treat the corrected form as a candidate dictionary entry when it looks dictionary-worthy.
That should work whether the correction is:
- one word -> one word (
clawed->Claude) - two words -> one word (
mac book->MacBook) - spacing / casing normalisation (
java script->JavaScript)
So I would suggest:
- only consider explicit local corrections, not broader rewrites
- only surface a candidate when the same correction repeats (for example 2 times)
- prioritise corrected forms that look dictionary-worthy, for example names, branded casing, acronyms, digits, symbols, or hyphenated terms
- ignore corrections that look like ordinary prose editing, grammar fixes, or one-off wording changes
So the differentiation would not be "is this a tech word?", but "does this look like a repeated token-level correction where the corrected form belongs in the custom dictionary?"
I think the safest first version would be a review queue, not blind auto-add:
- detect candidate corrections
- only show them after they recur
- let the user approve adding the corrected form to the dictionary
That keeps the feature useful without trying to solve perfect word classification up front.
Thanks! I think it's an amazing feature and would need a lot of love and work to make it actually useful.
How do you find 'correction detected' and 'is the correction good enough to be added' is the tricky part overall. If anyone else wants to come up with a nice algorithm to 'detect', i'd happily consider that.
I actually took a stab at building out that exact detection algorithm! I just opened PR #282 with a working implementation.
To handle the tricky "detecting the correction" part, I built an engine that runs an LCS (Longest Common Subsequence) diff on the text. That lets us cleanly isolate exactly which tokens changed when the user edits their transcript.
For the "is it good enough to add" part, I'm passing those isolated changes through Apple's NLTagger. It's pretty good at identifying true entities (names, organizations, specific jargon) and ensuring we aren't just capturing grammar fixes or prose rewrites.
To play it safe, it doesn't auto-add anything yet. It just drops them into an "Experimental" suggestions queue in the Custom Dictionary view where users can click to approve or ignore them.
Would love for you to pull the branch and see how it feels!
Quick follow-up! After thinking about it more, I realised that trying to actively filter out "bad" corrections (by checking if they are formally recognised Names/Entities) was actually shooting us in the foot, because it meant we were throwing away 100% of lowercase technical jargon (e.g. if a dev corrected their dictation to grep, bash, kubectl, or json, those aren't formal "Entities", so the system was ignoring them).
So I've pivoted the architecture slightly in the PR:
- It still uses the LCS Diff Engine to cleanly isolate exactly which tokens were changed.
- But I stripped out the Entity filtering. Instead, it relies purely on a repetition threshold (e.g. you made this exact correction twice) and the manual Review Queue.
If a user makes a grammar edit twice over the course of a day ("is" -> "was"), they can easily just hit "Dismiss" in the queue. But by keeping the gate wide open, we guarantee we catch all the weird domain-specific custom vocabulary without dropping it on the floor.
Let me know what you think of this approach!
Great work @martin-forge !
Love the work. Been delaying this to have a clean state to push this. Will try to add it for the next update :)) How do you like it if you've been using it @martin-forge ?
Thanks @altic-dev ! I’ve tested this locally and it’s working well for me.
I’ve labelled it as an Alpha feature, made some UI/wording polish improvements today, and pushed the updated PR. I think it’s in a good state to merge, but happy to adjust anything you’d like changed. Cheers! :)
@altic-dev Have you already reviewed this ?
I think he said it doesn't work as reliably as he expected. 🤔 can we come back to this later?
Resolving for now