code: def evaluate(true_seqs, pred_seqs, verbose=True):
      (
          correct_chunks,
          true_chunks,
          pred_chunks,
          correct_counts,
          true_counts,
          pred_counts,
      ) = count_chunks(true_seqs, pred_seqs)
      result = get_result(
          correct_chunks,
          true_chunks,
          pred_chunks,
          correct_counts,
          true_counts,
          pred_counts,
          verbose=verbose,
      )
      return result
  
file_path: graph4nlp/examples/pytorch/name_entity_recognition/conlleval.py
imports: from __future__ import division, print_function, unicode_literals
  import sys
  from collections import defaultdict
label_desc: Use image node_id 7 for calling a global function with example usage: evaluate(true_seqs, pred_seqs, verbose) and returns: result