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

  • db_string (str) – String for database connections

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

  • text_int_paths (dict[int, Path]) – Per dictionary text SCP paths

  • ali_paths (dict[int, Path]) – Per dictionary alignment paths

  • model_path (Path) – Acoustic model path

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