class montreal_forced_aligner.db.Pronunciation(**kwargs)[source]#

Bases: Base

Database class for storing information about a pronunciation

  • id (int) – Primary key

  • pronunciation (str) – Space-delimited pronunciation

  • probability (float) – Probability of the pronunciation

  • silence_after_probability (float) – Probability of silence following the pronunciation

  • silence_before_correction (float) – Correction factor for silence before the pronunciation

  • non_silence_before_correction (float) – Correction factor for non-silence before the pronunciation

  • word_id (int) – Foreign key to Word

  • word (Word) – Word for the pronunciation