Re: Count co-occurrences

2007-06-22 Thread [EMAIL PROTECTED]
On Jun 22, 5:48 pm, [EMAIL PROTECTED] (Andrej Kastrin) wrote: > Dear all, > > I wrote a simple sql querry to count co-occurrences between words but it > performs very very slow on large datasets. So, it's time to do it with > Perl. I need just a short tip to start out: which

Re: Count co-occurrences

2007-06-22 Thread Andrej Kastrin
Paul Lalli wrote: On Jun 22, 12:48 pm, [EMAIL PROTECTED] (Andrej Kastrin) wrote: I wrote a simple sql querry to count co-occurrences between words but it performs very very slow on large datasets. So, it's time to do it with Perl. I need just a short tip to start out: which structure t

Re: Count co-occurrences

2007-06-22 Thread Paul Lalli
On Jun 22, 12:48 pm, [EMAIL PROTECTED] (Andrej Kastrin) wrote: > I wrote a simple sql querry to count co-occurrences between words but it > performs very very slow on large datasets. So, it's time to do it with > Perl. I need just a short tip to start out: which structure to use

Re: Count co-occurrences

2007-06-22 Thread Chas Owens
On 6/22/07, Andrej Kastrin <[EMAIL PROTECTED]> wrote: Dear all, I wrote a simple sql querry to count co-occurrences between words but it performs very very slow on large datasets. So, it's time to do it with Perl. I need just a short tip to start out: which structure to use t

Count co-occurrences

2007-06-22 Thread Andrej Kastrin
Dear all, I wrote a simple sql querry to count co-occurrences between words but it performs very very slow on large datasets. So, it's time to do it with Perl. I need just a short tip to start out: which structure to use to count all possible occurrences between letters (e.g. A, B