ldc_bpcsad.io.load_rttm_file

ldc_bpcsad.io.load_rttm_file(fpath)[source]

Load speech segments from Rich Transcription Time Marked (RTTM) file.

NOTE that this will load ALL segments in the file, regardless of recording, channel, or speaker.

Parameters:

fpath (pathlib.Path) – Path to file in RTTM file format.

Returns:

Speech segments.

Return type:

List[Segment]

References