- Normalise BRITISH_REPLACEMENTS: remove baked-in \b from entries so all entries are plain base words; the function adds boundaries uniformly - Replace O(n*m) while-loop double-space removal with single-pass collapse - Add debug_assert! documenting ASCII assumption for byte-indexed suffix slicing - Expand llm_client.rs module-level doc comment - Run cargo fmt on ai-formatting crate Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
6 lines
331 B
XML
6 lines
331 B
XML
//! Placeholder for future LLM sidecar integration (e.g., mistral.rs for smart formatting).
|
|
//!
|
|
//! When implemented, this module will expose a client that sends transcription
|
|
//! segments to a local LLM for context-aware punctuation, paragraph splitting,
|
|
//! and stylistic cleanup beyond what the rule-based pipeline can achieve.
|