getSentenceFromText