powered by
DataframeSource(x, encoding = "UTF-8")
x
DataframeSource
Source
getSources
docs <- data.frame(docs = c("This is a text.", "This another one."), row.names = c("Text 1", "Text 2")) (ds <- DataframeSource(docs)) inspect(Corpus(ds))
Run the code above in your browser using DataLab