check markov string for end punctuation