code: def test_replace_words():
      text = "(ROOT (SBARQ (WHNP (WP Who)) (SQ (VP (VBZ sits) (PP (IN in)))) (. ?)))"
      expected = "(ROOT (SBARQ (WHNP (WP unban)) (SQ (VP (VBZ mox) (PP (IN opal)))) (. ?)))"
      new_words = ["unban", "mox", "opal", "?"]
  
      trees = tree_reader.read_trees(text)
      assert len(trees) == 1
      tree = trees[0]
      new_tree = tree.replace_words(new_words)
      assert expected == str(new_tree)
  
imports: import pytest
  from stanza.models.constituency.parse_tree import Tree
  from stanza.models.constituency import tree_reader
  from stanza.tests import *
label_desc: Use image node_id 14 for calling a global function with example usage: test_replace_words() without return types