code: def color_from_output(label_name, label):
      """Returns the correct color for a label name, like 'positive', 'medicine',
      or 'entailment'."""
      label_name = label_name.lower()
      if label_name in {"entailment", "positive"}:
          return "green"
      elif label_name in {"contradiction", "negative"}:
          return "red"
      elif label_name in {"neutral"}:
          return "gray"
      else:
          # if no color pre-stored for label name, return color corresponding to
          # the label number (so, even for unknown datasets, we can give each
          # class a distinct color)
          return color_from_label(label)
  
imports: import re
  import string
  import flair
  import jieba
  from .importing import LazyLoader
label_desc: Use image node_id 8 for calling a global function with example usage: color_from_output(label_name, label) and returns: str, str, str, color_from_label