import re def tokenize(text: str) -> list[str]: return re.findall(r"[A-Za-z']+", text.lower())