fix(meeting): keep polish from inventing markers or dropping qualifiers

The local model follows the polish instructions only most of the time: in
repeated runs it added a [00:00] or [화자 1] marker that was never in the
audio, and it turned "사실 거의 근간" into "사실 근간". Both change what the
meeting record says, so they are now enforced in code instead of hoped for
in the prompt: markers absent from the original chunk are stripped, and
meaning qualifiers the speaker said are restored from that chunk.

The instructions themselves were re-measured on the model: a fixed removal
list, an explicit qualifier example and a marker ban keep the filler cleanup
without touching ordinary words, and the same wording is used by the app,
the tests and the probe. Unknown-word repair still depends on the model.
This commit is contained in:
Yun Chan 2026-11-06 23:24:30 +09:00
parent bcd0cf4f23
commit 3aa68f466c
8 changed files with 167 additions and 5 deletions

View file

@ -13,6 +13,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Plugin system for custom pipelines
## [1.16.5] - 2026-11-06
> Transcript polish now guards what the model must not break, measured against the local model.
### Changed
- Polish instructions were rewritten to the wording measured best on the local model: fillers may only be removed from a fixed list, meaning qualifiers such as 거의/대부분/아직 must stay, a word that makes the sentence fall apart (for example 유치역학 → 유체역학) should be repaired, and speaker labels or timestamps that are not in the input must not be invented.
- Comma-separated fragments from speech are joined into sentences, and one prompt is shared by the app, the tests and the verification probe.
### Fixed
- The model could add a `[00:00]` or `[화자 1]` marker that was never in the audio; these are now stripped from the saved transcript, so timestamps and speakers come only from recognition and diarization.
- The model sometimes deleted meaning-bearing qualifiers (for example turning "사실 거의 근간" into "사실 근간"). Qualifiers the speaker actually said are restored from the original chunk.
- Unknown-word repair stays model-dependent (measured 2 of 3 runs on the same clip); once a term is in your dictionary or has been typed a few times, the fix becomes deterministic.
## [1.16.4] - 2026-11-06
> AI correction of transcripts is now grounded in the vocabulary the app learned from typing.