code: def short_confusion():
      """
      Same thing, but with a short name.  This should not be sorted by entity type
      """
      confusion = defaultdict(lambda: defaultdict(int))
      confusion["A"]["B-ORG"] = 1
      confusion["B-ORG"]["B-PER"] = 1
      confusion["E-ORG"]["E-ORG"] = 1
      confusion["E-ORG"]["E-PER"] = 1
      confusion["O"]["O"] = 4
      return confusion
  
file_path: stanza/stanza/tests/common/test_confusion.py
imports: from collections import defaultdict
  import pytest
  from stanza.utils.confusion import format_confusion, confusion_to_f1, confusion_to_macro_f1, confusion_to_weighted_f1
label_desc: Use image node_id 2 for calling a global function with example usage: short_confusion() and returns: confusion