Displaying 3 results from an estimated 3 matches for "whal".
Did you mean:
hal
2017 Aug 03
1
find similar words in text
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
whales.v <- which(moby.word.v == *whale*)
with
whale_words <- c(*whale", *whales", *whale's", *whaler", *whalers",
*whaling")
whales.v <- which(moby.word.v %in% whale_words)
the alternative (better) way to do this, with grep, looks like this
whales.v <-...
2017 Aug 03
0
find similar words in text
...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 <Riaan.VanDerWalt at nwu.ac.za> wrote:
>
> Hallo Boris,
> I've loaded the Rstem, Snowball.
> But I am clueless how to get a list eg. whal* (whale, whales, whaling, whaler, whalers, whaleman, whalemen, whale-ship, whale-boat, whale's)
> in the book Moby Dick and the frequency of each of the different words.
> I'am usig this script:
>
> whales1.v <- grep("^whal.*", moby.word.v)
> whales1.v
>...
2017 Jul 31
4
find similar words in text
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