simulstream.metrics.scorers.latency.LatencyScoringSample

class simulstream.metrics.scorers.latency.LatencyScoringSample(audio_name: str, hypothesis: OutputWithDelays, reference: List[ReferenceSentenceDefinition] | None = None)

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 sentences, including the text, start time and duration, or None if not required.

Type:

Optional[List[ReferenceSentenceDefinition]]