code: def get_unicode_categories():
      cats = defaultdict(list)
      for c in map(chr, range(sys.maxunicode + 1)):
          cats[unicodedata.category(c)].append(c)
      return cats
  
imports: import re
  import sys
  import unicodedata
  from collections import defaultdict
label_desc: Use image node_id 1 for calling a global function with example usage: get_unicode_categories() and returns: cats