code: def general_detokenize(string):
      string = string.replace(" n't", "n't")
      string = string.replace(" )", ")")
      string = string.replace("( ", "(")
      string = string.replace('" ', '"')
      string = string.replace(' "', '"')
      string = re.sub(r" (['.,])", r"\1", string)
      return string
  
imports: import os
  import pathlib
  import re
  import collections
  import functools
  import inspect
  import sys
  from typing import List, Union
  import torch
  from omegaconf import OmegaConf
  import sacrebleu
  from rouge_score import rouge_scorer, scoring
label_desc: Use image node_id 6 for calling a global function with example usage: general_detokenize(string) and returns: string