improve word array sanitation to remove punctuation