What happens to words between the model and the paste.
Customize transcriptions:
Use empty string "" to delete words entirely.
{"hyper whisper": "hyprwhspr"} ships as the default (the product name is spoken "hyper whisper").
Single-character overrides match anywhere in a word (not just at word boundaries):
{
"word_overrides": {
"ß": "ss"
}
}"Straße"→"Strasse","Fuß"→"Fuss", etc.- Multi-character overrides use whole-word matching, applied per edge
- Terms containing a CJK character match anywhere —
{"你好": "HI"}applies inside"我说你好世界" - An edge that isn't a letter or digit is unanchored, so
{"c++": "C++"}matches
Remove common filler words automatically:
{
"filter_filler_words": true, // Enable automatic filler word removal (default: false)
"filler_words": ["uh", "um", "er", "ah", "eh", "hmm", "hm", "mm", "mhm"] // Customize list
}- Fillers match whole words, single letters included (
"м"leaves"мама"alone); terms containing CJK characters match without word boundaries - Backends that punctuate their own transcripts attach the mark to the filler (
"Um.","Uh,"); the mark is removed along with the filler, not left stranded - Punctuation belonging to the surrounding sentence survives --
"I said, um, no."keeps its first comma, and a sentence break the filler carried is kept:"Well, um. Okay."->"Well. Okay." - A word left starting a sentence is re-capitalized:
"Fair enough. Um. Uh, what about it?"->"Fair enough. What about it?" - A bracket or quote pair wrapping a filler goes with it (
"Um," he said.->He said.); an unpaired one stays ((so um) fine->(so) fine) - Dictated punctuation is preserved: filtering runs before speech-to-symbol replacement, so a spoken
commabeside a filler survives - An utterance that was nothing but fillers pastes nothing at all
Whisper invents stock subtitle phrases when handed audio with no speech in it. Transcriptions matching this list are discarded rather than pasted:
{
"hallucination_markers": ["blank audio", "silence", "no speech", "thanks for watching"]
}- Setting the key replaces the built-in list;
hyprwhspr config show --allprints the default - Matching ignores case, underscores, brackets, trailing punctuation, and whitespace differences (including nonbreaking spaces), so
[Silence]andblank_audioare caught - Text starting with
♪is always discarded - The defaults also catch complete French subtitle and outro phrases such as « Sous-titrage Société Radio-Canada » and « Merci d’avoir regardé cette vidéo ! ».
"you"ships in the list — Whisper's most common phantom, and a real one-word dictation. Drop it if you'd rather keep the phantoms than lose a dictated "you"
On the Whisper.cpp backend, optional voice activity detection can remove non-speech audio before transcription.
Automatically converts spoken words to symbols and punctuation:
{
"symbol_replacements": true // default; false keeps spoken words as text
}English and French have built-in commands. language picks which set runs:
- A secondary shortcut or
--langoverrides it - Region codes follow their base language:
fr-FRuses French language: nulluses English, even when another language is detected- Other languages skip built-in commands. Word overrides and filler filtering still apply
- Translation with pywhispercpp or faster-whisper uses English
These rules also apply to file transcription with --clean.
Punctuation:
- "period" → "."
- "comma" → ","
- "question mark" → "?"
- "exclamation mark" → "!"
- "colon" → ":"
- "semicolon" → ";"
Symbols:
- "at symbol" → "@"
- "hash" → "#"
- "plus" → "+"
- "equals" → "="
- "dash" → "-"
- "underscore" → "_"
Brackets:
- "open paren" → "("
- "close paren" → ")"
- "open bracket" → "["
- "close bracket" → "]"
- "open brace" → "{"
- "close brace" → "}"
Special commands:
- "new line" → new line
- "tab" → tab character
Everyday words need « insérer » first. Names of punctuation stand alone.
Punctuation:
- « insérer un point » → "."
- « insérer une virgule » → ","
- « insérer deux points » → ":"
- « point-virgule » → ";"
- « point d'interrogation » → "?"
- « point d'exclamation » → "!"
- « points de suspension » → "…"
Brackets:
- « ouvrir la parenthèse », « ouvrez la parenthèse » or « parenthèse ouvrante » → "("
- « fermer la parenthèse », « fermez la parenthèse » or « parenthèse fermante » → ")"
- « crochet ouvrant » or « ouvrir le crochet » → "["
- « crochet fermant » or « fermer le crochet » → "]"
Special commands:
- « retour à la ligne » → new line
- « nouveau paragraphe » → two new lines
- « tiret espace » or « tiret du six espace » → "- " list marker
Both break commands work on their own, including at the end of a dictation. The next line starts without an extra space.
Case and apostrophe style don't matter. A space goes before "?", "!", ":" and ";".
« Pistes insérer deux points retour à la ligne tiret espace vérifier la source » yields:
Pistes :
- vérifier la sourceBare « point », « virgule », « deux points », « à la ligne » and « plus » stay words. « Il marque deux points » is preserved.
Quoting a command still converts it. Set symbol_replacements: false for literal dictation.
Add your own commands with word overrides. They replace prose too:
{ "word_overrides": { "arobase": "@", "barre verticale": "|" } }A transcription can be followed by a space so the next word you type doesn't collide with it. A final spoken line or paragraph break gets no extra space:
{
"append_trailing_space": "auto" // "auto" (default), true, or false
}"auto"checks the last character pasted: Han, Kana, Hangul and full-width punctuation (。,,) get no space- Everything else gets one, Thai included — it has no spaces between words, but does use them between phrases
- Set
trueto append a space regardless of script, orfalseto disable it. A final line or paragraph break never gets an extra space, including withtrue - The check runs after
post_transcription_hook, on the final text
Chinese, Japanese and Korean write without spaces between words:
- Trailing spaces are handled by
append_trailing_space; the default needs no configuration - Realtime and long-form segments are joined without a space after a CJK character, so sentences aren't broken up
- Hallucination markers include English and French entries; customize the list for other phrases or languages
- Spoken punctuation goes in
word_overrides, which match anywhere in CJK text:
{ "word_overrides": { "句号": "。", "逗号": ",", "问号": "?" } }Pipe each transcription through a shell command before it's pasted. Stdin receives the (preprocessed) transcription; non-empty stdout replaces it. Empty stdout leaves the text unchanged, so the same mechanism works for both transforms and observer-only hooks. Pasting waits for the hook to finish or time out. A hook that exits with status 77 consumes the transcription successfully and prevents it from being pasted.
{
"post_transcription_hook": "sed 's|.*|<dictation>&</dictation>|'"
}The example above wraps every injected transcription in <dictation>...</dictation> — a useful signal to downstream LLMs that the text came from ASR and may contain transcription artifacts (homophones, proper-noun misspellings).
The hook runs before the trailing space is applied, so it can't strip it — use append_trailing_space.
Other patterns:
Archive transcriptions to a log, leave text unchanged (observer-only):
{ "post_transcription_hook": "tee -a ~/.local/share/hyprwhspr/log.txt >/dev/null" }User-provided transform script at an explicit path:
{ "post_transcription_hook": "~/.local/bin/filler-word-coach" }Two environment variables are exported to the hook:
HYPRWHSPR_MODEL— the active whisper modelHYPRWHSPR_BACKEND— the active transcription backend
The hook runs under a 5-second timeout by default. Set post_transcription_hook_timeout to a positive number of seconds for slower transforms, such as local LLM cleanup:
{
"post_transcription_hook": "~/.local/bin/transcription-cleanup",
"post_transcription_hook_timeout": 15.0
}Fractional seconds are supported. Use a positive, finite JSON number, such as 0.5 or 15, without quotes. Invalid runtime values fall back to 5 seconds; 0 does not disable the timeout.
A longer timeout allows a slow hook to delay pasting for longer. If the hook makes an HTTP request, set the request's timeout below the hook timeout, leaving time for the script to handle errors and exit.
Exit status 77 is reserved for an intentional consume result; stdout is ignored and the transcription is not pasted. On timeout, any other non-zero exit, or any subprocess error, the original text is preserved — a broken hook will never silently eat a dictation. Errors are logged to the service journal.
Note: the command runs under shell=True, so pipes, redirects, and command chaining work as expected. Treat post_transcription_hook as trusted config (same threat model as the rest of config.json).
{ "word_overrides": { "hyper whisper": "hyprwhspr", "um": "" } }