class_docstr: DatasetBuilder for tatoeba dataset.
class_docstr_tok: ["DatasetBuilder","for","tatoeba","dataset","."]
docstr: Yields examples.
docstr_tok: ["Yields","examples","."]
code: def _generate_examples(self, source_file, target_file):
      """Yields examples."""
      source_sentences = []
      target_sentences = []
      with tf.io.gfile.GFile(source_file, "rb") as f1:
          for row in f1:
              source_sentences.append(row)
      with tf.io.gfile.GFile(target_file, "rb") as f2:
          for row in f2:
              target_sentences.append(row)
      for i in range(len(source_sentences)):
          yield i, {
              "source_sentence": source_sentences[i],
              "target_sentence": target_sentences[i],
              "source_language": self.builder_config.language,
              "target_language": "en",
          }
  
file_path: datasets/tensorflow_datasets/datasets/tatoeba/tatoeba_dataset_builder.py
imports: import os
  from tensorflow_datasets.core.utils.lazy_imports_utils import tensorflow
  import tensorflow_datasets.public_api
label_desc: Use image node_id 3 for calling the Builder obj's underlying member method code with example usage: obj._generate_examples(source_file, target_file) without return types