class_docstr: C4 dataset based on Common Crawl.
class_docstr_tok: ["C4","dataset","based","on","Common","Crawl","."]
code: def _build_pcollection(
      self, unused_pipeline, split, pages, split_filter_fn
  ):
      beam = tfds.core.lazy_imports.apache_beam
  
      def _emit_examples(page: PageFeatures):
          c4_utils.get_counter_inc_fn(split)("examples")
          return page.url, {
              "url": page.url,
              "text": page.text,
              "content-type": page.content_type,
              "content-length": page.content_length,
              "timestamp": page.timestamp,
          }
  
      return (
          pages
          | beam.Filter(split_filter_fn)
          | beam.Map(_emit_examples)
      )
  
imports: import collections
  import functools
  import json
  import os
  from typing import Optional, Sequence
  import uuid
  from absl import logging
  from etils import epath
  from tensorflow_datasets.core.utils import tree_utils
  from tensorflow_datasets.core.utils.lazy_imports_utils import tensorflow
  import tensorflow_datasets.public_api
  from tensorflow_datasets.text import c4_utils
label_desc: Use image node_id 4 for calling the C4 obj's underlying member method code with example usage: obj._build_pcollection(unused_pipeline, split, pages, split_filter_fn) and returns: unknown, page,  dict