minutes icon indicating copy to clipboard operation
minutes copied to clipboard

meetings with low activity/signal result in garbled title

Open Dieterbe opened this issue 8 months ago • 3 comments

when i test with a quick recording with just a few words (that may not have been understood well), the system emits a file such as:

Saved: /home/dieter/meetings/2026-03-30-スパイシー.md
{
  "file": "/home/dieter/meetings/2026-03-30-スパイシー.md",
  "status": "done",
  "title": "スパイシー",
  "words": 2
}

i didn't speak any japanese btw. in cases where there is not enough signal, minutes should probably emit something like "no content found" instead of this

Dieterbe avatar Mar 30 '26 13:03 Dieterbe

Hey @Dieterbe, thanks for opening this! 👋

Minutes is actively maintained and we read every issue. If you're interested in tackling this yourself, check out CONTRIBUTING.md to get started.

We'll take a look soon.

github-actions[bot] avatar Mar 30 '26 13:03 github-actions[bot]

Fixed in dfa66dd — thanks for reporting this, @Dieterbe!

The root cause was whisper hallucinating text in unrelated scripts (CJK, Cyrillic, etc.) when processing silence or very low-signal audio, and that hallucinated text flowing through to the title and filename unchecked.

The fix adds a three-layer defense:

  1. NoSpeech title override — when the transcript is below the min_words threshold (default: 3), the title is forced to "Untitled Recording" instead of being generated from hallucinated text
  2. Latin-ratio guard in title generation — title_from_transcript rejects candidates where <50% of alphabetic characters are Latin-script, falling back to "Untitled Recording"
  3. Foreign-script filtering in whisper-guard — new strip_foreign_script() pass detects lines in a script inconsistent with the transcript majority (≥70% threshold) and removes them. Runs in both the whisper and parakeet transcription paths.

With your exact case (2 Japanese words, min_words: 3), the output is now:

Saved: ~/meetings/2026-03-30-untitled.md
{"status": "done", "title": "Untitled Recording", "words": 2}

The fix also handles edge cases like mixed-script hallucination in longer transcripts, and correctly preserves legitimate non-English recordings (the filter is script-majority-based, not English-only).

silverstein avatar Mar 30 '26 16:03 silverstein

cheers!

Dieterbe avatar Mar 30 '26 17:03 Dieterbe