class_docstr: Builder for WordNet dataset.
docstr: Yields examples.
docstr_tok: ["Yields","examples","."]
code: def _generate_examples(self, triplets_path):
      """Yields examples."""
      with epath.Path(triplets_path).open() as f:
          for i, line in enumerate(f):
              lhs, relation, rhs = line.strip().split("\t")
              yield i, {"lhs": lhs, "relation": relation, "rhs": rhs}
  
file_path: datasets/tensorflow_datasets/text/wordnet.py
imports: import os
  from etils import epath
  import tensorflow_datasets.public_api
label_desc: Use image node_id 3 for calling the Wordnet obj's underlying member method code with example usage: obj._generate_examples(triplets_path) without return types