Hello,

I'm using Python to extract words from plain text files. I have a list of words. Now I would like to convert that list to a dictionary of features where the key is the word and the value the number of occurrences in a group of files based on the filename (different files correspond to different categories). What is the best way to represent this data? When I finish I expect to have about 70 unique dictionaries with values I plan to use in frequency distributions, etc. Should I use globally defined dictionaries?

Dana
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to