-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Word Frequency Counter | ||
|
||
A simple python script that counts the number of words in a given text document and prints the top 10 words according to their frequency, along with their frequency of occurence. | ||
|
||
--- | ||
|
||
- **Input :** Path of the text file to be processed | ||
- **Output :** List of top 10 words according to their frequency, along with their frequency of occurence. | ||
|
||
--- | ||
|
||
## Features : | ||
|
||
- User friendly interface | ||
- Output is in tabular format | ||
- Case insensitive processing of words | ||
- Get the Top 10 words in the text file which occur most frequntly, along with their counts | ||
|
||
--- | ||
|
||
## Usage : | ||
|
||
1. Clone the repository | ||
2. Navigate to the project folder | ||
3. Run the command : | ||
|
||
```python | ||
python3 main.py | ||
``` |