Abby Spurdle
2019-Jul-01 02:27 UTC
[R] Looking for R package to extract Concept from text files
> In parts of these reports, people may state their > reasons for do not using such system. Is it possible to use R to only > extract such reasons from all reports?Are the reports in plain text format? Are there specific key words to search for? Are the reports in a certain order? If so, this makes things easier. Would grep work? This can be called from the command line, or within R, or both. Note that there are many grep-based functions within R. (grep, grepl, agrep, agrepl, and many more...) There is also a CRAN Task View, for this sort of thing: https://cran.r-project.org/web/views/NaturalLanguageProcessing.html However, 100 reports isn't that many. It may take longer to find (or create) suitable tools than go through 100 reports manually. [[alternative HTML version deleted]]
Mehdi Dadkhah
2019-Jul-01 03:20 UTC
[R] Looking for R package to extract Concept from text files
Thank you!! Have a nice day! With best regards, On Mon, Jul 1, 2019 at 6:57 AM Abby Spurdle <spurdle.a at gmail.com> wrote:> > > In parts of these reports, people may state their > > reasons for do not using such system. Is it possible to use R to only > > extract such reasons from all reports? > > Are the reports in plain text format? > Are there specific key words to search for? > Are the reports in a certain order? > If so, this makes things easier. > > Would grep work? > This can be called from the command line, or within R, or both. > Note that there are many grep-based functions within R. > (grep, grepl, agrep, agrepl, and many more...) > > There is also a CRAN Task View, for this sort of thing: > https://cran.r-project.org/web/views/NaturalLanguageProcessing.html > > However, 100 reports isn't that many. > It may take longer to find (or create) suitable tools than go through 100 > reports manually. > > >-- *Mehdi Dadkhah* PhD candidate & Research assistant Department of Management, Faculty of Economics and Administrative Sciences, Ferdowsi University of Mashhad, Mashhad, Iran *Email Addresses:* mehdidadkhah91 at gmail.com Mehdidadkhah at mail.um.ac.ir [[alternative HTML version deleted]]
Richard O'Keefe
2019-Jul-01 06:13 UTC
[R] Looking for R package to extract Concept from text files
Are you aware of https://www.tidytextmining.com/ On Mon, 1 Jul 2019 at 16:57, Mehdi Dadkhah <mehdidadkhah91 at gmail.com> wrote:> Thank you!! > Have a nice day! > With best regards, > > On Mon, Jul 1, 2019 at 6:57 AM Abby Spurdle <spurdle.a at gmail.com> wrote: > > > > > > In parts of these reports, people may state their > > > reasons for do not using such system. Is it possible to use R to only > > > extract such reasons from all reports? > > > > Are the reports in plain text format? > > Are there specific key words to search for? > > Are the reports in a certain order? > > If so, this makes things easier. > > > > Would grep work? > > This can be called from the command line, or within R, or both. > > Note that there are many grep-based functions within R. > > (grep, grepl, agrep, agrepl, and many more...) > > > > There is also a CRAN Task View, for this sort of thing: > > https://cran.r-project.org/web/views/NaturalLanguageProcessing.html > > > > However, 100 reports isn't that many. > > It may take longer to find (or create) suitable tools than go through 100 > > reports manually. > > > > > > > > -- > *Mehdi Dadkhah* > PhD candidate & Research assistant > Department of Management, Faculty of Economics and Administrative Sciences, > Ferdowsi University of Mashhad, Mashhad, Iran > *Email Addresses:* > mehdidadkhah91 at gmail.com > Mehdidadkhah at mail.um.ac.ir > > [[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. >[[alternative HTML version deleted]]