simulstream.metrics.scorers.latency.mwersegmenter.ResegmentedLatencyScoringSample

class simulstream.metrics.scorers.latency.mwersegmenter.ResegmentedLatencyScoringSample(audio_name: str, hypothesis: List[OutputWithDelays], reference: List[ReferenceSentenceDefinition])

A sample containing realigned hypotheses and references.

audio_name

The identifier of the audio file.

Type:

str

hypothesis

Hypothesis lines after realignment.

Type:

List[str]

reference

Reference lines aligned to the hypothesis.

Type:

List[str]