Fixed dict.get(word) -- None parameter redundant.
added more punctuation to strip