from typing import List
import re


def _process_attempt(attempt: str) -> List[str]:
  """Converts attempt to a list of words."""
  words = [x for x in re.split('[^a-z]', attempt.lower()) if len(x) > 0]
  return words