Class 7 · CBSE AI · Strand C — NLP, Vision, and LLMs Deep-Dive
What is text classification? Building a topic classifier — Class 7
How AI sorts text into categories — one of the oldest and most useful NLP tasks. For Class 7.
Class 7 · CBSE AI · Strand C — NLP, Vision, and LLMs Deep-Dive
How AI sorts text into categories — one of the oldest and most useful NLP tasks. For Class 7.
Post office sorting
A post office sorter puts each letter into one city's bag. But what if a letter is addressed to someone who has two homes — one in Chennai, one in Delhi? You have to pick one bag, or create a new rule for 'dual destination' letters. Topic classifiers face exactly this problem with multi-topic content.
Mela stall organisation
At a mela, stalls are organised by type — food, games, crafts. But a stall selling handmade food toys (like a craft-food hybrid) doesn't fit neatly anywhere. The person running the mela has to make a decision about where to place it. That placement decision is exactly what a topic classifier does — and it always involves some loss of nuance.
Every Dhee Learning session for this concept follows three stages. We share the questions Dhee actually asks, so you can hear what a session sounds like.
Stage 1 — Surface
A news app wants to tag every article automatically as 'Sports', 'Politics', 'Technology', or 'Entertainment'. What happens when an article is about a cricket player who becomes a politician and launches a sports app?
Rote answer
"A topic classifier puts text into categories."
Understood
"That article fits all three categories at once, which breaks a system that forces one label. You'd either need multiple labels per article, or you'd have to accept that whichever single label you pick, you're losing important information."
Stage 2 — Reasoning
Two classifiers are trained on the same news dataset. Classifier A has 5 topic categories; Classifier B has 50. What are the trade-offs — when would you prefer A, and when would you prefer B?
Follow-up Dhee may use: What if two of the 50 categories are nearly identical — like 'Cricket' and 'IPL'? What problem does that create for the model?
Stage 3 — Application
You're building a classifier to route student questions to the right subject teacher in a school chatbot. List the three hardest design decisions you face before collecting any data.
Misconception Dhee watches for: Assuming the category list is obvious and fixed — in practice, defining categories is where most real-world classification projects spend the most time.
Dhee turns this concept into a 15-minute spoken session — asking, listening, and probing — so your child builds the idea themselves.
How AI sorts text into categories — one of the oldest and most useful NLP tasks. For Class 7.
More categories always means a better classifier — fine-grained categories require exponentially more labelled data and increase the chance of confusion between similar classes.
Dhee opens with a question — for example: "A news app wants to tag every article automatically as 'Sports', 'Politics', 'Technology', or 'Entertainment'. What happens when an article is about a cricket player who becomes a politician and launches a sports app?" — listens to your child's answer, then probes the reasoning behind it. The session ends when the child can apply the idea to a brand-new situation, not just recall it.