StudyToCert

All certifications / Azure AI Engineer / Lessons

Microsoft Certified: Azure AI Engineer Associate AI-102 · Domain 5: Implement natural language processing solutions

Custom text classification and custom named entity recognition

▶ Watch the overview video

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

Explain it simpler

Sometimes the ready-made language tools are not enough because your business has its own labels. Custom text classification learns to sort whole documents into piles you invent, like 'billing' or 'complaint'. Some documents belong in exactly one pile; others can belong in several, and you pick which kind of sorting you want. Custom named entity recognition learns to find your own kinds of details inside long documents, like the termination date in a contract. For both, you teach the model by labeling real examples yourself, then train it, check how accurate it is, fix weak spots and publish it. It is like training a new assistant by marking up a stack of sample documents before handing them the real pile.

At Carver and Lowe, a mid-sized law firm, Beatriz the operations lead has two problems on her desk. First, 3,000 client emails arrive each week and a paralegal spends every morning sorting them into billing, litigation, real estate and general questions, and some emails belong in more than one pile. Second, the firm is reviewing 1,200 vendor contracts before a merger, and someone has to pull out the parties, effective dates, governing law and termination clauses from each one. The prebuilt entity recognition finds people and dates but has no idea what a termination clause is. Beatriz asks whether Azure can learn the firm's own categories and fields. It can, but which feature fits which problem, and what does training actually involve?

Prebuilt Azure AI Language features know general categories, such as people, places and overall sentiment, but businesses often need their own. They want to route tickets into their own queues, find specific clauses in their contracts, or pull fields that only their documents contain. Azure AI Language provides two custom features for this, both trained on your labeled documents: custom text classification and custom named entity recognition (custom NER). Neither requires you to write machine learning code; the work is in labeling good data and evaluating the results.

Free account

Keep reading for free

Create a free StudyToCert account to read the rest of this lesson: 7 more sections, 6 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 Engineer for free
A week-by-week plan with every lesson, quizzes, checkpoint tests, a practice exam and hands-on labs.
Open the Azure AI Engineer study plan