class_docstr: Tree Edit Distance basead Similarity
      
class_docstr_tok: ["Tree","Edit","Distance","basead","Similarity"]
docstr: Converts HTML tree to the format required by apted
          
docstr_tok: ["Converts","HTML","tree","to","the","format","required","by","apted"]
code: def load_html_tree(self, node, parent=None):
      """Converts HTML tree to the format required by apted"""
      global __tokens__
      if node.tag == "td":
          if self.structure_only:
              cell = []
          else:
              self.__tokens__ = []
              self.tokenize(node)
              cell = self.__tokens__[1:-1].copy()
          new_node = TableTree(
              node.tag,
              int(node.attrib.get("colspan", "1")),
              int(node.attrib.get("rowspan", "1")),
              cell,
              *deque(),
          )
      else:
          new_node = TableTree(node.tag, None, None, None, *deque())
      if parent is not None:
          parent.children.append(new_node)
      if node.tag != "td":
          for n in node.getchildren():
              self.load_html_tree(n, new_node)
      if parent is None:
          return new_node
  
imports: from rapidfuzz.distance import Levenshtein
  from apted import APTED, Config
  from apted.helpers import Tree
  from lxml import etree, html
  from collections import deque
  from .parallel import parallel_process
  from tqdm import tqdm
label_desc: Use image node_id 3 for calling the TEDS obj's underlying member method code with example usage: obj.load_html_tree(node, parent) and returns: new_node