def get_sent_dict(prediction_dict):
  """"Get decontextualized sentences from a decontext label."""
  pred_sent_dict = {}
  for ex_id in prediction_dict:
    pred_sent_dict[ex_id] = get_sent(prediction_dict[ex_id])
  return pred_sent_dict
"Get decontextualized sentences from a decontext label.
language/decontext/eval_util.py