Disambiguation
Disambiguation is the process of resolving ambiguity by selecting the intended interpretation, entity, or goal among plausible alternatives.
Knowledge Graphs and LLMs in Action
Named entity disambiguation is the technique of determining which real-world entity a mention in text refers to and linking it to the correct knowledge-base entity.
- How it is used
- Uses contextual and ontological evidence to ground ambiguous mentions for biomedical knowledge graphs and decision-support analysis.
- How deep it goes
- Explains candidate selection, ranking, ontology integration, ingestion, and LLM path-based disambiguation, while noting traditional-system limitations.
- Examples
- Uses Zika mentions, UMLS identifiers, scispaCy rankings, SNOMED relationships, Python ingestion, and Neo4j knowledge-graph construction.
- What you can do after
- Build it with scispaCy and UMLS, ingest linked entities into Neo4j, or operate an ontology-guided LLM pipeline for complex biomedical text.
Read how Knowledge Graphs and LLMs in Action explains disambiguation →
Effective Conversational AI
Disambiguation is a conversational technique that presents alternative interpreted goals so a user can select or clarify the intended one.
- How it is used
- Clarifies a user’s intended goal or response when a chatbot has several plausible interpretations.
- How deep it goes
- Defines classifier-based intent choices and illustrates a conversational follow-up, without specifying an implementation.
- Examples
- Contrasts a retry with a reassuring text-or-phone follow-up and uses a booster-and-appointment request to show multiple intents.
- What you can do after
- Practice/perform disambiguation by offering relevant choices instead of retrying a good-faith response.
Read how Effective Conversational AI explains disambiguation →
AI-Powered Search
Query disambiguation is the process of resolving multiple plausible interpretations of a search query.
- How it is used
- Interprets ambiguous search queries in domain context to inform how results are selected or organized.
- How deep it goes
- Works through query-to-category-to-keyword graph traversal, configurable limits, relatedness scores, and a nested Solr facet request.
- Examples
- Compares contextual senses of “server,” “driver,” and “chef,” and contrasts clothing searches with digital-media inventory.
- What you can do after
- Apply it via Python and Solr semantic knowledge graph traversal to inspect query senses and choose a result-handling strategy.
What to know first
- contextContext is the relevant information, state, or circumstances surrounding an input, decision, or activity that influence its interpretation or behavior.
- knowledge baseA knowledge base is an organized body or representation of information that people or computational systems can consult to support retrieval, reference, reasoning, or tasks.
- JSONJSON is a language-independent text-based data-interchange format that represents structured values using objects, arrays, strings, numbers, booleans, and null.
- knowledge graphA knowledge graph is a graph-structured representation of entities and their semantically meaningful relationships, often including associated attributes or facts.
Related concepts
- candidate disambiguationhas part · Candidate disambiguation is the phase of named entity disambiguation that uses contextual and ontology-based evidence to select the intended entity from candidate entities.
- candidate rankinghas part · Candidate ranking is the phase of entity disambiguation that scores and orders possible reference entities using contextual and other evidence.
- candidate selectionhas part · Candidate selection is the phase of entity disambiguation that identifies possible reference entities for a recognized mention.
- knowledge baseuses · A knowledge base is an organized body or representation of information that people or computational systems can consult to support retrieval, reference, reasoning, or tasks.
- named entity recognitioncontrasts with · Named entity recognition is a natural-language-processing task that identifies textual mentions of entities and assigns them categories such as person, organization, or location.
- contextuses · Context is the relevant information, state, or circumstances surrounding an input, decision, or activity that influence its interpretation or behavior.
Questions about disambiguation
What is disambiguation?
Disambiguation is the process of resolving ambiguity by selecting the intended interpretation, entity, or goal among plausible alternatives.
Which Manning books explain disambiguation?
Knowledge Graphs and LLMs in Action, Effective Conversational AI and AI-Powered Search.
What should I know before learning disambiguation?
Manning books that teach disambiguation usually introduce context, knowledge base, JSON and knowledge graph first.
What is the difference between disambiguation and named entity recognition?
Disambiguation is the process of resolving ambiguity by selecting the intended interpretation, entity, or goal among plausible alternatives. Named entity recognition is a natural-language-processing task that identifies textual mentions of entities and assigns them categories such as person, organization, or location.
What are the parts of disambiguation?
Disambiguation includes candidate disambiguation, candidate ranking and candidate selection.
What is disambiguation also called?
Disambiguation is also called Disambiguate.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.


