MfaLmDictionaryCorpusTrainer#

class montreal_forced_aligner.language_modeling.trainer.MfaLmDictionaryCorpusTrainer(dictionary_path=None, rules_path=None, phone_groups_path=None, topology_path=None, **kwargs)[source]#

Bases: LmDictionaryCorpusTrainerMixin, TopLevelMfaWorker

Top-level worker to train a language model and incorporate a pronunciation dictionary for marking words as OOV

See also

LmTrainerMixin

For language model training parsing parameters

MultispeakerDictionaryMixin

For dictionary parsing parameters

setup()[source]#

Set up language model training