code: def process_vlsp09(paths, dataset_name, *args):
      """
      Processes the VLSP 2009 dataset, discarding or fixing trees when needed
      """
      assert dataset_name == "vi_vlsp09"
      vlsp_path = os.path.join(
          paths["CONSTITUENCY_BASE"],
          "vietnamese",
          "VietTreebank_VLSP_SP73",
          "Kho ngu lieu 10000 cay cu phap",
      )
      with tempfile.TemporaryDirectory() as tmp_output_path:
          vtb_convert.convert_dir(vlsp_path, tmp_output_path)
          vtb_split.split_files(
              tmp_output_path,
              paths["CONSTITUENCY_DATA_DIR"],
              dataset_name,
          )
  
imports: import argparse
  import os
  import random
  import sys
  import tempfile
  from tqdm import tqdm
  from stanza.models.constituency import parse_tree
  import stanza.utils.default_paths
  from stanza.models.constituency import tree_reader
  from stanza.models.constituency.parse_tree import Tree
  from stanza.server import tsurgeon
  from stanza.utils.datasets.constituency import utils
  from stanza.utils.datasets.constituency.convert_alt import convert_alt
  from stanza.utils.datasets.constituency.convert_arboretum import convert_tiger_treebank
  from stanza.utils.datasets.constituency.convert_cintil import convert_cintil_treebank
  import stanza.utils.datasets.constituency.convert_ctb
  from stanza.utils.datasets.constituency.convert_it_turin import convert_it_turin
  from stanza.utils.datasets.constituency.convert_it_vit import convert_it_vit
  from stanza.utils.datasets.constituency.convert_starlang import read_starlang
  from stanza.utils.datasets.constituency.utils import SHARDS, write_dataset
  import stanza.utils.datasets.constituency.vtb_convert
  import stanza.utils.datasets.constituency.vtb_split
label_desc: Use image node_id 3 for calling a global function with example usage: process_vlsp09(paths, dataset_name) without return types