import re
import unicodedata


def __normalize_word(word):
    """Strip hyphens, other punctuation, lower, normalize NFKD."""
    parts = []
    for part in word.split(' '):
        part = re.sub(r"(^\-|\p{P}+$)", '', part).strip()
        parts.append(unicodedata.normalize('NFKD', part.lower()))
    return ' '.join(parts).strip()