Commit Graph
2 Commits
Author SHA1 Message Date
diodiogod 7bad4501ff Upgrade dictionary system with CMU Pronouncing Dictionary
- Download CMU Pronouncing Dictionary (134k words with phonemes)
- Download comprehensive English word list (370k words)
- Enhance PhonemeWordMatcher to use real phonetic data
- Add CMU phoneme to viseme mapping system
- Support both phonetic dictionary and word-only fallback
- Process 5000 words instead of 1000 for better coverage
- Map CMU phonemes (AA, AE, IH, etc.) to visemes (A, E, I, etc.)
- Much more accurate word prediction from detected visemes
2025-08-15 02:33:43 -03:00
diodiogod cafb4285a7 Implement Level 3: Word-Level Prediction for viseme sequences
- Download 10,000 common English words dictionary from Google
- Create PhonemeWordMatcher utility for pattern-based word prediction
- Add enable_word_prediction toggle to Viseme Options node
- Integrate word prediction into SRT output formats:
  * Words format: predict actual words from phoneme chunks
  * Syllables format: predict and split words into syllables
  * Characters format: show phoneme→word suggestions
- Support confidence indicators: word, word?, (word)
- Use approximate phoneme-to-spelling mapping for predictions
- Fallback gracefully when prediction fails
- No performance impact on analysis pipeline
2025-08-15 02:31:18 -03:00