StudyToCert

All certifications / Azure AI Fundamentals / Lessons

Microsoft Certified: Azure AI Fundamentals AI-900 · Domain 4: Natural language processing workloads on Azure

Tokenization, embeddings and semantic similarity: how text becomes numbers

▶ Watch the overview video

Last reviewed October 6, 2026 · Leer en español

Explain it simpler

Computers cannot read words the way we do; they can only do math on numbers. So before any AI can work with text, the text has to be turned into numbers. First, the text is chopped into small pieces called tokens, which are usually words or parts of words. Older methods then simply counted how often each word appears. Newer methods use embeddings: each piece of text gets a long list of numbers that works like a map location for its meaning. Texts that mean similar things land close together on the map, even if they use different words. 'Car' and 'automobile' end up as neighbors, so a search can find either one.

Jun works the help desk at Pinecrest Unified School District, and the knowledge base search is driving teachers mad. A teacher types 'projector won't show my laptop screen' and gets zero results, even though there is a perfectly good article titled 'Troubleshooting external display output'. The search only matches exact words, and the words do not match. Jun's manager has heard that 'embeddings' can fix this, but to Jun it sounds like magic. How can a computer, which only understands numbers, know that two sentences with almost no words in common mean the same thing?

Machine learning models work with numbers, not words. Every natural language processing (NLP) system, from a simple sentiment classifier to a large language model, must first turn text into numeric form before it can learn from or reason about it. AI-900 does not expect you to do the math, but it does expect you to understand the main steps conceptually: tokenization, frequency-based representations and embeddings, and how they lead to semantic similarity and semantic search.

Free account

Keep reading for free

Create a free StudyToCert account to read the rest of this lesson: 7 more sections, 7 key terms, a real-world example, an exam tip and self-check questions. Every lesson, lab and practice test is free with an account.

Sign up free Log in

Study Azure AI Fundamentals for free
A week-by-week plan with every lesson, quizzes, checkpoint tests, a practice exam and hands-on labs.
Open the Azure AI Fundamentals study plan