In folia2columns, many of the column options did not produce meaningful results when extracting sentences or paragraphs, so I modified them to extract sequences of those annotations (i.e. lemma classes) rather than just the first instance of that annotation in the sentence/paragraph. This makes it possible to extract lemmatized sentences and paragraphs which I wanted to do. I also added an option for the text in sentences or paragraphs to be tokenized, rather than just dumping the contents of text() out.
In folia2columns, many of the column options did not produce meaningful results when extracting sentences or paragraphs, so I modified them to extract sequences of those annotations (i.e. lemma classes) rather than just the first instance of that annotation in the sentence/paragraph. This makes it possible to extract lemmatized sentences and paragraphs which I wanted to do. I also added an option for the text in sentences or paragraphs to be tokenized, rather than just dumping the contents of text() out.