code: def get_phrases(in_filename):
      """
      Get the phrases from a single CSV filename
      """
      with open(
          in_filename, newline="", encoding="windows-1252"
      ) as fin:
          cin = csv.reader(fin, delimiter=",", quotechar='"')
          lines = list(cin)
  
      phrases = []
      for line in lines[1:]:
          sentiment = line[4]
          if sentiment == "negative":
              sentiment = "0"
          elif sentiment == "neutral":
              sentiment = "1"
          elif sentiment == "positive":
              sentiment = "2"
          else:
              raise ValueError(
                  "Unknown sentiment: {}".format(sentiment)
              )
          utterance = line[1].replace("Â", "")
          phrases.append(SentimentDatum(sentiment, utterance))
      return phrases
  
imports: import csv
  import os
  import sys
  from stanza.models.classifiers.data import SentimentDatum
  import stanza.utils.datasets.sentiment.process_utils
label_desc: Use image node_id 1 for calling a global function with example usage: get_phrases(in_filename) and returns: phrases