code: def process_ctb_51(paths, dataset_name, *args):
      lang, source = dataset_name.split("_", 1)
      assert lang == "zh-hans"
      assert source == "ctb-51"
  
      input_dir = os.path.join(
          paths["CONSTITUENCY_BASE"],
          "chinese",
          "LDC2005T01U01_ChineseTreebank5.1",
          "bracketed",
      )
      output_dir = paths["CONSTITUENCY_DATA_DIR"]
      convert_ctb.convert_ctb(
          input_dir, output_dir, dataset_name, convert_ctb.Version.V51
      )
  
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 11 for calling a global function with example usage: process_ctb_51(paths, dataset_name) without return types