code: def get_metrics(num_correct, num_gt, num_pred):
      precision = safe_divide([num_correct], [num_pred])
      recall = safe_divide([num_correct], [num_gt])
      fscore = safe_divide(
          [2 * precision * recall], [(precision + recall)]
      )
      return precision[0], recall[0], fscore[0][0]
  
file_path: espnet/egs2/slue-voxpopuli/asr1/local/eval_utils.py
imports: from collections import defaultdict
  from typing import List
  import editdistance
  import numpy
label_desc: Use image node_id 5 for calling a global function with example usage: get_metrics(num_correct, num_gt, num_pred) and returns: precision,  recall,  fscore