code: def _unescape(text):
      """Unescape unicode character codes within a string."""
      pattern = r"\\{1,2}u[0-9a-fA-F]{4}"
      return re.sub(
          pattern,
          lambda x: codecs.getdecoder("unicode_escape")(x.group())[0],
          text,
      )
  
file_path: TextBlob/textblob/translate.py
imports: from __future__ import absolute_import
  import codecs
  import json
  import re
  from textblob.compat import PY2, request, urlencode
  from textblob.exceptions import TranslatorError, NotTranslated
label_desc: Use image node_id 1 for calling a global function with example usage: _unescape(text) and returns: re