class_docstr: Natural Questions: A Benchmark for Question Answering Research.
class_docstr_tok: ["Natural","Questions",":","A","Benchmark","for","Question","Answering","Research","."]
docstr: Build PCollection of examples.
docstr_tok: ["Build","PCollection","of","examples","."]
code: def _build_pcollection(self, pipeline, filepaths):
      """Build PCollection of examples."""
      beam = tfds.core.lazy_imports.apache_beam
  
      parse_example = {
          "default": self._parse_example_default,
          "longt5": self._parse_example_longt5,
      }[self.builder_config.name]
  
      return (
          pipeline
          | beam.Create([os.fspath(f) for f in filepaths])
          | beam.io.ReadAllFromText()
          | beam.Map(parse_example)
      )
  
file_path: datasets/tensorflow_datasets/datasets/natural_questions/natural_questions_dataset_builder.py
imports: import html
  import json
  import os
  import re
  from typing import Optional
  import numpy
  import tensorflow_datasets.public_api
label_desc: Use image node_id 5 for calling the Builder obj's underlying member method code with example usage: obj._build_pcollection(pipeline, filepaths) and returns: unknown