code: def split_treebank(treebank, train_size, dev_size):
      """
      Split a treebank deterministically
      """
      train_end = int(len(treebank) * train_size)
      dev_end = int(len(treebank) * (train_size + dev_size))
      return (
          treebank[:train_end],
          treebank[train_end:dev_end],
          treebank[dev_end:],
      )
  
imports: import os
  from stanza.models.constituency import parse_tree
label_desc: Use image node_id 2 for calling a global function with example usage: split_treebank(treebank, train_size, dev_size) and returns: treebank,  treebank,  treebank