LambdaLabTM
Artificial Intelligence · Class 10 · Unit 6 · Natural Language Processing
class 10 ainlp⏱️ 10 min read

Text Normalisation

The language of computers is numerical, so the first job is to convert our language into numbers. That conversion takes a few steps, and this is the first of them: making the text simpler.

1Corpus

Corpus
The term for the whole textual data from all the documents altogether.

Text normalisation cleans up that textual data so that it comes down to a level where its complexity is lower than the actual data. Here are the steps.

Text normalisation, step by step

Watch the corpus get simpler. Each step runs on the output of the one before it.

The corpus

The whole textual data from all the documents together is called the corpus.

Priya said, "The teachers are studying the results!" She studied 3 reports and the teacher replied.

2 sentences. The corpus has not been broken into words yet.

2The steps, one by one

1. Sentence segmentation
The whole corpus is divided into sentences. Each sentence is taken as a different piece of data, so the corpus is now reduced to sentences.
2. Tokenisation
Each sentence is further divided into tokens. A token is a term used for any word, number or special character occurring in a sentence, and each is considered separately.
3. Removing stop words, special characters and numbers
Stop words are words which occur very frequently in the corpus but do not add any value to it. Grammatical words make sentences understandable to humans but carry no information, so they are removed to let the computer focus on meaningful terms.
Whether numbers and special characters go depends on the corpus — in a document of email IDs you would keep them.
4. Converting to a common case
The whole text is converted to a similar case, preferably lowercase, so the machine does not treat the same word as different just because of different capitalisation.
5. Stemming or lemmatisation
Both reduce the remaining words to their root by removing affixes. They are alternatives to each other.

3Stemming vs lemmatisation

The difference is whether the result is a real word
StemmingLemmatisation
What it doesRemoves the affixRemoves the affix
Is the result meaningful?Not necessarilyYes — the result is called a lemma and is a real word
SpeedFasterSlower, because it has to check
studies →studistudy
flies →flifly
wolves →wolvwolf
The one to remember
healed, healing and healer all reduce to heal under both methods. But studies becomes studi under stemming and study under lemmatisation. Studi is not a word, and stemming does not care. That is the whole distinction, and it is what the paper tests.

Two ways to trim a hedge

Stemming is shears: fast, straight across, and it does not look at what it cut. Lemmatisation is secateurs and a gardener who checks each branch — slower, and the result is something you would want to look at.

4From the board papers

1
How is Stemming different from Lemmatization? Explain how the word “Wolves” would be processed by stemming and lemmatization.CBSE board exam 2026
2 marks
▶Show the answer

Both remove the affixes from a word to reduce it to its root. The difference is that stemming just chops the affix off and does not check whether the result is a meaningful word, which makes it faster; lemmatisation makes sure the result (the lemma) is a word with meaning, and so takes longer.
Wolves: stemming removes the affix and gives wolv, which is not a word. Lemmatisation gives wolf, which is.

2
In the context of NLP, which of the following represents the stem resulting from stemming for “Studies”?
(A) Study (B) Stud (C) Studi (D) StudiedCBSE board exam 2025
1 mark
▶Show the answer

(C) Studi. Option (A) Study is the lemmatised form, and it is there to catch anyone who answers with the sensible-looking word. Stemming removes -es and stops.

3
What are the stemmed and lemmatized forms of the word ‘flies’?
(a) Stemmed: fly, Lemmatized: flies (b) Stemmed: fly, Lemmatized: fly (c) Stemmed: flies, Lemmatized: flies (d) Stemmed: fli, Lemmatized: flyCBSE sample paper 2025–26
1 mark
▶Show the answer

(d) Stemmed: fli, Lemmatized: fly. Exactly the same pattern as studies: strip -es and you are left with fli, which is not a word; lemmatisation gives the real one.

4
Count and write the number of tokens in the sentence:
Words with adequate occurrence in a corpus are considered frequent and often reflect the main subject of the document, unlike stop words whose frequency is high but value is low.CBSE sample paper 2025–26
1 mark
▶Show the answer

The sentence has 30 words, one comma and one full stop.

By the handbook’s own definition — a token is any word, number or special character — the punctuation counts, giving 32 tokens.

Say which you counted. Some answer keys count words only and give 30. Both are defensible, and a line saying “counting the comma and full stop as tokens” protects the mark either way.

5
Identify any two stop words which should not be removed from the given sentence, and why.
Get help and support whether you’re shopping now or need help with a past purchase. Contact us at abc@pwershel.com or on our website www.pwershel.comCBSE sample papers 2023–24 and 2024–25
2 marks
▶Show the answer

Two candidates are “at” and “on” (or the special characters @ and .).
They are ordinarily stop words, but here they carry the structure of the contact details: at introduces the email address and on the website. Removing them — and removing the @ and the dots along with the other special characters — would destroy the email ID and the URL, which are the most useful information in the sentence.
This is the handbook’s own point that whether you remove special characters and numbers depends on the corpus.

5Check yourself

Quick Check

Words we want to filter out before analysing text are called:

Quick Check

What is a corpus?

Quick Check

Which process guarantees the result is a meaningful word?

Quick Check

Under tokenisation, a comma in a sentence is: