split_text {poldis} | R Documentation |
Split texts into structured lists of lists according to a split sign.
split_text(v, splitsign = "\\.")
v |
Text vector or annotated data frame. |
splitsign |
Where do you want to split? By default sentences ("."). This can also be words, signals or other markers you want. For special characters, please use escape sign before (i.e. "\"). |
A list of lists the same length as vector.
split_text("This is the first sentence. This is the second sentence.")