code: def paragraph_filter(
      page, min_paragraphs=3, min_paragraph_len=200, line_delimiter="\n"
  ):
      """Returns False iff a page has too few or too short paragraphs."""
      lines = page.text.split(line_delimiter)
      # Filter out docs that don't have at least three "paragraphs"
      # (lines >= `min_paragraph_len` chars).
      if (
          len(lines) < min_paragraphs
          or min(heapq.nlargest(3, [len(l) for l in lines]))
          < min_paragraph_len
      ):
          get_counter_inc_fn("paragraph-filter")("filtered")
          return False
      get_counter_inc_fn("paragraph-filter")("passed")
      return True
  
imports: import dataclasses
  import functools
  import gzip
  import hashlib
  import heapq
  import io
  import re
  import threading
  from typing import Collection, Iterable, Mapping, Optional, Sequence, Tuple
  from absl import logging
  from tensorflow_datasets.core.utils.lazy_imports_utils import tensorflow
  import tensorflow_datasets.public_api
label_desc: Use image node_id 20 for calling a global function with example usage: paragraph_filter(page, min_paragraphs, min_paragraph_len, line_delimiter) and returns: True, False