S2-SA4-0186
What is a Word Frequency?
Grade Level:
Class 3
NLP, Law, History, Social Sciences, Literature, Journalism, Communication
Definition
What is it?
Word frequency tells us how many times a particular word appears in a piece of writing, like a story or a poem. It helps us understand which words are used often and which ones are used less.
Simple Example
Quick Example
Imagine you read a cricket match report. If the word 'runs' appears 15 times and 'wicket' appears 7 times, then the frequency of 'runs' is 15, and the frequency of 'wicket' is 7. This shows 'runs' was talked about more.
Worked Example
Step-by-Step
Let's find the word frequency for the sentence: 'The cat sat on the mat. The cat saw a rat.'
1. Write down all the words: The, cat, sat, on, the, mat, The, cat, saw, a, rat.
---
2. Make a list of unique words (each word only once): The, cat, sat, on, mat, saw, a, rat.
---
3. Count how many times 'The' appears: 'The' appears 3 times (including the capital 'The').
---
4. Count how many times 'cat' appears: 'cat' appears 2 times.
---
5. Count how many times 'sat' appears: 'sat' appears 1 time.
---
6. Count how many times 'on' appears: 'on' appears 1 time.
---
7. Count how many times 'mat' appears: 'mat' appears 1 time.
---
8. Count how many times 'saw', 'a', 'rat' appear: Each appears 1 time.
Answer: The: 3, cat: 2, sat: 1, on: 1, mat: 1, saw: 1, a: 1, rat: 1.
Why It Matters
Understanding word frequency is super useful! Writers use it to make their stories interesting, and journalists use it to see what topics are most important in news articles. Even computer scientists use it to teach computers to understand language, which helps in creating smart assistants like Alexa or Google Assistant.
Common Mistakes
MISTAKE: Not counting capital and small letters of the same word as the same word (e.g., counting 'The' and 'the' separately). | CORRECTION: Usually, 'The' and 'the' are counted as the same word unless you are specifically told to treat them differently. Convert all words to lowercase before counting.
MISTAKE: Forgetting to count small words like 'a', 'an', 'the', 'is', 'are'. | CORRECTION: Every single word in the text, no matter how small, needs to be counted to get an accurate frequency.
MISTAKE: Counting punctuation marks (like full stops, commas, question marks) as words. | CORRECTION: Word frequency is only about words. Always remove punctuation before you start counting.
Practice Questions
Try It Yourself
QUESTION: Find the frequency of the word 'mango' in this sentence: 'I like mango. Do you like mango? Mangoes are tasty.' | ANSWER: 2
QUESTION: Count the frequency of each word in: 'My friend loves to play football. My friend also loves cricket.' | ANSWER: My: 2, friend: 2, loves: 2, to: 1, play: 1, football: 1, also: 1, cricket: 1.
QUESTION: A short story has 100 words. The word 'and' appears 8 times. The word 'the' appears 12 times. What is the combined frequency of 'and' and 'the'? | ANSWER: 20
MCQ
Quick Quiz
Which of these is NOT a step in finding word frequency?
Listing all words in the text
Counting how many times each unique word appears
Adding up the total number of sentences
Ignoring punctuation marks
The Correct Answer Is:
C
Word frequency is about counting words, not sentences. Options A, B, and D are all important steps in correctly finding word frequency.
Real World Connection
In the Real World
When you use search engines like Google, they use word frequency to figure out which websites are most relevant to your search. Also, in newsrooms, journalists use tools that check word frequency in speeches or articles to quickly understand the main topics being discussed.
Key Vocabulary
Key Terms
FREQUENCY: The number of times something happens or appears. | TEXT: Any written material like a paragraph, story, or article. | UNIQUE WORD: A word that is different from all other words (e.g., 'cat' and 'dog' are unique, but two 'cat's are not). | PUNCTUATION: Marks like full stops (.), commas (,), question marks (?), etc.
What's Next
What to Learn Next
Now that you understand word frequency, you can explore 'keyword density'. This concept builds on word frequency by showing how important a word is in relation to the total number of words. Keep learning and exploring!


