GeneratePronunciationsArguments#
- class montreal_forced_aligner.alignment.multiprocessing.GeneratePronunciationsArguments(job_name, session, log_path, aligner, lexicon_compilers, for_g2p)[source]#
Bases:
MfaArgumentsArguments for
GeneratePronunciationsFunction- Parameters:
job_name (int) – Integer ID of the job
session (
sqlalchemy.orm.scoped_sessionor str) – SqlAlchemy scoped session or string for database connectionslog_path (
Path) – Path to save logging information during the runaligner (
kalpy.gmm.align.GmmAligner) – GmmAligner to uselexicon_compilers (dict[int,
kalpy.fstext.lexicon.LexiconCompiler]) – Lexicon compilers for each pronunciation dictionaryfor_g2p (bool) – Flag for training a G2P model with acoustic information