Word#

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

Bases: Base

Database class for storing words, their integer IDs, and pronunciation information

Parameters:
  • id (int) – Primary key

  • mapping_id (int) – Integer ID of the word for Kaldi processing

  • word (str) – Word label

  • count (int) – Count frequency of word in the corpus

  • word_type (WordType) – Type of word

  • dictionary_id (int) – Foreign key to Dictionary

  • dictionary (Dictionary) – Pronunciation dictionary that the word belongs to