code: def convert_it_vit(paths, dataset_name, debug_sentence=None):
      """
      Read the trees, then write them out to the expected output_directory
      """
      train_trees, dev_trees, test_trees = read_updated_trees(
          paths, debug_sentence
      )
  
      train_trees = [x.tree for x in train_trees]
      dev_trees = [x.tree for x in dev_trees]
      test_trees = [x.tree for x in test_trees]
  
      output_directory = paths["CONSTITUENCY_DATA_DIR"]
      write_dataset(
          [train_trees, dev_trees, test_trees],
          output_directory,
          dataset_name,
      )
  
imports: from collections import defaultdict, deque, namedtuple
  import itertools
  import os
  import re
  import sys
  from tqdm import tqdm
  from stanza.models.constituency.tree_reader import read_trees, UnclosedTreeError, ExtraCloseTreeError
  from stanza.server import tsurgeon
  from stanza.utils.conll import CoNLL
  from stanza.utils.datasets.constituency.utils import SHARDS, write_dataset
  import stanza.utils.default_paths
label_desc: Use image node_id 13 for calling a global function with example usage: convert_it_vit(paths, dataset_name, debug_sentence) without return types