code: def read_split(input_dir, section):
      """
      Reads the split description for train, dev, or test
  
      Format (at least for the Myanmar section of ALT) is:
        one description per line
        each line is URL.<number> <URL>
        we actually don't care about the URL itself
        all we want is the number, which we use to split up
        the tree file later
  
      Returns a set of numbers (as strings)
      """
      urls = set()
      filename = os.path.join(
          input_dir, "myanmar", "my_alt", "URL-%s.txt" % section
      )
      with open(filename) as fin:
          lines = fin.readlines()
      for line in lines:
          line = line.strip()
          if not line or not line.startswith("URL"):
              continue
          # split into URL.100161 and a bunch of description we don't care about
          line = line.split(maxsplit=1)
          # get just the number
          line = line[0].split(".")
          assert len(line) == 2
          assert line[0] == "URL"
          urls.add(line[1])
      return urls
  
file_path: stanza/stanza/utils/datasets/tokenization/convert_my_alt.py
imports: import os
  import random
  from stanza.models.constituency.tree_reader import read_trees
label_desc: Use image node_id 1 for calling a global function with example usage: read_split(input_dir, section) and returns: urls