Stemming row by row

navnav Member Posts: 28 Contributor II
edited July 2019 in Help

I have a text file and I want to stem it with the Porter stemmer row by row. So I want to preserve the row structure of the file and stem each one, but if I tokenize and the stem the text all the newline are removed. How can I do to do that? Thanks to all.
Sign In or Register to comment.