Parses text and writes sentence per line.