code: def pretty(value):
      """Optional pretty printing helper for detokenized inputs.
  
      Makes any text delimiter regex specified in `--delimiters` bold in textual
      output.
  
      Args:
        value: string representing the detokenized output
  
      Returns:
        a string with appropriate styling applied
      """
      if not FLAGS.pretty or not FLAGS.detokenize:
          return value
      combined_matcher = re.compile(f"({'|'.join(FLAGS.delimiters)})")
      return combined_matcher.sub("\u001b[1m\\1\u001b[0m", value)
  
file_path: text-to-text-transfer-transformer/t5/scripts/dump_task.py
imports: import importlib
  import re
  from absl import app
  from absl import flags
  import gin
  import seqio
  import tensorflow.compat.v1
label_desc: Use image node_id 2 for calling a global function with example usage: pretty(value) and returns: combined_matcher, value