from collections import Counter
words = re.sub(r'[\W_]+', ' ', words.lower()).split()
@Xen-Ka thinks this looks great
Updated solution since it seems to have changed a bit since I did it!
You're not logged in right now. Please login via GitHub to comment