code: def _print_top_wer_utts(top_non_empty, top_empty, file=sys.stdout):
      print("=" * 80, file=file)
      print("UTTERANCES WITH HIGHEST WER", file=file)
      if top_non_empty:
          print(
              "Non-empty hypotheses -- utterances for which output was produced:",
              file=file,
          )
          for dets in top_non_empty:
              print("{key} %WER {WER:.2f}".format(**dets), file=file)
      else:
          print("No utterances which had produced output!", file=file)
      if top_empty:
          print(
              "Empty hypotheses -- utterances for which no output was produced:",
              file=file,
          )
          for dets in top_empty:
              print("{key} %WER {WER:.2f}".format(**dets), file=file)
      else:
          print(
              "No utterances which had not produced output!", file=file
          )
  
file_path: speechbrain/speechbrain/dataio/wer.py
imports: import sys
  from speechbrain.utils import edit_distance
label_desc: Use image node_id 3 for calling a global function with example usage: _print_top_wer_utts(top_non_empty, top_empty, file) without return types