code: def _bigpatent_remove_tables(sentences):
      """Remove Tables from description text."""
      # Remove tables from text
      new_sentences = []
      i = 0
      table_start = 0
      # A table header will be a line starting with "TABLE" after zero or more
      # whitespaces, followed by an integer.
      # After the integer, the line ends, or is followed by whitespace and
      # description.
      while i < len(sentences):
          sentence = sentences[i]
          if table_start == 0:
              # Not inside a table
              # Check if it's start of a table
              if _TABLE_HEADER.match(sentence):
                  table_start = 1
              else:
                  new_sentences.append(sentence)
  
          elif table_start == 1:
              words = sentence.strip("\t").split(" ")
              num_eng = 0
              for w in words:
                  if not w.isalpha():
                      continue
                  if w in _get_english_words():
                      num_eng += 1
                      if num_eng > 20:
                          # Table end condition
                          table_start = 0
                          new_sentences.append(sentence)
                          break
          i += 1
      return new_sentences
  
imports: import json
  import os
  import re
  from etils import epath
  import tensorflow_datasets.public_api
label_desc: Use image node_id 6 for calling a global function with example usage: _bigpatent_remove_tables(sentences) and returns: new_sentences