Recognize punctuation and reference