liveBook · Manning

Natural language processing

As explained in Knowledge Graphs and LLMs in Action

Natural language processing is the computational analysis, understanding, and generation of human language, including conventional pipelines composed of specialized models.

Natural language processing (NLP) computationally analyzes unstructured human language to identify domain-relevant entities and relationships, supporting automatic knowledge graph construction. section 7.0

A conventional domain-specific NLP workflow commonly chains specialized models:

  • Named entity recognition identifies mentions and classifies people, organizations, locations, or diseases. section 7.0
  • Relation extraction, coreference resolution, entity resolution, and disambiguation add links and normalize references. section 5.3.4
  • LLMs can replace the chained workflow through prompt engineering or fine-tuning, while traditional NLP and LLMs may coexist. section 5.4

Traditional NLP favors fast, inexpensive, CPU-capable, and isolated deployments but requires costly annotation, specialized expertise, and complex maintenance. LLMs reduce initial customization effort but must be weighed against concrete domain and business considerations. section 5.3.4 section 5.4

How Knowledge Graphs and LLMs in Action covers it

How deep it goes
Explains chained extraction models and deployment trade-offs, but stops short of implementation code or model internals.
Examples
Uses people, organizations, locations, and diseases as named-entity categories in raw text.
What it assumes
Assumes unstructured text and knowledge graph goals while introducing named entities and specialized extraction workflows.
What you can do after
Evaluate traditional NLP and LLM workflows for producing domain-specific knowledge graphs.
How it connects
Connects named entity recognition, relation extraction, coreference resolution, entity resolution, disambiguation, knowledge graphs, and LLMs.

Also explained in

Compare how 15 books explain natural language processing →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Knowledge Graphs and LLMs in Action. The section links point to the parts of the book it draws on.