transcribe_whisper#
- scikitplot.corpus.transcribe_whisper(media_path, model_size, language, *, component, logger, strict=False, faster_model_kwargs=None, faster_transcribe_kwargs=None, include_confidence=False, report=None, policy=None, custom_backends=(), capability_registry=None)[source]#
Transcribe media with a shared, policy-driven ASR backend chain.
Preflight and execution are built from the same candidate factory. Runtime failures therefore cannot silently change the order/readiness contract that
plan_whisper_backendsreports.- Parameters:
media_path (Path)
model_size (str)
language (str | None)
component (str)
logger (Any)
strict (bool)
include_confidence (bool)
report (Callable[[BackendOutcome[list[dict[str, Any]]]], None] | None)
policy (BackendPolicy | str | Mapping[str, Any] | None)
custom_backends (Sequence[ASRBackend])
capability_registry (CapabilityRegistry | None)
- Return type: