atizo/PyTagCloud — Issue #2: words with apostrophes like "don't" show up as "don" and "t"
Author: Yossi
Created: 2012-01-11 02:28:56+00:00
State: open

Most of them should be getting snagged in stopwords.

This is a simple fix to the regex in counter.py

words = map(lambda x:x.lower(), re.findall(r'\w+', text, re.UNICODE))

should be:

words = map(lambda x:x.lower(), re.findall(r"[\w']+", text, re.UNICODE))

Not a perfect fix, but it pushes the corner cases to places where they are less likely to be noticeable to an end user.