Repository navigation
Voice input: project-aware vocabulary hints for speech-to-text #27755
jorgeluiso
started this conversation in
Ideas
Replies: 1 comment
|
Additional data point on the "external dictation apps" alternative, from testing: I have a Superwhisper subscription, and to be fair, it does support a custom vocabulary — with its dictionary loaded, transcription of my problem terms mostly works. So the hinting approach itself is validated; this is not a request for an unproven technique. Two limitations keep it from solving the problem:
That is exactly the gap only T3 Code can fill. It is the layer that knows which project is active, can load that project's committed terms, and can leave every other project's dictation untouched. An external dictation app, however good its engine, structurally cannot do that. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Summary
Voice input is my primary way of communicating with T3 Code, but speech-to-text (STT) consistently mangles project-specific proper nouns. I propose that T3 Code maintain a list of vocabulary terms and pass them as recognition hints to each client's speech engine wherever the platform supports hinting.
Note on terminology: this concerns STT/dictation (speech → text), not TTS.
Real-world failures (my actual dictation)
General vocabulary survives fine. It is precisely the project and local vocabulary — the words I say most — that gets destroyed.
Why this belongs in T3 Code, not the STT engine
Platform opportunities
SpeechTranscriber, which does not accept vocabulary hints.DictationTranscriberdoes, viaAnalysisContext.contextualStrings(and custom language models); the legacySFSpeechRecognizerpath offersSFSpeechRecognitionRequest.contextualStrings. This may require evaluating a module change for short-form composer dictation.Hints are a bias, not a guarantee — capped (~100 phrases on Apple), and not a deterministic replacement. That is fine; even partial improvement removes most of the correction overhead.
Proposed design
The emphasis should be project-local and repo-committable, with an optional user-global list as a secondary source.
.t3code/vcs.jsonfrom a project (walking up from nested workspaces). A sibling file such as.t3code/speech.json— or a plain one-term-per-line text file — would fit that existing pattern and let a repo share its dictation vocabulary with every contributor.Alternatives considered
Acceptance criteria
.t3code/) that T3 Code picks up automatically for that project's dictation.All reactions