class_docstr: Tree Edit Distance basead Similarity
      
class_docstr_tok: ["Tree","Edit","Distance","basead","Similarity"]
docstr: Computes TEDS score between the prediction and the ground truth of
  a batch of samples
docstr_tok: ["Computes","TEDS","score","between","the","prediction","and","the","ground","truth","of","a","batch","of","samples"]
code: def batch_evaluate_html(self, pred_htmls, true_htmls):
      """Computes TEDS score between the prediction and the ground truth of
      a batch of samples
      """
      if self.n_jobs == 1:
          scores = [
              self.evaluate(pred_html, true_html)
              for (pred_html, true_html) in zip(pred_htmls, true_htmls)
          ]
      else:
          inputs = [
              {"pred": pred_html, "true": true_html}
              for (pred_html, true_html) in zip(pred_htmls, true_htmls)
          ]
  
          scores = parallel_process(
              inputs,
              self.evaluate,
              use_kwargs=True,
              n_jobs=self.n_jobs,
              front_num=1,
          )
      return scores
  
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 6 for calling the TEDS obj's underlying member method code with example usage: obj.batch_evaluate_html(pred_htmls, true_htmls) and returns: scores