code: def filenum_to_shard_51(filenum):
      if filenum >= 1 and filenum <= 815:
          return 0
      if filenum >= 1001 and filenum <= 1136:
          return 0
  
      if filenum >= 886 and filenum <= 931:
          return 1
      if filenum >= 1148 and filenum <= 1151:
          return 1
  
      if filenum >= 816 and filenum <= 885:
          return 2
      if filenum >= 1137 and filenum <= 1147:
          return 2
  
      raise ValueError("Unhandled filenum %d" % filenum)
  
file_path: stanza/stanza/utils/datasets/constituency/convert_ctb.py
imports: from enum import Enum
  import glob
  import os
  import re
  import xml.etree.ElementTree
  from stanza.models.constituency import tree_reader
  from stanza.utils.datasets.constituency.utils import write_dataset
  from stanza.utils.get_tqdm import get_tqdm
label_desc: Use image node_id 1 for calling a global function with example usage: filenum_to_shard_51(filenum) and returns: int, int, int, int, int, int