Load audio files and transcripts from the dataset. Returns: Tuple[list, list]: A tuple containing: - List of audio file paths or AudioSegment objects - List of corresponding transcript strings Raises: NotImplementedError: If n
(self)
| 304 | |
| 305 | @abstractmethod |
| 306 | def load(self) -> Tuple[list, list]: |
| 307 | """Load audio files and transcripts from the dataset. |
| 308 | |
| 309 | Returns: |
| 310 | Tuple[list, list]: A tuple containing: |
| 311 | - List of audio file paths or AudioSegment objects |
| 312 | - List of corresponding transcript strings |
| 313 | |
| 314 | Raises: |
| 315 | NotImplementedError: If not implemented by concrete subclass |
| 316 | """ |
| 317 | pass |
| 318 | |
| 319 | |
| 320 | class LibrispeechLoader(BaseDatasetLoader): |
nothing calls this directly
no outgoing calls
no test coverage detected