Re: Count Ouccrence of words in a long text
- To: mathgroup at smc.vnet.net
- Subject: [mg119016] Re: Count Ouccrence of words in a long text
- From: Helen Read <readhpr at gmail.com>
- Date: Fri, 20 May 2011 06:34:19 -0400 (EDT)
- References: <ir2vpa$h3b$1@smc.vnet.net>
On 5/19/2011 7:43 AM, Matthias Bode wrote:
> Hola:
>
> Second step:
>
> How could I take apart the words ("alice" should become "a,l,i,c,e") to get a tally of the letters in a text? (Interesting when comparing languages.)
>
Characters[text]
where text is a string.
--
Helen Read
University of Vermont