Code in Place final project Word Frequency Counter: The feature gives two options to user to load text for analyzing 1) input through console 2) Load through plain txt file. The text to analyze is then sent to processing unit that processes each word and updates the count for the existing word by 1 if already present. We remove following words from the list-
- Remove the leading spaces and newline character
- Remove the punctuation marks from the line
- Remove the digits from the line
- Remove words present in stop word list. For more information on stop word refere to following external link (https://en.wikipedia.org/wiki/Stop_word)
The program will finally generate following outputs-
- Gives total number of words
- Max occurrence of a word
- List of words and frequencies
- Graph displaying top 25 words and frequency