DictionaryTrainer#
- class montreal_forced_aligner.alignment.pretrained.DictionaryTrainer(calculate_silence_probs=False, min_count=1, **kwargs)[source]#
Bases:
PretrainedAligner
Aligner for calculating pronunciation probabilities of dictionary entries
- Parameters:
See also
PretrainedAligner
For dictionary and corpus parsing parameters and alignment parameters
- export_lexicons(output_directory)[source]#
Generate pronunciation probabilities for the dictionary
- Parameters:
output_directory (str) – Directory in which to save new dictionaries
See also
GeneratePronunciationsFunction
Multiprocessing helper function for each job
CorpusAligner.generate_pronunciations_arguments
Job method for generating arguments for helper function