code: def _convert_entity(m):
      if m.group(1) == "#":
          try:
              if m.group(2)[:1].lower() == "x":
                  return unichr(int(m.group(2)[1:], 16))
              else:
                  return unichr(int(m.group(2)))
          except ValueError:
              return "&#%s;" % m.group(2)
      try:
          return _HTML_UNICODE_MAP[m.group(2)]
      except KeyError:
          return "&%s;" % m.group(2)
  
file_path: catboost/contrib/python/tornado/tornado-4/tornado/escape.py
imports: from __future__ import absolute_import, division, print_function
  import json
  import re
  from tornado.util import PY3, unicode_type, basestring_type
label_desc: Use image node_id 12 for calling a global function with example usage: _convert_entity(m) and returns: _HTML_UNICODE_MAP, unknown, unichr, unichr, unknown