AI & automation

What is named entity recognition?

Named entity recognition (NER) is a text-analysis technique that locates and labels items such as people, companies, places, dates and money amounts inside free text, turning an unstructured message into fields a system can use.

A concrete example

Take an email: "Please move Dr. Alvarez's appointment from Tuesday 12 March to Friday at 3 pm at the Austin clinic." NER tags a person, two dates, a time and a location. A scheduling tool can then update the right record without a human retyping anything.

How it is done

Older systems used rules and word lists. Machine-learning models learn from labeled examples, and today a language model can extract entities from a prompt that describes the fields you want. Custom entity types, like policy numbers, part codes or case IDs, usually need examples from your own documents.

Pitfalls

Ambiguity is the main problem: "Jordan" may be a person or a country, "Apple" a fruit or a company. Names written in unusual formats, abbreviations and OCR errors also reduce accuracy. Always measure on a sample of your real documents, and add a human review queue for low-confidence results.

Questions, answered

It is one technique within it. Extraction from forms or invoices also needs layout understanding.

Yes, with a clear prompt and structured output, though a small dedicated model can be cheaper at high volume.

By the Stegnor team · Updated