code: def convert_label(label):
      """
      N/NEU/P or error
      """
      if label == "N":
          return 0
      if label == "NEU":
          return 1
      if label == "P":
          return 2
      raise ValueError("Unexpected label %s" % label)
  
file_path: stanza/stanza/utils/datasets/sentiment/process_es_tass2020.py
imports: import os
  import zipfile
  import stanza
  from stanza.models.classifiers.data import SentimentDatum
  import stanza.utils.default_paths
  from stanza.utils.datasets.sentiment.process_utils import write_dataset, write_list
label_desc: Use image node_id 1 for calling a global function with example usage: convert_label(label) and returns: int, int, int