Hi,
I hope you are doing well!
I have a data frame with a column. it contains about 140 posts. In each
row, there is a blog post. I named this data frame as "posttext". When i
use genericSummary() function, it returns paragraph instead sentences.
What is problem?
Command which i use:
summaryp<-genericSummary(posttext,k=1,split=c(".","!","?"),min=5,breakdown=FALSE)
Many thanks!
With best regards,
genericSummary in LSAfun
2 messages · Mehdi Dadkhah, Abby Spurdle
2 days later
Does increasing the value of k (the second argument) help? Also, if I understand the documentation correctly, the first argument should a single string, not a data.frame. I note that the paste function (with collapse="") can be used to turn a character vector into a single string.
On Sat, May 9, 2020 at 10:07 PM Mehdi Dadkhah <mehdidadkhah91 at gmail.com> wrote:
Hi,
I hope you are doing well!
I have a data frame with a column. it contains about 140 posts. In each
row, there is a blog post. I named this data frame as "posttext". When i
use genericSummary() function, it returns paragraph instead sentences.
What is problem?
Command which i use:
summaryp<-genericSummary(posttext,k=1,split=c(".","!","?"),min=5,breakdown=FALSE)
Many thanks!
With best regards,
[[alternative HTML version deleted]]
______________________________________________ R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.