code: def get_table_text(
      self, text: str, doc_offsets: t.List[t.Dict[str, int]]
  ) -> str:
      for c in doc_offsets:
          assert c["end"] <= len(
              text
          ), "Table offsets must exist within document."
      return "\n".join(text[c["start"] : c["end"]] for c in doc_offsets)
  
imports: import copy
  import functools
  import os
  import tempfile
  import typing
  import sys
  from finetune.base_models import TableRoBERTa
  from finetune.util.metrics import sequences_overlap
  from finetune.scheduler import Scheduler
  from finetune.encoding.input_encoder import BaseEncoder
  from finetune import SequenceLabeler
label_desc: Use image node_id 3 for calling the TableETL obj's underlying member method code with example usage: obj.get_table_text(text, doc_offsets) and returns: str