ExportTextGridProcessWorker#
- class montreal_forced_aligner.alignment.multiprocessing.ExportTextGridProcessWorker(db_string, for_write_queue, return_queue, stopped, finished_adding, arguments, exported_file_count)[source]#
Bases:
ProcessMultiprocessing worker for exporting TextGrids
See also
CorpusAligner.collect_alignmentsMain function that runs this worker in parallel
- Parameters:
for_write_queue (
Queue) – Input queue of files to exportstopped (
Stopped) – Stop check for processingfinished_processing (
Stopped) – Input signal that all jobs have been added and no more new ones will come intextgrid_errors (dict[str, str]) – Dictionary for storing errors encountered
arguments (
ExportTextGridArguments) – Arguments to pass to the TextGrid export functionexported_file_count (
Counter) – Counter for exported files