def _load_examples(filename):
  """Loads raw examples from original data file."""
  examples = []
  with gfile.GFile(filename, "r") as input_file:
    for line in input_file:
      splits = line.split("OUT:")
      input_string = splits[0][3:].strip()
      output_string = splits[1].strip()

      examples.append(Example(input_string, output_string))
  return examples
Loads raw examples from original data file.
language/compir/utils/io_utils.py