class_docstr: An NER visualizer that renders NER prediction as a string of HTML
  inline to any Python class Jupyter notebooks.
class_docstr_tok: ["An","NER","visualizer","that","renders","NER","prediction","as","a","string","of","HTML","inline","to","any","Python","class","Jupyter","notebooks","."]
docstr: Replace <, >, &, " with their HTML encoded representation. Intended to
  prevent HTML errors in rendered displaCy markup.
  text (str): The original text.
  RETURNS (str): Equivalent text to be safely used within HTML.
code: def escape_html(text: str) -> str:
      """Replace <, >, &, " with their HTML encoded representation. Intended to
      prevent HTML errors in rendered displaCy markup.
      text (str): The original text.
      RETURNS (str): Equivalent text to be safely used within HTML.
      """
      text = text.replace("&", "&amp;")
      text = text.replace("<", "&lt;")
      text = text.replace(">", "&gt;")
      text = text.replace('"', "&quot;")
      return text
  
imports: import collections
  import colorsys
  import logging
  import re
  from enum import Enum, unique
  from typing import List
  import matplotlib
  import matplotlib.colors
  import matplotlib.figure
  import matplotlib.pyplot
  import numpy
  import pandas
  from matplotlib.backends.backend_agg import FigureCanvasAgg
  from PIL import Image
  from .colormap import random_color
  from .misc import merge_spans
label_desc: Use image node_id 2 for calling the NERVisualizer obj's underlying member method code with example usage: obj.escape_html(text) and returns: text