code: def get_tokenized_phrases(in_directory):
      phrases = get_phrases(in_directory)
      phrases = process_utils.get_ptb_tokenized_phrases(phrases)
      print("Found %d phrases in slsd" % len(phrases))
      return phrases
  
imports: import os
  import sys
  from stanza.models.classifiers.data import SentimentDatum
  import stanza.utils.datasets.sentiment.process_utils
label_desc: Use image node_id 2 for calling a global function with example usage: get_tokenized_phrases(in_directory) and returns: phrases