> But most of my dictionaries are nested, and since both keys and values
> in the dbm 'dictionaries' have to be strings, I can't immediately see
> how I could get it to work.
>
> A bit more detail: I deal with conditional probabilities, with up to 4
> parameters. These parameters are numbers or
februar 2007 18.30.40 GMT+01:00
Til: tutor@python.org
Emne: [Tutor] dictionaries and memory handling
Delivered-To: [EMAIL PROTECTED]
Hi,
I'm working on a python script for a task in statistical language
processing. Briefly put it all boils down to counting different
things in very large text
februar 2007 18.30.40 GMT+01:00
Til: tutor@python.org
Emne: [Tutor] dictionaries and memory handling
Delivered-To: [EMAIL PROTECTED]
Hi,
I'm working on a python script for a task in statistical language
processing. Briefly put it all boils down to counting different
things in very large text
Arild B. Næss wrote:
> Hi,
>
> I'm working on a python script for a task in statistical language
> processing. Briefly put it all boils down to counting different
> things in very large text files, doing simple computations on these
> counts and storing the results. I have been using pytho
On Fri, Feb 23, 2007, Alan Gauld wrote:
>"Bill Campbell" <[EMAIL PROTECTED]> wrote
>
>>>It seems that an SQL database would probably be the way to go, but I
>>>am a bit concerned about speed issues (even though running time is
>> ...
>> You would probably be better off using one of the hash databas
"Bill Campbell" <[EMAIL PROTECTED]> wrote
>>It seems that an SQL database would probably be the way to go, but I
>>am a bit concerned about speed issues (even though running time is
> ...
> You would probably be better off using one of the hash databases,
> Berkeley, gdbm, etc. (see the anydbm doc
On Fri, Feb 23, 2007, =?ISO-8859-1?Q? Arild_B._N=E6ss ?= wrote:
>Hi,
>
>I'm working on a python script for a task in statistical language
>processing. Briefly put it all boils down to counting different
>things in very large text files, doing simple computations on these
>counts and storing t
Hi,
I'm working on a python script for a task in statistical language
processing. Briefly put it all boils down to counting different
things in very large text files, doing simple computations on these
counts and storing the results. I have been using python's dictionary
type as my basic d