espnet.nets.pytorch_backend.transducer.utils.recombine_hyps
Less than 1 minute
espnet.nets.pytorch_backend.transducer.utils.recombine_hyps
espnet.nets.pytorch_backend.transducer.utils.recombine_hyps(hyps: List[Hypothesis]) → List[Hypothesis]
Recombine hypotheses with same label ID sequence.
- Parameters:hyps – Hypotheses.
- Returns: Recombined hypotheses.
- Return type: final