class_docstr: FUNSD Text Detection Annotation Parser. See
  dataset_zoo/funsd/sample_anno.md for annotation example.
  
  Args:
      nproc (int): The number of processes to parse the annotation. Defaults
          to 1.
code: def loader(self, file_path: str):
      with open(file_path, "r") as f:
          data = json.load(f)
          for form in data["form"]:
              for word in form["words"]:
                  poly = bbox2poly(word["box"]).tolist()
                  text = word["text"]
                  ignore = len(text) == 0
                  yield poly, text, ignore
  
file_path: mmocr/mmocr/datasets/preparers/parsers/funsd_parser.py
imports: import json
  from typing import Tuple
  from mmocr.registry import DATA_PARSERS
  from mmocr.utils import bbox2poly
  from .base import BaseParser
label_desc: Use image node_id 2 for calling the FUNSDTextDetAnnParser obj's underlying member method code with example usage: obj.loader(file_path) without return types