import re
import unicodedata


def normalize(story: str):
    """Return a lower case normal form of input string (strips accents...)"""

    # Remove non alphanumeric characters
    story = re.sub('[\W_]+', '', story)
    # Remove accents and make lower case
    return unicodedata.normalize('NFKD', story).encode('ASCII', 'ignore').lower()