Revert "feat: implement heuristic punctuation buffering for translations when context is enabled"
This commit is contained in:
+1
-1
@@ -101,4 +101,4 @@ The project now features a high-performance, Apple Silicon-optimized pipeline th
|
||||
- **Approach:**
|
||||
- **Prompt Caching (`-c`):** Implemented a rolling context buffer that feeds the last 200 characters of previously transcribed text back into Whisper as an `initial_prompt`, maintaining sentence continuity.
|
||||
- **Language Bypassing (`--lang`):** Added the ability to hardcode the source language to skip the Whisper language identification phase on every chunk.
|
||||
- **Heuristic Punctuation Buffering:** When `-c` is enabled, English translations are buffered until a definitive punctuation mark (`.`, `?`, `!`) is reached, preventing grammatical errors caused by translating partial sentences.
|
||||
- **Heuristic Punctuation Buffering (Reverted):** Briefly implemented a system to hold English translations until a definitive punctuation mark was reached to prevent grammatical errors. This was reverted because Whisper's punctuation generation is not 100% reliable, leading to translations getting "stuck" in the buffer indefinitely if no period was generated.
|
||||
|
||||
Reference in New Issue
Block a user