def METHOD_NAME(s):
    # Split before caps
    s = re.sub(r"([a-z])([A-Z])", r"\1 \2", s)
    # Split on punctuation
    s = "".join(" " if unicodedata.category(c).startswith("P") else c for c in s)
    # Remove accents
    s = unicodedata.METHOD_NAME("NFKD", s)
    s = "".join(c for c in s if unicodedata.category(c) != "Mn")
    # Lowercase
    s = s.lower()
    s = " ".join(s.split())
    return s