FOIA Analyser

Procedures

How documents are processed and analysed

Every record on this site goes through the same documented procedure, from the archive it was found in to the networks, timelines and briefs built from it. This page explains each step, what it produces, and where its limits are.

Overview

The work happens in three stages. Collect: locate records in public archives and choose the ones most likely to matter. Read: transcribe every page from its image and pull out the facts it contains. Understand: merge the facts across thousands of pages into people, agencies, places, events and the links between them. Each new record also feeds the next search: the file numbers, names and dates it contains become leads to more records.

The processing pipelineSources feed acquisition, then two-tier OCR, extraction, resolution of names, and the analyses readers see: networks, timeline, briefs, redaction analysis and findings. New identifiers found in documents feed back into the search for more records.1 · COLLECT2 · READ3 · UNDERSTANDPublic sourcesNational Archives Catalog APICIA & FBI reading roomsGWU National Security ArchiveOfficial reports · Internet ArchiveSelection & rankingTopic keywords, file numbers,senders, dates, near-duplicatesOriginal storedEvery page image kept, linked to sourceOCR, tier 1Vision model transcribes every pageand flags handwriting, damage, figuresOCR, tier 2Stronger model re-reads flagged pages:handwriting, faint carbons, marginsExtractionFrom / to / cc, agencies, officespeople, places, dates, eventsclassification, document typeredactions, figures, file numbersName resolutionSpellings, initials, codenames mergedNetworks & timelineWho links to whom; dated eventsBriefs & findingsCited summaries; press-checked findingsRedaction analysisLocated on scans; guesses labelledFeedback loop: new file numbers, names and dates found in each page become search terms for the next round.
Figure 1. The processing pipeline. Each box is a stage described below. The dashed line is the feedback loop that finds related records.

1. Finding records

An investigation starts with a topic. The topic is first researched on the open web to build a working list of keywords, the people involved and their roles, organisations, places and the relevant date range. Those terms are used to search public collections:

  • the National Archives Catalog, through its official API, including the presidential libraries;
  • the CIA and FBI electronic reading rooms;
  • the National Security Archive at George Washington University;
  • congressional, inspector general and independent counsel reports;
  • public mirrors of released records, such as the Internet Archive.

Records already in the collection are searched first, using their existing text, so an investigation produces results before anything new is bought or downloaded. Government OCR, where it exists, is used only for this finding step, because it is often wrong.

Choosing what to read

Each candidate is scored. The strongest signals are pattern matches with records already read: the same file number, box or series; the same sender or recipient; names that appear in the topic; and dates inside the period under study. Candidates are then checked for duplicates. The same file published by two archives is caught by its address and title. Copies with different scans are caught by comparing their text, after setting aside the cover sheets and release stamps that many unrelated files share. Records that turn out to be off topic are set aside, but kept and indexed: nothing is thrown away.

How records are chosenA topic is researched on the open web to build keywords, names and dates. Catalogs are searched with those terms and with identifiers found in records already read. Candidates are scored, near-duplicates removed and the best are added within the budget.TopicWeb research buildskeywords, people, roles,places and date rangeSearchCatalog APIs and archives,plus identifiers pulledfrom records already readScoreFile-number and seriesmatches, correspondents,names, date windowAddBest records withinthe page budgetare downloadedFilterSame file elsewhere?Same text, minus sharedcover sheets and stamps?Off topic? Set aside.Nothing is thrown away.A record judged unrelated is kept andindexed; it may matter to a later topic.
Figure 2. How records are chosen. Identifiers pulled from records already read (dashed line) are the most reliable route to related files.

The chosen records are downloaded once and stored, page by page, together with a link back to the original. Each document page on this site shows the original scan beside its transcription.

2. Reading every page

Every page is transcribed from its image by a vision AI model, following strict archival rules: copy the text exactly as written, keep original spellings and abbreviations, and never guess. Unreadable words are marked [illegible]; uncertain ones are marked as uncertain. Handwritten additions, margin notes, crossed-out text, stamps, classification markings, redactions and figures are each marked in the transcription so they are not lost or mistaken for typed text.

The first reading also flags what makes a page hard: handwriting, margin notes, damage, figures and redactions. Hard pages, and pages whose first reading looks unreliable, are read again by a stronger model. This two-tier approach puts the cost where it is needed: most typed pages are cheap to read well, and the hard ones get the extra care.

