GeneratePronunciationsArguments#

class montreal_forced_aligner.alignment.multiprocessing.GeneratePronunciationsArguments(job_name, session, log_path, aligner, lexicon_compilers, for_g2p)[source]#

Bases: MfaArguments

Arguments for GeneratePronunciationsFunction

Parameters:
  • job_name (int) – Integer ID of the job

  • session (sqlalchemy.orm.scoped_session or str) – SqlAlchemy scoped session or string for database connections

  • log_path (Path) – Path to save logging information during the run

  • aligner (kalpy.gmm.align.GmmAligner) – GmmAligner to use

  • lexicon_compilers (dict[int, kalpy.fstext.lexicon.LexiconCompiler]) – Lexicon compilers for each pronunciation dictionary

  • for_g2p (bool) – Flag for training a G2P model with acoustic information