I have a doubt regarding the assingment on counting the frequency of words in a given file. When we print the top 10 words with highest occurrence, there could be many words with same number of occurrence. Now, do we print only one word from that list, or do we print all the words and take all the same occurrence as a single set and then proceed further ?
Same applies to 2 gram word assignment
Please let me know