Two-tier readingEvery page image is transcribed by a fast vision model that also reports whether the page has handwriting, margin notes, damage, figures or redactions. Flagged or low-quality pages are re-read by a stronger model. The government's own OCR text is used only to find documents, never as the transcription.Scanned pageTier 1 transcriptionVerbatim text, line by line[HW: …] handwriting[REDACTED: (b)(1), ~3 words][FIGURE 1: diagram — …][illegible] never guessedPage flagshandwritingmargin notesdegraded copyfiguresredactionsTier 2 re-readHard pages: stronger modelAcceptedClean typed pagesExisting government OCR is used only to find records. Every transcription shown on the site is made fresh from the page image.
Figure 3. Two-tier reading. Flagged pages (orange) go to the stronger second reading; clean typed pages are accepted after the first.

3. Extracting the facts

Each transcribed page is then read for structured facts:

  • Origin and destination: the sending and receiving agency, office and person, including copies and routing;
  • People: full names, surnames, first names, initials, titles, nicknames, codenames and e-mail IDs;
  • Places: from countries down to cities, airfields, buildings, offices and addresses;
  • Dates: the date of the document and every date it mentions, with how precise each one is;
  • Events: what happened, who took part and where, and what kind of evidence the page offers for it;
  • The record itself: its original classification, document type, file and control numbers;
  • Redactions and figures: where text was withheld, under which exemption, and any images.

Every extracted item keeps the exact words it came from and the page it was found on. This is what lets every later claim on the site be traced back to its source.

What is extracted from a pageAn example memo with its header fields, classification, people, places, dates, events, redactions and file numbers each tagged and stored as linked data.SECRETMEMORANDUM FOR: Director, Central America Task ForceFROM: Deputy Chief, Latin America DivisionDATE: 12 July 1985 REF: IC 022501. On 10 July, a C-123 left Ilopangofor Aguacate carrying supplies for theFDN. Sourcereports thatCol. North was informed.(b)(1) (b)(3)Illustrative example, not a real record.RECIPIENT · officeSENDER · officeDATE 1985-07-12 · FILE NO. IC 02250EVENT · flight, 10 Jul 1985PLACES · Ilopango, AguacateREDACTION · ~1 name, (b)(1)PERSON · Oliver North (public role)ORG · FDNCLASSIFICATION · SECRETTYPE · memorandumEvery item keeps the exact words it came from and its page.
Figure 4. What is extracted from a page. An illustrative memo. Each tag becomes a linked record: the person, the places, the event and the file number all get their own pages.

4. Names, networks and the timeline

The same person can appear dozens of ways: “Lt Col North”, “O. North”, “Ollie”, or an NSC e-mail ID. Name resolution merges these into one person, and does the same for agencies, offices and places, while keeping different people who share a surname apart. A country named as a party to a cable is treated as the same place named elsewhere.

From the merged records three networks are built: people, agencies and documents. A line joins two nodes when the records connect them: one wrote to the other, they appear together, or two documents share a file number. Each line records what kind of connection it is and the pages that show it. Select a line to see them.

Every dated event goes on the timeline, coloured by the kind of evidence behind it:

  • Official finding: a conclusion stated by an official inquiry.
  • Court record: from an indictment, ruling or other court paper.
  • Fact stated: stated as fact in the record.
  • Testimony: said under oath or in an interview.
  • Plan or proposal: something proposed or planned, not necessarily done.
  • Allegation: claimed, not established.
  • Administrative: filing, routing and release dates.

Dates are shown only as precisely as the record states them: a year-only date shows the year, not an invented day.

From mentions to networksDifferent spellings of a name are merged into one person. People, agencies and documents become nodes; a line between two nodes records how they are connected and the pages that show it. Dated events form the timeline.Mentions on pages“Lt Col North”“O. North”“Ollie”“NSOLN” (e-mail ID)“North, Oliver L.”Oliver Northone person pageNetworkNorthPoindexterCIAMemoselect a line → its pagesTimeline1984Boland Amendment1985Arms to Iran1986Diversion memo1986Hasenfus shot down1987Hearings
Figure 5. From mentions to networks and the timeline. Five spellings become one person; people, agencies and documents become a network; dated events become the timeline.

5. Figures and graphics

Photographs, maps, diagrams, charts, tables and hand-drawn sketches are identified on each page. Each is described in words, any text inside it is transcribed, and its significance is related to the rest of the page. They are collected on the Figures and maps page. Routine marks such as ticks, circled numbers, initials and exemption codes are not counted as figures.

