feat(meeting): ground AI transcript correction in learned vocabulary
AI polishing of a recorded or pasted transcript was a generic rewrite: it cleaned fillers but left names and in-house terms mangled even when the app already knew them. Polishing now corrects dictionary pronunciations and typed identifiers deterministically before and after the model, and hands the model the learned term list plus the user's own expressions with explicit rules: rewrite a misheard name, product or in-house term to the learned spelling, and never swap an ordinary noun or ending on similarity alone. Dictation output is re-checked the same way after the model runs.
This commit is contained in:
parent
1f5372bfcc
commit
e2d17601a4
8 changed files with 120 additions and 23 deletions
|
|
@ -7,6 +7,7 @@
|
|||
- 해결: 새 SSOT `packages/core/src/transcript-correction.ts`(글로서리·사전 변형 치환·1자모 학습 어절 교정·LLM 참고 블록) + `TranscriptGlossaryService`(사전+개인 문구 15초 캐시, 사전 변경 시 즉시 무효화, 실패 시 빈 어휘) 를 `CaptionService`(매 인식 힌트·확정 줄 교정·교열 프롬프트·`segment-updated`), `MeetingRecordingSession`/`MeetingModeService`(`meetingMode:segmentUpdated`로 회의 세션·화면 갱신, auto-polish에 용어 블록), `FileTranscriptionService`(조각별 힌트·교정), `VoiceModeService`(학습 어절 패스)에 배선.
|
||||
- 교정 안전 규칙: 사용자가 실제로 쓴 어절은 절대 변경하지 않고, 후보가 동률이면 고치지 않으며, 조사는 그대로 두고 어절만 바꾼다.
|
||||
- 검증: core `transcript-correction.test.ts` 16, 데스크톱 `transcript-glossary.test.ts` 9, 데스크톱 offline 전체(2788)에서 드러난 회귀 2건을 수정해 재통과, workspace typecheck·변경 파일 ESLint·`test:hygiene` GREEN. 실회의 실측은 `GAP-MTG-04`로 남김.
|
||||
- **1.16.4 (AI 교열을 학습 기반으로):** 회의 전사 AI 다듬기(polish)가 일반 재작성 대신 학습 어휘를 교정 근거로 쓴다. 다듬기 전·후에 결정적 교정(사전 발음·라틴 식별자)을 돌리고, 모델에는 [사용자 용어]·[자주 쓰는 용어]·[사용자 표현]과 함께 「오인식이 문맥상 확실하면 학습 표기로 반드시 고치고, 근거 없는 일반 명사·조사·어미는 건드리지 말라」는 규칙을 넣는다. 받아쓰기 LLM 결과도 학습 표기로 다시 강제한다. 실데이터 프롬프트 블록 확인: HaramLog·Android·AI 대소문자 보존, 한영 자판 산물은 용어·힌트·예시에서 모두 제거, 실제 전사 3,005어절 결정적 변경 0.
|
||||
- **1.16.2 배포 직후 실사용 DB로 직접 검증해 결함 발견 → 1.16.3으로 수정:** `users/_local/d3ro.db`(개인 문구 1,952·이핑 표본 2,522·회의 전사 3건)에 결정적 교정을 돌리니 실제 전사 3,005어절 중 **286개가 잘못 바뀌었다**(하면→라면, 이제→이게, 매일→메일, 정보→정도, 일단→일반). 학습 어휘 대부분이 일반 명사·부사·어미라 1자모 거리로는 오인식과 정상 단어를 구분할 수 없다. 수정: 결정적 교정은 **사전 발음 변형 + 사용자가 친 라틴 식별자**만(대소문자 보존), 한글 용어는 STT 힌트·LLM 교열 참고로만. 같은 코퍼스 재측정 **0/3,005**. 실제 사이드카(`large-v3-turbo`)로 한국어 TTS 픽스처 검증: 힌트 없음 `하람로그에` → 힌트 있음 `haramlog에`, 사전 발음 등록 시 `디에로`→`D3RO`. 한영 자판 오타 산물(`dkssudgktpdy`)은 힌트에서 제외. 교훈: **"학습 데이터를 쓴다"는 기능은 실사용 코퍼스로 오탐을 먼저 재고 나서 켠다.**
|
||||
|
||||
## v1.9.0 — 전사 구간·프리셋 프롬프트 동기화 (2026-09-27)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue