ExportTextGridArguments#

class montreal_forced_aligner.alignment.multiprocessing.ExportTextGridArguments(job_name, session, log_path, export_frame_shift, cleanup_textgrids, clitic_marker, output_directory, output_format, include_original_text)[source]#

Bases: MfaArguments

Arguments for ExportTextGridProcessWorker

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

  • export_frame_shift (float) – Frame shift in seconds

  • cleanup_textgrids (bool) – Flag to cleanup silences and recombine words

  • clitic_marker (str) – Marker indicating clitics

  • output_directory (Path) – Directory for exporting

  • output_format (str) – Format to export

  • include_original_text (bool) – Flag for including original unnormalized text as a tier