Sentence analysis and identification