class_docstr: Simple subclass of :class:`html.parser.HTMLParser` to collect data elements
  (non-tag, -comment, -pi, etc. elements) fed to the parser, then make them
  available as stripped, concatenated text via :meth:`HTMLTextExtractor.get_text()`.
  
  Note:
      Users probably shouldn't deal with this class directly;
      instead, use `:func:`remove.remove_html_tags()`.
class_docstr_tok: ["Simple","subclass","of",":","class",":","`","html.parser.HTMLParser","`","to","collect","data","elements","(","non-tag",",","-comment",",","-pi",",","etc",".","elements",")","fed","to","the","parser",",","then","make","them","available","as","stripped",",","concatenated","text","via",":","meth",":","`","HTMLTextExtractor.get_text","(",")","`",".","Note",":","Users","probably","should","n't","deal","with","this","class","directly",";","instead",",","use","`",":","func",":","`","remove.remove_html_tags","(",")","`","."]
code: def __init__(self):
      super().__init__()
      self.data = []
  
file_path: textacy/src/textacy/preprocessing/resources.py
imports: import functools
  import html.parser
  import re
  import sys
  import unicodedata
  from typing import Any, Pattern
label_desc: Use image node_id 1 to create a new HTMLTextExtractor object from inherited base classes: html.parser with example: obj = HTMLTextExtractor()