removing punctuation for some analyzer methods