Through out this process:
library("spacyr")
library("dplyr", warn.conflicts = FALSE)
mytext <- data.frame(text = c("test text", "section 2 sending"), id = c(32,41))
is it possible to melt the input dataframe my text using as separation for every row the space between terms?
Example output:
32 test
32 text
41 section
41 2
41 sending