liveBook · Manning

Structured extraction

Structured extraction is the process of identifying specified information in source content and representing it as organized data in a defined structure.

How 4 Manning books explain it

Essential GraphRAG

Structured data extraction is the process of converting information from unstructured sources into machine-readable data organized by explicit fields and relationships.

How it is used
Uses LLMs to convert documents into structured records for filtering, aggregation, retrieval, and knowledge graph construction.
How deep it goes
Explains schema design, prompting guidance, nested objects, enums, graph import, and clause-based chunking without detailing extraction evaluation.
Examples
Demonstrates calendar events, legal contracts, organizations, locations, JSON records, enums, and clause-based document chunks.
What you can do after
Build it from scratch by defining schemas, prompting LLMs, extracting records, and importing results into a graph database.

Read how Essential GraphRAG explains structured extraction →

Natural Language Processing in Action, Second Edition

Information extraction is the automatic identification and structuring of facts, entities, and relations from unstructured text.

How it is used
Supports factual question answering, knowledge-graph construction, chatbot actions, and grounding for generated language.
How deep it goes
Combines patterns, named-entity recognition, coreference resolution, relation extraction, tagging, and parsing, without detailing model internals.
Examples
Demonstrates reminder interpretation and extraction experiments on a Wikipedia article about Timnit Gebru.
What you can do after
Build it with spaCy components, combine extracted results, and populate or query a knowledge graph.

Read how Natural Language Processing in Action, Second Edition explains structured extraction →

Data Analysis with LLMs

Information extraction is the task of identifying and structuring specified facts or entities from text.

How it is used
Turns specified facts in text into structured attributes for tasks such as comparing applicants or compiling biographical data.
How deep it goes
Details prompt components and parsing rows and fields, but does not describe model internals.
Examples
Uses applicant emails to extract names, GPAs, and degrees, and biographies to extract birthplaces and dates.
What you can do after
Build it from scratch by prompting a language model and parsing its response into rows of structured data.

Read how Data Analysis with LLMs explains structured extraction →

D3.js in Action, Third Edition

Data extraction is the process of obtaining selected information from a source such as a web page or document.

How it is used
Supports custom visualizations by converting selected web-page content into structured fields.
How deep it goes
Demonstrates table classification, DOM selection, row iteration, and field collection through a browser-console script.
Examples
Uses Van Gogh painting tables from Wikipedia and extracts titles, image URLs, and mediums for a timeline.
What you can do after
Build it from scratch by extracting selected records from HTML tables in a browser console.

Read how D3.js in Action, Third Edition explains structured extraction →

Related concepts

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.