I have to count the word frequency in a text using Python. I thought of keeping words in a dictionary and having a count for each of these words. Now if I have to sort the words according to # of occurrences, can I do it with the same dictionary instead of using a new dictionary which has the key as the count and array of words as the values? Continue reading...