Named entity recognition, or NER, picks out the names and values that matter in a block of text. In "Acme Ltd agreed to pay Jane Smith on 3 March", it marks Acme Ltd as an organisation, Jane Smith as a person and 3 March as a date. For a business buyer it is the step that turns contracts, emails and notes into fields a system can use, and it is central to finding and hiding personal information.
How it works
Classic NER models read text token by token and tag each one as the start, middle or outside of an entity of a given type. Libraries such as spaCy ship with general models for common types like person, organisation and location. For business-specific entities, such as policy numbers, drug names or part codes, builders train or adapt a model on labelled examples, or add pattern rules for items with a fixed format.
Language models can also do NER from a prompt: describe the entity types, pass the text, and ask for structured output. This works well on varied documents with little setup but is slower and costlier per document. Many builds combine both: rules for strict formats, a model for names and context.
A common example is redaction. A legal team wants to share case documents with an outside party, so the build runs OCR on scans, uses NER to find names, addresses and account numbers, replaces them with placeholders, and sends uncertain cases to a reviewer.
What it means for cost
The effort depends on how unusual your entities are and what a miss costs:
- Entity types. General types are close to free; domain-specific ones need labelled examples and testing.
- Recall requirements. For redaction of personal data, missing one name can be a breach, so the build needs high recall, review queues and audit logs.
- Linking. Recognising "Acme" is easier than knowing it is the same company as "Acme Holdings Ltd" in your CRM. Entity linking adds real work, and may feed a knowledge graph.
- Document quality. Poor scans and odd layouts lower accuracy before NER even starts.
Ask a builder which entity types they will support, how they will test recall on your documents, and what happens to entities the system is unsure about.
Common questions
Is NER the same as data extraction?
It is one part of it. NER finds entities wherever they occur in free text. Data extraction more broadly fills a defined set of fields, such as invoice total or contract end date, which often needs NER plus layout understanding and validation.
Can NER find personal data reliably enough for compliance?
It can find most of it, but no automated system should be assumed perfect. Builds used for compliance usually combine NER with pattern rules, set thresholds to favour catching too much over too little, and include human review for sensitive releases.