Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 500 Bytes

File metadata and controls

13 lines (10 loc) · 500 Bytes

Word Frequency Counter

This project is a simple Python script that counts the frequency of words in a text file and prints the top 10 most frequent words along with their counts.

How It Works

  1. The script reads the contents of a text file.
  2. It splits the text into words and counts how many times each word appears.
  3. The top 10 most frequent words are displayed in the terminal.

How to Run

  1. Open a terminal and navigate into this folder:
    cd word_frequency_counter