Semantic Core
Module 2Collection and cleanup4/6

Normalization and lexemes: why "buy cake" and "buying cakes" are one query

5 min read

People type the same query in different ways: "buy cake", "buying cakes", "cakes buy", "cake buy". For you, these are four rows in a spreadsheet. For a search engine, they are one query: it reduces words to their base form and ignores word order. This is called normalization.

If you compare raw strings when cleaning your core, those four phrases stay four separate queries. The core fills up with duplicates, and you end up with more clusters than you need.

Three words worth knowing

Word form, lemma, lexeme
TermWhat it isExample
Word formthe word exactly as it was typedbought, cakes, baking
Lemmathe base, dictionary formbuy, cake, bake
Lexemea word with all its formsbuy, buys, buying, bought
You won't see these words in our interface — they're here to explain what happens inside a search engine.

Normalization means replacing every word form with its lemma and sorting the words. After that, "buying kids cakes" and "kids cake buy" become the same thing: "buy cake kid".

How search engines do it

Google works with dozens of languages. It reduces word forms to a common base and also takes synonyms into account: "order" and "buy" are close for it. English has few forms per word (cake / cakes), so the effect is smaller than in Russian or Spanish, where one verb can have dozens of forms.

Yandex was built for Russian, where a single word can have 10-20 forms. It analyzes each word in the query and looks for pages with every form of that lexeme. That's why a page saying "order your cake" shows up for "ordering cakes".

Wordstat without operators shows the frequency of all forms and any word order at once. The number next to "buy cake" already includes "buying cake", "cakes buy" and every query with extra words. More on that in the Wordstat guide.

Example: 9 phrases, but only 3 queries

A bakery exported phrases from a keyword tool. We reduce each one to lemmas and sort the words.

One normalized form = one query in the core
Phrase from the toolAfter normalization
buy cakebuy cake
buying cakesbuy cake
cakes buybuy cake
custom cakecake custom
custom cakescake custom
cakes customcake custom
kids cakecake kid
cake kidscake kid
kids cakescake kid
9 rows became 3 queries. Don't add up the frequencies: without operators, Wordstat has already counted all forms together.

Notice: "custom cake" and "order a cake" stay different after normalization — "custom" and "order" are different lemmas. Pairs like these aren't caught by normalization, but by meaning: you check whether their search results are the same. More on that in the article about clustering.

Where normalization gets it wrong

Normalization is a rule, and rules have exceptions. Here are four cases where phrases must not be merged.

1. Word order changes the meaning. "flights london paris" and "flights paris london" are identical after normalization. For a person, they are trips in opposite directions.

2. Prepositions change the meaning. "moving from london" and "moving to london" are different directions. Many tools drop prepositions during normalization, and the phrases merge.

3. One spelling, different words. "book" is a novel or "book a table". "glasses" are for your eyes or for wine. If your niche is restaurants, a tool may assign "book" to the wrong lemma.

4. Number changes what people look for. "window" is usually about the window you want to buy or fix, while "windows" is often about the operating system. Results for such phrases can be very different.

How to check: open the search results for both phrases. If more than half of the top-10 addresses match, it's one query — keep one phrase. If few match, keep both.

How this helps when cleaning your core

  1. Add a column with the normalized form. By hand, 50 phrases take about 10 minutes. For 500 phrases, it's easier to ask an AI: "reduce each phrase to lemmas and sort the words alphabetically".
  2. Sort by that column. Near-duplicates will line up next to each other.
  3. Keep one phrase from each group — the one that sounds most natural. That's the one you'll later use in the page title.
  4. Check the four exceptions above: direction, prepositions, homonyms, number.

On a core of 500 phrases, this usually removes 10-30% of rows. You also get fewer clusters, and each one is cleaner.

Group your phrases

Paste a list of phrases — the service will build groups of similar ones. Near-duplicates with different word forms end up in the same group, so you'll see right away what to merge.

Group phrases

What to do with Wordstat operators

When you need to know how many people search for exactly one form, Wordstat can switch normalization off:

  • "buy cake" — only these words, nothing added, but in any form;
  • "!buy !cake" — also no change of form: "buying cakes" isn't counted;
  • "[buy cake]" — word order is fixed too.

The base form usually goes into the core, while operators help you estimate real demand and pick which wording from the group is the main one.

Frequently asked questions

Should I write every form of the word on the page?

No. The search engine links "cake", "cakes" and "cake's" on its own. Write naturally: the forms will appear by themselves, because that's how language works.

Why do “buy cake” and “cake buy” have the same number in Wordstat?

Because without operators Wordstat already normalizes the query: it counts all forms and any word order. It's one row of statistics shown twice.

Can I add up the frequencies of near-duplicates?

No. The base frequency already includes all forms. If you add them up, you count the same people twice.

Are “order a cake” and “custom cake” duplicates?

By words — no: "order" and "custom" are different lemmas. By meaning — often yes. Check the results: if the top 10 is nearly the same, it's one group.

Next article: search suggestions — a free source of 1000+ long-tail ideas.

Read next