code: def detokenize(tokens: List[str]) -> str:
      text = " ".join(tokens)
      text = " " + text + " "
  
      for regexp, substitution in PARENS_BRACKETS:
          text = regexp.sub(substitution, text)
  
      for regexp, substitution in PUNCTUATION:
          text = regexp.sub(substitution, text)
  
      for regexp, substitution in QUOTES:
          text = regexp.sub(substitution, text)
  
      return text.strip()
  
file_path: AugLy/augly/text/augmenters/utils.py
imports: import re
  from typing import List, Optional, Tuple
  import regex
  from augly.utils.libsndfile import install_libsndfile
  from nlpaug import Augmenter
  from nlpaug.util import Method
label_desc: Use image node_id 2 for calling a global function with example usage: detokenize(tokens) and returns: text