code: def main(in_directory, out_directory, short_name):
      phrases = get_tokenized_phrases(in_directory)
      process_utils.write_list(
          os.path.join(out_directory, "%s.train.json" % short_name),
          phrases,
      )
  
file_path: stanza/stanza/utils/datasets/sentiment/process_arguana_xml.py
imports: from collections import namedtuple
  import glob
  import os
  import sys
  import xml.etree.ElementTree
  from stanza.models.classifiers.data import SentimentDatum
  import stanza.utils.datasets.sentiment.process_utils
label_desc: Use image node_id 4 for calling a global function with example usage: main(in_directory, out_directory, short_name) without return types