class_docstr: The element types for Tesseract Detection API
class_docstr_tok: ["The","element","types","for","Tesseract","Detection","API"]
code: def attr_name(self):
      name_cvt = {
          TesseractFeatureType.PAGE: "page_num",
          TesseractFeatureType.BLOCK: "block_num",
          TesseractFeatureType.PARA: "par_num",
          TesseractFeatureType.LINE: "line_num",
          TesseractFeatureType.WORD: "word_num",
      }
      return name_cvt[self]
  
file_path: layout-parser/src/layoutparser/ocr/tesseract_agent.py
imports: import io
  import csv
  import pickle
  import pandas
  from .base import BaseOCRAgent, BaseOCRElementType
  from ..io import load_dataframe
  from ..file_utils import is_pytesseract_available
label_desc: Use image node_id 1 for calling the TesseractFeatureType obj's underlying member method code with example usage: obj.attr_name() and returns: name_cvt