Named entity recognition (NER)
Named entity recognition is the language processing task of finding names of people, organisations, places and similar items in text and labelling each with its type.
Named entity recognition, usually shortened to NER, picks out the proper nouns and similar expressions in a piece of text and says what kind of thing each one is. Given the sentence Apple is looking at buying U.K. startup for $1 billion, the spaCy library tags Apple as an organisation, U.K. as a geopolitical entity and $1 billion as a sum of money. The usual categories are people, organisations and locations, often joined by dates, times, quantities, money and percentages.
The task took shape in formal evaluations of information extraction systems. The Sixth Message Understanding Conference, MUC-6, set a named entity task in 1995, asking systems to find people, organisations, places, time expressions and certain numbers in text. Early systems used hand-written rules and lists of known names. These were precise but took months of expert work and broke when moved to new kinds of text. Statistical methods trained on annotated examples followed, and today most NER is done with neural networks, including transformer models.
NER is harder than it sounds because names are ambiguous. JFK can be a president or an airport. The White House can mean a building or the US administration. Names nest inside each other, as in James Madison University, and boundaries get missed. Systems are scored with precision, recall and the F1 measure rather than simple accuracy, because most words are not entities and a system that tagged nothing would still look accurate.
In practice NER is a building block. It turns unstructured text into fields a database can use: which companies a news story mentions, which drugs appear in a medical record, which names should be removed before documents are shared. General-purpose large language models can now do NER when asked, while dedicated NER models remain common where speed, cost or consistency matter.
It is used to pull structured facts out of text: tagging companies and people in news, finding drug and disease names in medical records, indexing documents for search, and spotting personal names so they can be redacted. It is often an early step in larger information extraction systems. The core types are person, organisation and location. Many systems add geopolitical entities, dates, times, money, percentages and quantities, and specialist systems define their own types, such as genes, chemicals or legal citations. Yes, a large language model can be prompted to list and classify the entities in a passage. Dedicated NER models are still widely used because they are faster, cheaper to run at volume and produce more consistent output formats. With precision (how many predicted entities are right), recall (how many real entities were found) and their combination, the F1 score. Strict scoring counts an entity as correct only if both its exact span and its type match.Common questions
What is named entity recognition used for?
What entity types does NER recognise?
Can ChatGPT or other LLMs do named entity recognition?
How is NER accuracy measured?
Search for "named entity recognition tutorial", "NER evaluation F1" or "CoNLL-2003 named entity". Reliable sources include documentation from open-source libraries such as spaCy, papers in the ACL Anthology and on arXiv, and university course notes on natural language processing. Treat accuracy claims with care unless they say which dataset and scoring method were used.Finding more
Working out what this means for your business?
Aileron Shift builds the systems behind this site: AI newsrooms that research, write and publish on their own, marketing automation and WordPress hosting for companies that need to move faster than their competitors.