AI GLOSSARY · AI CONCEPTS
Named entity recognition (NER)
Definition
Named entity recognition (NER) is the task of finding spans of text that name things such as people, organisations, places, dates or amounts, and labelling each span with its type.
Also called: NER, NER NLP, entity extraction, named entity extraction, named entity tagging.
In plain language
NER is highlighting the proper nouns in a text and saying what kind each one is. In the sentence Maria joined Acme in Berlin on Monday, an NER tool would mark Maria as a person, Acme as an organisation, Berlin as a place and Monday as a date. Teams use it to pull names and amounts out of contracts, news and tickets so they can be searched or sorted. It can go wrong. The word Apple might mean a fruit or a company, a tool built for news may miss drug names in medical notes, and a name it has never seen can slip through. Check the output on your own documents before you rely on it.
Technical definition
NER is usually framed as sequence labeling: the model assigns a tag to each token, often in a scheme that marks where an entity starts and continues, so that spans can be recovered. The Stanford textbook Speech and Language Processing says four tags are most common, PER for person, LOC for location, ORG for organization and GPE for geo-political entity, and that the notion is commonly extended to temporal and numerical expressions. IBM describes rule-based, machine learning and hybrid approaches. It says machine learning models generalize better to unseen data but need a large amount of labeled training data, and that nested entities and domain-specific names are hard. A general language model can also be prompted to list entities as structured output.
Worked examples in this catalogue
Catalogue examples point at a skill, guide or coding tool listed on this site, with what to run and what you see. An example marked illustrative describes the item from its own documentation; it was not executed for this page. Platform Scores are our assessment under a published method, not a safety guarantee.
Skill by Skill Almanac · Illustrative, not executed
text-entity-extractor 41/100 · Provisional, not yet measuredScored · Method v0.2 · How we score
- What you see
- URLs, hashtags, @mentions and ISO or numeric dates pulled from one plain UTF-8 text file, with counts, the first line and every line number reported.
- Why it exercises the concept
- It extracts a fixed set of entity types by pattern, a rule-based cousin of NER. It does not find the names of people or organisations, which is where a trained NER model or a language model comes in.
Skill by Skill Almanac · Illustrative, not executed
email-address-extractor-validator 42/100 · Provisional, not yet measuredScored · Method v0.2 · How we score
- What you see
- Email addresses extracted from a plain text file or pasted contact list, checked for syntax errors, with repeated addresses flagged.
- Why it exercises the concept
- Email addresses are one entity type with a regular shape, so a rule can find them. It shows extraction followed by validation, a step NER output also needs.
Skill by Skill Almanac · Illustrative, not executed
sensitive-data-redaction 55/100 · Provisional, not yet measuredScored · Method v0.2 · How we score
- What you see
- Emails, phones, cards, IBANs, keys, IPs and listed names in a file replaced with consistent placeholders before you share it.
- Why it exercises the concept
- Redaction needs entities found first. This skill matches patterns and a list of names you supply, so a name missing from the list is not caught, which a trained NER model could help with.
Coding tool · Illustrative, not executed
Claude Code
- What to try
claude- What you see
- Claude Code's overview shows files and command output passed to a one-line instruction with claude -p, such as listing changed files for a review request.
- Why it exercises the concept
- The same pattern can pass a document to a model with an instruction to list the people, organisations and dates it names, which is NER with a general model.
How it shows up when you use agents
You meet NER whenever an agent has to turn free text into structured fields: who signed a contract, which company a ticket is about, which dates a letter mentions. Today this is often done by prompting a general large language model to return a list, or by a smaller model trained for the job. It is a core task in natural language processing. Simple entities with a fixed shape, such as emails, URLs or dates, can be found by rules without any model.
What breaks when it is misunderstood: treating the output as complete, so a missed name or a wrong type goes unnoticed, and using a general model on a specialised field such as medicine, where IBM notes that models may struggle with entities specific to a certain domain. Ambiguous names like Apple or Jordan also need context.
Next action: label a small sample of your own documents by hand, run the tool, and count misses and wrong types before you trust it at scale. For fixed-shape entities, try text-entity-extractor or email-address-extractor-validator first, since rules are easy to inspect.
Common confusions
- NER versus keyword search. Search finds the strings you typed. NER finds spans that are names and assigns a type, including names you did not list in advance.
- NER versus entity linking. NER finds and types a mention. Linking decides which real-world item it refers to, such as Apple the company or Apple the fruit.
- NER versus sentiment analysis. NER finds what is named. Sentiment analysis judges the attitude of the text. See Sentiment analysis.
- Myth. NER only covers people, places and organisations. The Stanford textbook says the notion is commonly extended to dates, times and prices, and IBM lists values such as medical codes and percentages.
Related terms
Terms that mention Named entity recognition (NER)
More in AI concepts
Sources
- What is named entity recognition (NER)?, IBM (accessed 2026-11-24)
- Masked Language Models (Speech and Language Processing, chapter 9, section on named entities), Stanford University (Jurafsky and Martin) (accessed 2026-11-24)
Definitions are written by Skill Almanac from these sources and were checked against them on 2026-11-25. Wikipedia is never the only source.
Review record
Last verified
Drafted by claude-sonnet-5-5; sources and example targets checked by Independent automated source review (OpenAI Codex); not human peer review on 2026-11-25. Last verified .
Change log (4)
- : Independent automated factual/example review completed. Cached US query estimate aligned to receipt; no traffic promise. Final technical gate recorded separately; publication disabled.
- : First version.
- : Verifier pass: clarified IBM domain-specific wording.
- : Automated review completed; approved for the staged public release. Search indexing is controlled by the release configuration.