espnet2.fileio.rttm.load_rttm_text
Less than 1 minute
espnet2.fileio.rttm.load_rttm_text
espnet2.fileio.rttm.load_rttm_text(path: Path | str) → Dict[str, Tuple[List[str], List[Tuple[str, int, int]], int]]
Read a RTTM file
Note: only support speaker information now
- Returns: A dict mapping each utterance ID to (speaker IDs, [(speaker ID, start, end), …], length given by its END line).
