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

LattifAI Python v1.0.0 is a significant update that introduces a refactored caption system, enhanced alignment engine, and improved audio processing capabilities.

Choose a tag to compare

@LattifaiHQ LattifaiHQ released this 04 Dec 17:33
· 555 commits to main since this release

✨ Major Changes

πŸ”„ CLI Architecture Refactor

New Command Structure

Migrated to a unified subcommand-based CLI powered by nemo_run (lattifai-run) framework:

πŸ“ Caption System Refactor

New Unified Caption Class

Introduced a comprehensive Caption class that replaces the previous CaptionIO for streamlined subtitle/caption handling:

from lattifai.caption import Caption

# Read captions with metadata preservation
caption = Caption.read("subtitles.srt")
print(f"Loaded {len(caption)} segments")
print(f"Language: {caption.language}")
print(f"Duration: {caption.duration:.2f}s")

# Write to different formats
caption.write("output.vtt")
caption.write("output.TextGrid")

🌐 Multilingual Tokenization

Added text tokenization function supporting multiple languages:

# Supports Chinese, English, and German text processing
# Improved handling of mixed-language content