¡@

Home 

python Programming Glossary: britain

how to find frequency of the keys in a dictionary across multiple text files?

http://stackoverflow.com/questions/17186253/how-to-find-frequency-of-the-keys-in-a-dictionary-across-multiple-text-files

20000 txt files with filenames 1 2 3 4... for ex suppose d Britain 5 76 289 must return the number of times Britain appears in.. suppose d Britain 5 76 289 must return the number of times Britain appears in the files 5.txt 76.txt 289.txt belonging to the document.. values in another d2 for the same example d2 must contain Britain 26 1200 where 26 is the frequency of the word Britain in the..