code: def binarize_tree(tree):
      unterminaled = remove_terminals(tree)
  
      words = unterminaled.split()
  
      tree = binarize_helper(words)
      if not valid_tree(tree):
          print("WRONG TREE")
  
      return binarize_helper(words)[0]
  
file_path: textflint/textflint/common/utils/overlap_templates.py
imports: import random
  import numpy
label_desc: Use image node_id 5 for calling a global function with example usage: binarize_tree(tree) and returns: binarize_helper