espnet.mt.mt_utils.add_results_to_json
Less than 1 minute
espnet.mt.mt_utils.add_results_to_json
espnet.mt.mt_utils.add_results_to_json(js, nbest_hyps, char_list)
Add N-best results to json.
- Parameters:
- js (dict) – groundtruth utterance dict
- nbest_hyps (list) – list of hypothesis
- char_list (list) – list of characters
- Returns: N-best results added utterance dict