TranscriptionSegmenter#

class montreal_forced_aligner.vad.segmenter.TranscriptionSegmenter(acoustic_model_path=None, **kwargs)[source]#

Bases: VadConfigMixin, TranscriberMixin, SpeechbrainSegmenterMixin, TopLevelMfaWorker

export_files(output_directory, output_format=None)[source]#

Export the results of segmentation as TextGrids

Parameters:
  • output_directory (str) – Directory to save segmentation TextGrids

  • output_format (str, optional) – Format to force output files into

segment()[source]#

Performs VAD and segmentation into utterances

Raises:

KaldiProcessingError – If there were any errors in running Kaldi binaries

segment_transcript_arguments()[source]#

Generate Job arguments for SegmentTranscriptFunction

Returns:

Arguments for processing

Return type:

list[SegmentTranscriptArguments]

setup()[source]#

Setup for worker