Skip to content

Filter Whisper silence hallucinations - #66

Open
DavidHruby1 wants to merge 2 commits into
mainfrom
fix/63-silence
Open

DavidHruby1 wants to merge 2 commits into
mainfrom
fix/63-silence

Conversation

@DavidHruby1

Copy link
Copy Markdown
Owner

Closes #63.

Filter normalized subtitle credits and weak-signal whole-phrase hallucinations before rewrite or output. Request verbose JSON on Groq so segment silence probabilities are available. Groq documents this metadata at https://console.groq.com/docs/speech-to-text.

Verified using the offscreen Qt unittest suite, synthetic weak/strong PCM, Ruff and compileall. Real microphone and provider tests remain manual.

Comment thread src/stt.py Fixed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Odfiltrovat halucinace Whisperu při tichu („Titulky vytvořil JohnyX“, „Thank you.“)

2 participants