Changed pipeline so that Sentence object is no longer constructed a little at a time.