Then what you expect from this code? It gives the word and its count.
In reply to Re: compute the occurrence of words by vinoth.ree in thread compute the occurrence of words by BigGer