Summary
- Named entity recognition (NER) is usually described as tagging names of people, places and organisations, but that's the easy part of the job.
- Production NER annotation guidelines spend most of their length on nested entities, fuzzy boundaries between entity types, and entity types a general-purpose model was never trained to recognise.
- The CoNLL-2003 dataset, still widely used to train and test NER systems, had to invent a fourth catch-all entity type because real text kept producing names that didn't fit the first three.
- Research on biomedical NER found entities nested up to four layers deep, with inter-annotator agreement swinging more than 30 F1 points apart depending only on which entity type two trained reviewers were marking.
- The real test of a named entity recognition service isn't whether it can find a person's name. It's whether its guideline can explain what happens when one entity sits inside another.
I’ve seen named entity recognition guidelines run past ten pages before they even reach the FAQ section. Most of that length goes into settling where one entity’s name stops and another’s begins.
That’s the part a named entity recognition service actually spends its time on. Tagging a person’s name or a city is the easy five percent of the work. The real job is different. It’s nested entities sitting inside each other. It’s entity types a general-purpose model was never trained to recognise. It’s two trained reviewers disagreeing about where a single mention actually ends. This article walks through what a real NER annotation guideline has to decide. It includes a worked example, so you can tell a careful vendor from one that’s just running a pretrained model and calling the output annotation.
What named entity recognition actually is
Named entity recognition, or NER, is the task of finding a specific stretch of text, a mention, and labelling what kind of thing it refers to. That might be a person, an organisation, a place, a date, or something more specific to the domain the text comes from. It’s one particular technique inside the broader discipline of data annotation: marking up raw data so a model can learn from real, labelled examples instead of guessing.
Most vendor pages describe NER with the same three or four examples: find the person, find the city, find the company. That’s a fair starting definition. It’s also where most of those pages stop, which is the actual problem. When a team outsources text annotation work and NER is one task inside a larger brief, the entity-tagging step is rarely what decides whether the output is usable. What decides that is everything this article covers next.
Why “it’s just names” undersells the job
Even one of the field’s own foundational datasets ran into this almost immediately. CoNLL-2003 is still used today to train and benchmark NER systems. It settled on four entity types: person, location, organisation, and a fourth category its creators called MISC, for everything else. They needed that fourth bucket because real news text kept producing names that didn’t fit the first three cleanly. Nationalities, like “Italian”. Named events, like the “1000 Lakes Rally” (Tjong Kim Sang & De Meulder, 2003). MISC exists because of a simple problem. “Is this a name, and if so, what kind” doesn’t have a clean answer for a large share of real-world text. That’s true even in ordinary news articles written in one language.
Choosing which bucket a mention belongs in is itself a labelling decision. It isn’t a mechanical lookup, and that’s worth naming plainly before going further.
The edge cases a named entity recognition service has to resolve
Four kinds of decision show up in almost every production NER annotation guideline I’ve reviewed, and none of them are “is this a name”.
Nested entities
A nested entity is one entity mention sitting inside another, larger one. “SIAC Rules” might be its own entity, a named arbitration framework. “SIAC” sitting inside it is also its own entity, an organisation. CoNLL-2003 dealt with this by deciding not to deal with it. Its annotators treated named entities as non-recursive and non-overlapping. When one entity was embedded in another, usually only the outer, top-level entity got annotated at all (Tjong Kim Sang & De Meulder, 2003). That’s a real, defensible choice. It’s also a choice made deliberately, not an obvious default, and it throws away the inner mention entirely.
Domain-specific text makes that shortcut expensive. Gene, protein and drug names nest inside each other constantly in biomedical literature. One study found entities embedded up to four layers deep in the GENIA corpus, with 18.61% of all entity mentions sitting inside another entity (Alex, Haddow & Grover, 2007). A guideline that only tags the outer mention, the way CoNLL does, would silently drop nearly one in five entities in text like that. Whether a guideline keeps both the inner and outer mention, or picks one on purpose, has to be a written rule. It can’t be something each reviewer decides on the spot.
Ambiguous entity-type boundaries
Take a sentence citing the “Competition Commission of India”. Is “India” its own location entity, nested inside an organisation’s full name? Or does the organisation’s proper name run as one unbroken mention, with no separate tag for the country word buried inside it? Both answers are defensible. Neither is obvious. A guideline that doesn’t commit to one, in writing, produces a mixed dataset. Some reviewers split names like that. Others don’t. A model trained on that mix learns a rule it can’t actually apply.
Domain-specific entity types a general-purpose model never learned
An off-the-shelf NER model ships with a small, fixed label set: person, organisation, location, date, sometimes money. It has never seen “contract clause”, “lab test result”, “drug dosage” or “statute citation” as a category. Nobody defined that category for it. The biomedical ontology behind the GENIA corpus, by contrast, defines 21 separate entity classes. It even splits DNA, RNA and protein mentions into their own types, a distinction a generic model has no concept of at all (Alex, Haddow & Grover, 2007). A buyer who assumes a vendor’s “NER” line item already covers their contracts or lab reports is assuming a label set that doesn’t exist yet. Someone has to define it. Someone has to write examples for every edge case. Someone has to train reviewers to apply it the same way every time, before the first document gets tagged.
Inter-annotator disagreement on where a mention ends
Even trained, domain-expert annotators working from the same written guideline don’t agree perfectly. On the biomedical EPPI corpus, papers were annotated by more than one specialist. Inter-annotator agreement is the F1 score of one annotator against another on the same document. It ranged from 60.40 for the “mutant” entity type up to 91.59 for “protein” (Alex, Haddow & Grover, 2007). That’s more than thirty points of agreement separating two entity types in the same guideline, reviewed by the same pool of specialists. Some entity types are genuinely harder to draw a clean boundary around than others. A guideline earns its keep by naming which ones those are in advance, not by discovering it after the data’s already shipped.
A worked example
Take one sentence. “Under Clause 14.2(b) of the Reliance-Disney merger agreement, any dispute goes to arbitration in Singapore under the SIAC Rules.” “The Competition Commission of India can object first.” A reviewer checking this against a real guideline has to make several separate calls, not one.
First, “Clause 14.2(b)” needs its own entity type entirely, a contract-clause reference. No standard NER label set, PER/ORG/LOC/MISC included, has a bucket for it. Second, “Reliance-Disney merger agreement” is a named document. It itself contains two organisation names, Reliance and Disney, nested inside it. The guideline has to say whether both the document name and the two organisations inside it get tagged, or only one level. Third, “SIAC Rules” contains “SIAC” the organisation nested inside “SIAC Rules” the named framework. That’s the exact nested-entity pattern discussed above. Fourth, “Competition Commission of India” raises the same boundary question as the earlier example. Does “India” get split out as a location? Or does the organisation’s full name stay as one mention?
None of those four decisions is about spotting a name. All four are about a rule. The guideline either states it clearly, or leaves each reviewer to guess. A guessed rule produces inconsistent training data, one reviewer’s judgement call away from another’s.
What a real NER annotation guideline actually contains
A guideline built to survive contact with real documents, rather than a one-page cheat sheet of three entity types, typically covers:
- A definition for every entity type, with at least one boundary example showing where the mention starts and stops, not just a label and a one-word description.
- An explicit nesting rule: whether an inner entity is kept alongside its outer entity, dropped in favour of the outer one, or flagged for a second reviewer to decide.
- A domain-specific entity taxonomy, written for the actual document type involved, not borrowed from a generic person/place/organisation list that was never meant to cover it.
- An escalation or adjudication step for genuine disagreement, so a hard case gets a documented decision rather than whatever the first reviewer happened to guess.
- A measured inter-annotator agreement target, checked by entity type rather than as one blended average, since, as the biomedical research above shows, some entity types disagree far more than others.
None of those five things are about the model doing the recognising. They’re about whether the humans writing the rules it learns from actually agree with each other first.
What to ask a vendor offering a named entity recognition service
A quote or proposal for NER annotation is easy to compare on price alone. It’s harder, and more useful, to compare on whether the vendor has actually built the guideline discipline above. A few direct questions tend to separate the two quickly.
- Can I see the entity-type definitions themselves, not just the list of type names? A real guideline attaches worked examples to each type. A thin one has a label and nothing else.
- What’s the rule for nested entities in my specific documents? Is it written down anywhere I can check?
- If my documents need entity types that don’t exist in a standard NER label set, who defines them? How are reviewers trained on a type that’s new to everyone?
- What inter-annotator agreement number do you track? Is it broken down by entity type, or reported as one overall figure that could be hiding a weak spot?
A vendor who can answer all four specifically, rather than falling back on “our NER accuracy is high”, has usually built the guideline work this article describes. One who can’t is likely running a pretrained model against your documents with no real adaptation to what they actually contain.
How Chegg approaches this
A named entity recognition project at Chegg starts with the entity-type list and the boundary rules, written down and agreed before a single document gets reviewed. Nested entities get an explicit rule rather than a silent default. A domain-specific type that doesn’t exist in any off-the-shelf label set gets defined from scratch, with worked examples, before reviewers are trained on it. Inter-annotator agreement is checked by entity type, not as one blended number, because the research above shows plainly that some types need far more scrutiny than others.
That’s the actual standard behind any annotation work Chegg takes on, named entity recognition included. A buyer evaluating a named entity recognition service doesn’t need to take “we handle edge cases” on faith. The guideline itself is the real evidence. So is whether it answers the four questions above.
Key takeaways
- Named entity recognition is usually described as tagging names of people, places and organisations. That’s the easy part. The real job is in the edge cases.
- Nested entities, one mention sitting inside another, are common enough in domain text that a guideline needs an explicit rule for them. Even CoNLL-2003 made a deliberate, stated choice rather than leaving it unaddressed.
- Entity-type boundaries are genuinely ambiguous in real text, not just in hard cases. A guideline that doesn’t commit to a rule in writing produces inconsistent training data.
- Off-the-shelf NER models ship with a small, fixed label set. Domain-specific entity types, contract clauses, lab results, drug dosages, have to be defined and taught from scratch.
- Trained annotators disagree more on some entity types than others. Research on biomedical annotation found inter-annotator agreement swinging more than 30 F1 points apart by entity type alone.
- The real test of a named entity recognition service isn’t whether it can find a person’s name. It’s whether its guideline can answer what happens when one entity sits inside another.
FAQs
What is named entity recognition (NER) annotation?
NER annotation is the work of reading text and marking which stretches of it refer to a specific kind of thing. That might be a person, an organisation, a place, a date, or a domain-specific type such as a contract clause or a drug name. It’s one technique inside the broader field of data annotation, used to teach a model to recognise those mentions on its own afterwards.
Is named entity recognition the same as data labelling?
They overlap. Labelling an entity’s type is a labelling decision. NER is really a specific, structured form of labelling applied to spans of text, rather than to whole documents or images. What makes NER distinct is the boundary problem: deciding exactly where a mention starts and stops, not just what tag it gets.
Why do NER guidelines need a rule for nested entities?
Because one entity often sits inside another in real text, an organisation’s name inside a named legal framework, for example. Reviewers need to know whether to tag both, tag only the outer one, or flag it for a second opinion. Without a written rule, different reviewers make that call differently, and the resulting data teaches a model an inconsistent pattern.
Can a general-purpose NER model recognise domain-specific entities, like legal clauses or drug names?
Not out of the box. Off-the-shelf models are trained on a small, fixed label set such as person, organisation, location and date. A category like “contract clause” or “drug dosage” has to be defined and given worked examples first. Human reviewers then need to be taught it before any annotation against it can start.
How much do trained annotators actually disagree on named entity recognition?
More than many buyers expect, and unevenly across entity types. Published research on biomedical annotation measured inter-annotator agreement as the F1 score between two trained specialists on the same document. It ranged from the low 60s to the low 90s, depending purely on which entity type was being marked.
What should I look for in a named entity recognition service for my own documents?
Ask to see the entity-type definitions themselves, not just a list of type names. Ask what the rule is for nested entities in documents like yours. Ask who defines a domain-specific type your documents actually need. And ask whether inter-annotator agreement is tracked by entity type, rather than as one blended number.