Skip to content
This repository was archived by the owner on Sep 21, 2026. It is now read-only.

v0.4.4 Dramatically Improved Alignment Success Rate

Choose a tag to compare

@LattifaiHQ LattifaiHQ released this 03 Nov 12:34
· 671 commits to main since this release

πŸŽ‰ Overview

LattifAI Python v0.4.4 is a performance-focused release that brings significant improvements to alignment success rate and speaker name handling.


✨ Key Highlights

πŸš€ Dramatically Improved Alignment Success Rate

This release includes a major enhancement to the beam search decoding parameters, resulting in significantly higher alignment success rates, especially for challenging audio scenarios.

What Changed:

  • search_beam: Increased from 50 to 200 (4x improvement)
  • output_beam: Increased from 20 to 80 (4x improvement)

Impact:

  • βœ… Higher Success Rate: Dramatically reduced alignment failures for complex audio
  • βœ… Better Path Exploration: Wider beam search explores more decoding paths
  • βœ… Improved Accuracy: More robust alignment for difficult audio segments
  • βœ… Enhanced Reliability: Better handling of noisy or low-quality audio

πŸ”§ Fixed Speaker Name Parsing & Restoration

Resolved critical issues with speaker name detection and text restoration in subtitles.

What Was Fixed:

  • Regex Pattern Fix: Corrected SPEAKER_PATTERN2 to properly match uppercase speaker names
  • Format Support: Enhanced support for speaker formats like JOHN DOE: text or SPEAKER: text
  • Text Restoration: Fixed speaker name restoration when exporting aligned subtitles

Impact:

  • βœ… Accurate Speaker Detection: Properly identifies speaker names in various formats
  • βœ… Preserved Speaker Info: Maintains speaker attribution through alignment pipeline
  • βœ… Better Format Support: Works with diverse subtitle speaker naming conventions