Changed demo to analyze one sentence at a time.