def candidates_iter(json_dict):
  """Yields the candidates that should not be skipped in an example."""
  for idx, cand in enumerate(json_dict["passage_answer_candidates"]):
    yield idx, cand
Yields the candidates that should not be skipped in an example.
language/canine/tydiqa/data.py