LmRescoreArguments#

class montreal_forced_aligner.transcription.multiprocessing.LmRescoreArguments(job_name, session, log_path, working_directory, lm_rescore_options, old_g_paths, new_g_paths)[source]#

Bases: MfaArguments

Arguments for LmRescoreFunction

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

  • dictionaries (list[int]) – List of dictionary ids

  • lm_rescore_options (dict[str, Any]) – Rescoring options

  • lat_paths (dict[int, Path]) – Per dictionary lattice paths

  • rescored_lat_paths (dict[int, Path]) – Per dictionary rescored lattice paths

  • old_g_paths (dict[int, Path]) – Mapping of dictionaries to small G.fst paths

  • new_g_paths (dict[int, Path]) – Mapping of dictionaries to medium G.fst paths