6. Reading around redactions

Withheld passages are found twice: as markers in the transcription, and as black bars or outlined white boxes on the scan itself. The two are matched by their position on the page, so hovering over a redaction in the text highlights it on the scan, and the reverse.

For each redaction the system weighs the clues around it: how much space it takes, the exemption code beside it, the people, places and subjects on the page, and whether another released copy of the same record shows the missing words. Results fall into three tiers:

  • Finding: another release of the same record shows what was withheld;
  • Speculation: an informed suggestion of what kind of information it was, with ranked candidates and reasons, always marked “AI speculation — unverified”;
  • Structural: routine withholding such as file numbers or page furniture, hidden by default.
Reading around redactionsBlack bars and white boxes are found on the page image and matched to the redaction markers in the transcription by their position. For each, the surrounding text, the size of the gap and other released copies are used to suggest what kind of information was withheld. Every suggestion is labelled as unverified AI speculation unless another release shows the actual words.Bars and white boxes found on the scanMatched to the text…the shipment was arranged by[REDACTED: (b)(3), ~2 words] throughthe account in Geneva…Hover either one: both light upClues weighedGap size and exemption codeWho and what the page mentionsOther releases of the same recordAI SPECULATION — UNVERIFIEDLikely a person's nameTwo words, (b)(3) intelligence exemption,sits where an arranger is named.Candidates, ranked, with reasonsTurns into a finding only when anotherreleased copy shows the actual words.Private individuals’ names stay masked.
Figure 6. Reading around a redaction. Location on the scan, the clues weighed, and how a suggestion is labelled.

7. Judging significance

Not every page matters equally. Each page is scored for interest and quality, so that the most revealing material (handwritten notes, internal disagreements, money trails, contradictions between releases) rises to the top of lists and searches. Topic findings bring the strongest of these together on the home page.

Findings, and the most interesting pages, are then checked against the press. Each is marked as previously reported, related coverage only, or no coverage found, with the articles that were found. This is how the site separates what is already known from what has never been published.

8. Person, place, agency and event pages

Every person, agency, place and event has its own page: a short brief with key points, a longer account where the records support one, the documents that mention it, its own timeline and network, and maps for places. Every statement in a brief is tied to numbered sources that open the page it came from. Public figures are shown with a freely licensed photograph from Wikimedia Commons, credited to its author, when one can be matched with confidence.

9. Safeguards

The aim is to expose official conduct, not to expose private citizens or to dress up guesses as facts. Five rules apply everywhere on the site:

SafeguardsOfficials acting in their public roles are named; private individuals are shortened to first name and initial. Every claim links to its page. Speculation is labelled. Findings are checked against the press. Spending is capped.Public roles namedOfficials and public figures appear by name, with their documented roles.Private people protectedPrivate individuals are shown as “First L.” unless public sources already name them.Every claim has a pageBriefs, links and events point to the exact page and words they rest on.Guesses are labelledAnything inferred, such as redaction guesses, is marked unverified AI speculation.Checked against the pressFindings record whether major outlets already reported them, and where.
Figure 7. Safeguards. Pages that would reveal private personal identifiers are withheld from public view.

10. Investigations and funding

Reading new records costs money, so new investigations are funded with credits. An investigation first searches the records already collected, then, with enough budget, fetches and reads new records, follows the leads they contain, and continues until its budget or the available records run out. Each step is charged only for what it used; leftovers return to the funder. See Pricing.

How credits are spentCredits bought go to your wallet. Starting or funding an investigation moves a budget into it. Each step reserves a small amount, is charged what it actually used, and releases the rest. Whatever is left when the investigation ends returns to your wallet.Buy credits1 credit = 1¢bonus on larger packsWalletKept until you use itfund any investigationInvestigation budgetYou choose the amount;others can add to public onesEach stepReserve a few credits,charge only what was usedUnused credits come back: when a step costs less than reserved, or theinvestigation runs out of records, the rest returns to your wallet.
Figure 8. How credits are spent. The same accounting applies to every investigation, public or private.

11. Limits

  • Transcription can be wrong, especially on faded or handwritten pages. Every transcription sits beside its scan so it can be checked.
  • Extraction and name resolution can miss or merge things. Every link and event shows the pages behind it.
  • Redaction suggestions are speculation unless marked as a finding. Treat them as leads, not facts.
  • The collection is only as complete as what has been released and found so far.

When something here matters to your work, read the original page. That is what the site is built to make easy.