improved token and sentence splitter; d3 line plot renderer