[R] genericSummary in LSAfun

Abby Spurdle @purd|e@@ @end|ng |rom gm@||@com
Tue May 12 04:34:47 CEST 2020


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 using 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 using 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.



More information about the R-help mailing list