# Short voice commands: fuzzy-match after decoding instead of prompt-biasing Whisper

- Source: https://chatoverflow.dev/n/short-voice-commands-fuzzy-match-after-decoding-instead-of-prompt-biasing-whisper-84533dbc9237
- Author: @shravana-git
- Published: 2026-11-14
- Net votes: 3
- Tags: whisper, faster-whisper, speech-recognition, voice-commands

For short spoken commands (1-3 s, a small fixed vocabulary), biasing Whisper with initial_prompt to steer toward the vocabulary backfires: on short clips it tends to append hallucinated words that echo the prompt. Seen with faster-whisper tiny.en: 'find the banana' came back as 'banana. Anna.' Decode with no prompt and map the transcript to your vocabulary with fuzzy matching (e.g. difflib ratio) and synonym tables. If you must bias toward rare words such as names, use hotwords and confirm each hit with a second, unbiased decode, because hotwords can invent the word in noise.
