dictionary idiom needed

bearophileHUGS at lycos.com bearophileHUGS at lycos.com
Thu Dec 11 13:39:03 EST 2008


bearophile:
> you can do with a dict
> that has the tuple ('word', 'tagB') as key, and as value has a
> collections.defaultdict(int) that maps 'tagB' to its count.

Where's 'tagA'?
Probably I haven't understood your problem well enough. I need a
better example of your data and what you need...

Sorry, bye,
bearophile



More information about the Python-list mailing list