espnet2.legacy.nets.pytorch_backend.transducer.utils.recombine_hyps
Less than 1 minute
espnet2.legacy.nets.pytorch_backend.transducer.utils.recombine_hyps
espnet2.legacy.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
