class_docstr: A document parser parsed html file and conduct spelling check
  and grammar check.
class_docstr_tok: ["A","document","parser","parsed","html","file","and","conduct","spelling","check","and","grammar","check","."]
code: def __init__(self):
      HTMLParser.__init__(self)
      self.__spell_check_res = {}
      self.__grammar_check_res = None
      self.__ignore_tag = False
      self.__is_code_block = False
      self.__in_code_block = False
      self.__dictionary = enchant.DictWithPWL(
          "en_US", "web-data/mxnet/doc/ignored_words.txt"
      )
      self.__spell_checker = SpellChecker(self.__dictionary)
      self.__parsed_content = ""
      self.__grammar_checker = grammar_check.LanguageTool("en-US")
  
file_path: mxnet/tests/nightly/TestDoc/doc_spell_checker.py
imports: from __future__ import print_function
  import os
  import sys
  import re
  from HTMLParser import HTMLParser
  import enchant
  from enchant.checker import SpellChecker
  import grammar_check
  import html2text
label_desc: Use image node_id 1 to create a new DocParser object from inherited base classes: HTMLParser with example: obj = DocParser()