code: def convert_bracket(text):
      text = add_space(text)
      for start in [type_start]:
          text = text.replace(start, left_bracket)
      for end in [type_end]:
          text = text.replace(end, right_bracket)
      return text
  
imports: from collections import Counter
  import logging
  from nltk.tree import ParentedTree
  import re
  from typing import Tuple, List, Dict
  from ...extraction.constants import null_span, type_start, type_end, span_start
  from ...extraction.predict_parser.predict_parser import PredictParser
  from ...extraction.predict_parser.utils import fix_unk_from_text
label_desc: Use image node_id 2 for calling a global function with example usage: convert_bracket(text) and returns: text