Re: [R] find similar words in text

2017-08-03 Thread Patrick Casimir
Steipe <boris.ste...@utoronto.ca> Sent: Thursday, August 3, 2017 6:40:09 PM To: Riaan Van Der Walt Cc: R lists Subject: Re: [R] find similar words in text Please keep messages on the list so others can pitch in. _Which_ words do you want to consider identical for the purpose of frequency count? _

Re: [R] find similar words in text

2017-08-03 Thread Boris Steipe
Please keep messages on the list so others can pitch in. _Which_ words do you want to consider identical for the purpose of frequency count? _What_ do you want to plot? B. > On Aug 3, 2017, at 4:36 PM, Riaan Van Der Walt > wrote: > > Hallo Boris, > I've

Re: [R] find similar words in text

2017-08-03 Thread Bert Gunter
You really need to spend some time learning R if you wish to use R. See ?grep and note the "value" argument. So you want: whales.v <- grep(*^whal.*", moby.word.v,value = TRUE) -- Bert On Thu, Aug 3, 2017 at 5:14 AM, Riaan Van Der Walt wrote: > I received this

[R] find similar words in text

2017-08-03 Thread Riaan Van Der Walt
I received this from Matt Jockers and it worked! I missed something. How can I now see(display) this list? Hi Riann, There are a couple of ways that you could do this. . . the best approach would probably be to use *grep* instead of *which*, but let me show you both ways. On page 30, replace

Re: [R] find similar words in text

2017-07-31 Thread Bert Gunter
**Before** posting: 1. Search: e.g. "text processing R" 2. Check CRAN Task views: e.g. "Natural Language Processing" https://cran.r-project.org/web/views/NaturalLanguageProcessing.html 3. Use R's search facility: e.g. help.search("character") which would lead you to ?grep among others, which

Re: [R] find similar words in text

2017-07-31 Thread Boris Steipe
You need a stemming algorithm. See here: https://cran.r-project.org/web/views/NaturalLanguageProcessing.html Myself, I've had good experience with Rstem. B. > On Jul 31, 2017, at 4:47 PM, Riaan Van Der Walt > wrote: > > I am new to R. > Busy with Text

[R] find similar words in text

2017-07-31 Thread Riaan Van Der Walt
I am new to R. Busy with Text Analysis. Need a script to find e.g whale, whales, whale's, whaler, whalers, whaling,... in Moby Dick Riaan __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see