from string import punctuation
from unicodedata import category, normalize


def standardize(ds):
    """Remove interpunctuation and whitespaces from a string."""
    ss = ''.join(s for s in normalize('NFD', ''.join(ds.split()))
                 if category(s) != 'Mn')
    manually = (('“', '"'), ('”', '"'), ("(TM)", ""), ("(R)", ""))
    for old, new in manually:
        ss = ss.replace(old, new)
    return ss.translate(str.maketrans({k: "" for k in punctuation + '®™–'}))