code: def get_phrases(dataset, treebank_file, input_dir):
      extra_args = ARGUMENTS[dataset]
  
      input_file = os.path.join(input_dir, "fiveclass", treebank_file)
      if not os.path.exists(input_file):
          raise FileNotFoundError(input_file)
      phrases = get_subtrees(input_file, *extra_args)
      print(
          "Found {} phrases in SST {} {}".format(
              len(phrases), treebank_file, dataset
          )
      )
      return phrases
  
file_path: stanza/stanza/utils/datasets/sentiment/process_sst.py
imports: import argparse
  import os
  import subprocess
  from stanza.models.classifiers.data import SentimentDatum
  import stanza.utils.datasets.sentiment.process_utils
  import stanza.utils.default_paths
label_desc: Use image node_id 2 for calling a global function with example usage: get_phrases(dataset, treebank_file, input_dir) and returns: phrases