On Mon, Jul 19, 2010 at 9:24 AM, David Virebayre
wrote:
> A minor point: instead of removing the punctuation, you maybe should
> convert it to whitespace.
>
> Otherwise in texts like "there was a quick,brown fox" (notice the
> missing space after the comma) you'll have the word "quickbrown"
> ins
On Tue, Jul 13, 2010 at 11:49 PM, Frank1981 wrote:
>
> First of all: I'm not sure if this question is allowed here. If not, I
> apologize
>
> I'm trying to solve the following problem: For each word in a text find the
> number of occurences for each unique word in the text.
>
> i've come up with t
Daniel Fischer writes:
>> First of all: I'm not sure if this question is allowed here. If not, I
>> apologize
You might want to check out the haskell-beginners list, but IMO most
questions are okay to post here.
Just a couple of style issues Daniel didn't mention:
>> process :: [Char] -> [Stri
On Tuesday 13 July 2010 23:49:45, Frank1981 wrote:
> First of all: I'm not sure if this question is allowed here. If not, I
> apologize
>
> I'm trying to solve the following problem: For each word in a text find
> the number of occurences for each unique word in the text.
>
> i've come up with the
First of all: I'm not sure if this question is allowed here. If not, I
apologize
I'm trying to solve the following problem: For each word in a text find the
number of occurences for each unique word in the text.
i've come up with the following steps to solve this:
* remove all punctuation excep