[R] Counting Words

MacQueen, Don macqueen1 at llnl.gov
Thu Jan 22 21:26:36 CET 2015


In addition to the other suggestions, which are fine for your simple
example, I would take a trip to the CRAN Task View "Natural Language
Processing", and see if there's anything there.

-Don

-- 
Don MacQueen

Lawrence Livermore National Laboratory
7000 East Ave., L-627
Livermore, CA 94550
925-423-1062





On 1/22/15, 6:25 AM, "bgnumis bgnum" <bgnumis at gmail.com> wrote:

>Hi all,
>
>I want to cout the different words in a text.
>
>You see if the text is: "hola mundo mundo" the program will count:
>
>hola 1
>mundo 2
>
>Is posible that Cran r have a similar function?
>
>	[[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.



More information about the R-help mailing list