class_docstr: Record for converting generated string to information record <type, span>
      
class_docstr_tok: ["Record","for","converting","generated","string","to","information","record","<","type",",","span",">"]
code: def to_string(pred_record_list):
      entity_list = list()
      for pred_record in pred_record_list:
          record_type, record_text = (
              pred_record["type"],
              pred_record["text"],
          )
          if record_text == "":
              logger.warning(f"Empty Extraction {pred_record}")
              continue
          entity_list += [(record_type, record_text)]
      return entity_list
  
imports: from asyncio.log import logger
  import sys
  from typing import Tuple
  import numpy
  import logging
label_desc: Use image node_id 1 for calling the EntityRecord obj's underlying member method code with example usage: obj.to_string(pred_record_list) and returns: entity_list