AI GLOSSARY · AI CONCEPTS

Information extraction

Markdown version · Wikidata Q1662562

Definition

Information extraction (IE) is the automated process of turning unstructured or semi-structured text, such as articles or emails, into structured data, for example names, dates, amounts and the relations between them.

Also called: IE, information extraction NLP, structured data extraction LLM.

In plain language

Information extraction is pulling facts out of free text and putting them in a table. Given a news story, it might fill in the company, the price change and the date. Given a stack of emails, it might list who asked for what by when. It saves retyping and makes text searchable and sortable. It can miss facts, pick the wrong one when two are close, or invent a value if a language model is doing the work. Dates like Friday need context to become real dates. Check a sample of the output against the originals before you load it into anything that matters.

Technical definition

The Stanford textbook Speech and Language Processing says information extraction turns the unstructured information embedded in texts into structured data, for example to populate a relational database. Its chapter covers relation extraction, event extraction, normalizing temporal expressions onto calendar dates, and template filling. IBM describes named entity recognition, relation extraction and event extraction as tasks, and rule-based, supervised classification, sequence labeling and hybrid techniques. With a general language model the task is often done by prompting for output in a fixed format such as JSON.

Worked examples in this catalogue

Catalogue examples point at a skill, guide or coding tool listed on this site, with what to run and what you see. An example marked illustrative describes the item from its own documentation; it was not executed for this page. Platform Scores are our assessment under a published method, not a safety guarantee.

  1. Skill by Skill Almanac · Illustrative, not executed

    text-entity-extractor 41/100 · Provisional, not yet measuredScored · Method v0.2 · How we score

    What you see
    URLs, hashtags, @mentions and ISO or numeric dates pulled from one plain UTF-8 text file, with counts, first line and every line number reported.
    Why it exercises the concept
    It extracts a fixed set of entity types by pattern. It does not find people or organisations.
  2. Skill by Skill Almanac · Illustrative, not executed

    invoice-text-field-extractor 41/100 · Provisional, not yet measuredScored · Method v0.2 · How we score

    What you see
    The invoice number, dates, currency symbols, subtotal, tax, total and line items taken from extracted invoice text, with each field's source reported.
    Why it exercises the concept
    It is field extraction for one document type, and reporting each field's source is how you check the result against the original.
  3. Skill by Skill Almanac · Illustrative, not executed

    html-table-extractor 42/100 · Provisional, not yet measuredScored · Method v0.2 · How we score

    What you see
    Tables from one local HTML file written to JSON or CSV, with merged cells, ragged rows and missing headers reported.
    Why it exercises the concept
    It turns semi-structured markup into structured data. The reports show where the source was ambiguous instead of hiding it.

How it shows up when you use agents

Much agent work is information extraction: read an email thread, a log or a web page and return fields a script can use. In Claude Code or Codex you might ask for a list of dates and owners from meeting notes as JSON. Pattern-based skills handle fixed shapes such as URLs, dates and invoice totals. A language model handles looser text, such as who agreed to what. Finding names and organisations is named entity recognition, one task inside the wider field. A knowledge graph is one place extracted relations can end up.

What breaks when it is misunderstood: model output is read as fact. A model can skip a field or fill one with a plausible guess, and a relative date like Friday is wrong without the document's date. The next action is to validate output against a schema, keep the source line or quote beside every value, and compare a sample with the originals. For scanned files, intelligent document processing adds the steps before extraction.

Common confusions

  • Information extraction versus information retrieval. Retrieval finds documents. Extraction pulls facts out of them.
  • Information extraction versus named entity recognition. Recognition finds and types the names. Extraction goes further, to relations, events and times.
  • Pattern rules versus models. Rules suit fixed formats and are predictable. Models cope with free wording but can be wrong in ways that are harder to spot.
  • Myth. A model that returns valid JSON has returned correct data. Valid format says nothing about whether each value matches the source.

Terms that mention Information extraction

2 terms mention this one

More in AI concepts

Next steps

  1. text-entity-extractor A skill that exercises it.
  2. Intelligent document processing (IDP) Related term.
  3. Named entity recognition (NER) Related term.
  4. All glossary terms A to Z and by family.

Sources

Definitions are written by Skill Almanac from these sources and were checked against them on 2026-11-25. Wikipedia is never the only source.

Review record

Last verified

Drafted by claude-sonnet-5-5; sources and example targets checked by Independent automated source review (OpenAI Codex); not human peer review on 2026-11-25. Last verified .

Change log (4)
  • : Independent automated factual/example review completed. Cached US query estimate aligned to receipt; no traffic promise. Final technical gate recorded separately; publication disabled.
  • : First version.
  • : Verifier pass: applied verifier corrections to unsourced or overstated claims.
  • : Automated review completed; approved for the staged public release. Search indexing is controlled by the release configuration.