ASRRequest#

class scikitplot.corpus.ASRRequest(media_path, model_size, language, component, include_confidence=False, allow_network=True, allow_download=True, policy_name='resilient')[source]#

Stable immutable request passed to user-provided ASR backends.

allow_network and allow_download communicate orchestration policy to trusted custom backends; they are requirements, not suggestions, when a backend declares itself offline_capable. policy_name is provenance for diagnostics and backend-specific tuning, not an authorization token.

Parameters:
  • media_path (Path)

  • model_size (str)

  • language (str | None)

  • component (str)

  • include_confidence (bool)

  • allow_network (bool)

  • allow_download (bool)

  • policy_name (str)

allow_download: bool = True#
allow_network: bool = True#
component: str[source]#
include_confidence: bool = False#
language: str | None[source]#
media_path: Path[source]#
model_size: str[source]#
policy_name: str = 'resilient'#