code: def _remove_boring_lines(text):
      """Remove lines that do not start with a letter or a quote.
  
      From inspecting the data, this seems to leave in most prose and remove
      most weird stuff.
  
      Args:
        text: a string
      Returns:
        a string
      """
      lines = text.split("\n")
      filtered = [
          line for line in lines if re.match("[a-zA-z\"']", line)
      ]
      return "\n".join(filtered)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import math
  import os
  import random
  import re
  import subprocess
  from tensor2tensor.data_generators import generator_utils
  from tensor2tensor.data_generators import text_encoder
  import tensorflow.compat.v1
label_desc: Use image node_id 17 for calling a global function with example usage: _remove_boring_lines(text) and returns: str