simulstream.metrics.scorers.quality.QualityScoringSample

class simulstream.metrics.scorers.quality.QualityScoringSample(audio_name: str, hypothesis: str, reference: List[str] | None = None, source: List[str] | None = None)

Bases: object

Data structure representing a single evaluation sample.

audio_name

The identifier of the audio file.

Type:

str

hypothesis

The system-generated hypothesis text.

Type:

str

reference

One or more reference translations, or None if not required.

Type:

Optional[List[str]]

source

The source transcription or text, or None if not required.

Type:

Optional[List[str]]

__init__(audio_name: str, hypothesis: str, reference: List[str] | None = None, source: List[str] | None = None) None

Methods

__init__(audio_name, hypothesis[, ...])

Attributes

reference

source

audio_name

hypothesis