code: def test_read_vi_tree():
      """
      Test that an individual tree with spaces in the leaves is being processed as we expect
      """
      text = VI_TREEBANK.split("\n")[0]
      trees = tree_reader.read_trees(text)
      assert len(trees) == 1
      assert str(trees[0]) == text
      # this is the first NP
      #   the third node of that NP, eg (Np Đài Loan)
      node = trees[0].children[0].children[0].children[2]
      assert node.is_preterminal()
      assert node.children[0].label == "Đài Loan"
  
file_path: stanza/stanza/tests/constituency/test_vietnamese.py
imports: import os
  import tempfile
  import pytest
  from stanza.models.common import pretrain
  from stanza.models.constituency import tree_reader
  from stanza.tests.constituency.test_trainer import build_trainer
label_desc: Use image node_id 1 for calling a global function with example usage: test_read_vi_tree() without return types