code: def main():
      """
      Convert a sample tree and print its transitions
      """
      text = "( (SBARQ (WHNP (WP Who)) (SQ (VP (VBZ sits) (PP (IN in) (NP (DT this) (NN seat))))) (. ?)))"
      # text = "(WP Who)"
  
      tree = read_trees(text)[0]
  
      print(tree)
      transitions = build_sequence(tree)
      print(transitions)
  
file_path: stanza/stanza/models/constituency/transition_sequence.py
imports: import logging
  from stanza.models.common import utils
  from stanza.models.constituency.parse_transitions import Shift, CompoundUnary, OpenConstituent, CloseConstituent, TransitionScheme, Finalize
  from stanza.models.constituency.tree_reader import read_trees
  from stanza.utils.get_tqdm import get_tqdm
label_desc: Use image node_id 8 for calling a global function with example usage: main() without return types