PretrainedValidator#

class montreal_forced_aligner.validation.PretrainedValidator(**kwargs)[source]#

Bases: PretrainedAligner, ValidationMixin

Validator class for checking whether a corpus, a dictionary, and an acoustic model will work together for alignment

See also

PretrainedAligner

For alignment configuration

ValidationMixin

For validation parameters

analyze_missing_phones()[source]#

Analyzes dictionary and acoustic model for phones in the dictionary that don’t have acoustic models

setup()[source]#

Set up the corpus and validator

Raises:

KaldiProcessingError – If there were any errors in running Kaldi binaries

validate()[source]#

Performs validation of the corpus