I have the following dataframe:
df = data.frame(Text = c("This is great. A really great place to be. For sure if you wanna solve R issues. Skilled people.", "Good morning. There are very skilled programmers here. They will help sorting this. I am sure.", "SO is great. You can get many things solve. Additional paragraph."), stringsAsFactors = F)
I have used to subset the text into sentences:
library(textshape)
split_sentence(df$Text)
However, I would like to subset the "Text" column every 2 senteces, so to get a list like:
This is great.
A really great place to be.
Good morning.
There are very skilled programmers here.
SO is great.
You can get many things solve.
Can anyone help me?
Thanks!
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…