tool¶
transcription tool.
Classes
Base class for transcription tools. |
- class TranscriptionTool(device, overwrite=False, verbose=True)[source]¶
Bases:
Tool
Base class for transcription tools.
- Parameters:
device (str)
overwrite (bool)
verbose (bool | int)
- enhance(transcription_path, diarization_path, identification_path, enhanced_transcription_path)[source]¶
Enhances an audio transcription by fusing the transcribed audio with inferred speaker diarization and identification.
- Parameters:
transcription_path (
Union
[str
,Path
]) – Path to the transcription file.diarization_path (
Union
[str
,Path
]) – Path to the diarization file.identification_path (
Union
[str
,Path
]) – Path to the identification file.enhanced_transcription_path (
Union
[str
,Path
]) – Path to the enhanced diarization file.
- Returns: