def _get_labels(frame: str) -> Set[str]:
  """Returns the set of all intent and slot labels."""
  for separator in ["-", ".", ","]:
    frame = frame.replace(separator, " ")
  return set(frame.strip().split())
Returns the set of all intent and slot labels.
language/casper/evaluate/evaluate_retrieval.py