https://github.com/canxkoz/word-frequency-counter
Uses a Histogram to visualize the frequency of the most used words in a text.
https://github.com/canxkoz/word-frequency-counter
word-frequencies word-frequency-count
Last synced: 10 days ago
JSON representation
Uses a Histogram to visualize the frequency of the most used words in a text.
- Host: GitHub
- URL: https://github.com/canxkoz/word-frequency-counter
- Owner: canxkoz
- License: mit
- Created: 2019-04-11T02:33:07.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-20T19:17:27.000Z (over 2 years ago)
- Last Synced: 2025-04-01T18:50:11.650Z (about 2 months ago)
- Topics: word-frequencies, word-frequency-count
- Language: Python
- Size: 15.6 KB
- Stars: 7
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Word-Frequency-Counter
### Histogram1.py
Calculates the frequency of letters in an array and returns a Histogram plot of all of the letters.
### Histogram2.py
Calculates the reoccurence of words and returns an array indicating the frequency of each word.
### Histogram3.py
Breaks the string into list of words and returns the frequency of words
### Histogram4.py
Reads the contents of a .txt fle counts the reoccurence of words and returns the frequency of words.
### Histogram5.py
You only have to enter the name of your .txt file for once and it will do the same things that Histogram4.py does.
### Histogram6.py
Asks the user "How many of the top words do you wish to print?" and depending on the input, prints an histogram of the top n words in the .txt file.
### create-word-frequency-report-txt.py
Reads the contents of a .txt fle counts the reoccurence of words and returns the frequency of words as a histogram.
### create-word-frequency-report-pdf.py
Reads the contents of a .pdf fle counts the reoccurence of words and returns the frequency of words as a histogram.## CLI Usage
```
python3 create-word-frequency-report.py Filename topwords
```For help, simply type
```
python3 create-word-frequency-report.py -h
```