hypotheses (list[str]) – Hypotheses.
expected_scores (Tensor) – The expected scores for each hypothesis.
nbest (int) – Return the n-best hypotheses based on the selection rule.
source (str, optional) – A source.
maximize (bool) – Whether maximize the scores or not.