asr_segment_metadata#

scikitplot.corpus.asr_segment_metadata(segment)[source]#

Return user/backend metadata without allowing core-field shadowing.

Custom ASR backends may attach provider-specific information to a segment. The reader stores those values under asr_metadata rather than merging arbitrary keys into the raw-chunk namespace, where names such as source_type or section_type could otherwise override reader-owned provenance.

Parameters:

segment (Mapping[str, Any])

Return type:

dict[str, Any]