Home / Science / Humanities and archaeology / Digital humanities / Stylometry: Burrows' DeltaTool #413

Stylometry with Burrows' Delta: authorship attribution from word frequencies, in your browser

Paste or open several texts, compare them on their most frequent words with Burrows' Delta, see a clustered heat map of the distances, and find the closest candidate author for a disputed text. Nothing is uploaded.

Keep it one tap away for everyday use.

Bookmark Stylometry: Burrows' Delta?

Press Ctrl + D now. Your browser opens its own bookmark box, where you choose the name and folder.

  1. Open texts
  2. Top words
  3. z-scores
  4. Closest
Nothing is uploadedWorks offline once open

Texts

Opening files adds each one as a text named after the file (plain .txt, UTF-8). Up to 60 texts and 20 MB in all. Delta is far more reliable with texts of 2,000 words or more.

With a disputed text, the means and spreads of each word come from the other texts only (Burrows' method), and the closest author is shown.

What it does

Writers differ less in their rare words than in how often they use the common ones: the, of, and, I, which, just. Burrows’ Delta turns that into a distance. This tool takes several texts and:

  • counts every word and picks the most frequent words of the whole set;
  • works out each word’s relative frequency (% of the text’s words) in every text, and turns it into a z-score: how many standard deviations the text sits above or below the mean of the texts;
  • gives Delta for every pair of texts: the mean absolute difference of their z-scores. Smaller is more alike;
  • draws a clustered heat map with an average-linkage tree, and lists the closest author for a disputed text.

Everything runs in your browser. Your texts are never uploaded and the page works offline once loaded.

How to use it

  1. Press Open text files and choose plain .txt files (you can pick many at once), or paste texts into the box. Each text starts with a line ### Author_title. The part before the first underscore is the author, the same naming the R package stylo uses, so Austen_Emma and Austen_Persuasion count as one author.
  2. Set Most frequent words used. 100 is a common start; studies often try 100 to 1,000 and check the answer does not change.
  3. To attribute a text, choose it as the Disputed text. The means and spreads of the words then come from the other texts only, as Burrows did, so the disputed text does not shape its own yardstick.
  4. Read the ranking, the heat map and the tables, then download the Delta matrix or the word table as CSV, or the whole report as an image, PDF or Word file.

Worked example

Press Use the example. It loads seven short texts written for this tool: two formal letters by “Ashworth”, two chatty diary entries by “Brennan”, two quiet stories by “Coyle”, and an “Unsigned_note”. With 100 most frequent words and the note as the disputed text, two words (they had the same frequency in all six known texts) are left out, so 98 are used. The page shows Unsigned_note is closest to Brennan (mean Delta 0.784). Its Delta to Brennan_diary-one is 0.764 and to Brennan_diary-two 0.804, while Ashworth averages 1.227 and Coyle 1.253. In the tree, the two Ashworth letters join first (Delta 0.548), and the note joins the Brennan texts.

These texts are only about 150 words each, which is far too short for real work; they are just big enough to show how the tool behaves.

Tips

  • Length matters most. Delta becomes trustworthy with texts of several thousand words. For long works, split them into equal chunks (say 5,000 words) and give each chunk its own ### line.
  • Delta always names somebody. It only says which of your candidates is closest, not that any of them wrote the text. Include as many plausible authors as you can, and look at how much closer the winner is than the runner-up.
  • Keep genre and period alike. Letters, plays and novels use common words differently, and so do the 1700s and the 1900s. A genre signal can drown the author signal.
  • Modernised spelling, editors’ notes and headers change the counts. Strip page headers and footnotes first.

FAQ

How are words counted? Letters in any alphabet, lower-cased, with inner apostrophes kept (don’t is one word). Numbers and punctuation are ignored.

Which standard deviation? The sample one (dividing by n − 1), as in stylo’s classic Delta.

Why are some words left out? A word with exactly the same frequency in every reference text has no spread, so its z-score cannot be worked out. The page lists them.

Is my text uploaded? No. Files are read by your browser only, and nothing leaves your device.

Where the numbers come from

  • Method: J. Burrows (2002), "'Delta': a measure of stylistic difference and a guide to likely authorship", Literary and Linguistic Computing 17(3), 267-287. Average-linkage (UPGMA) clustering as in Sokal and Michener (1958).
  • Checked against an independent Python implementation (numpy, scipy.cluster.hierarchy.linkage with average linkage) on the example and four random corpora: word lists identical, every Delta and every merge height to 1e-15.
  • The example texts are made up for this tool in three invented voices; they are not by real authors.

Standard scientific values, such as constants, atomic weights and melting points, are facts found in every textbook; we name where ours were checked. If you are an author or publisher and want a value, a credit or a table changed or removed, tell us and we will act quickly.

Last updated 2026-11-09.

Related tools

Pairwise sequence alignment #172 Align two DNA or protein sequences end to end (global), with free end gaps (semi-global) or by their best-matching stretch (local), with affine gap scores you can set. See the score, identity, similarity and gaps, the alignment in blocks, and a dot plot. Runs in your browser. k-mer counter and spectrum #176 Count every k-letter word in FASTA or FASTQ files (gzip too, any size), with reverse complements together. See the k-mer spectrum, the most common k-mers, a look-up box and a rough genome size from the spectrum's peak. Download the spectrum as CSV. Nothing is uploaded. Topic modelling (LDA) #414 Find the topics in a small collection of letters, notes or articles with latent Dirichlet allocation (collapsed Gibbs sampling): top words per topic, the topic mix of every document, and CSV downloads. Seeded, so runs repeat exactly. Nothing is uploaded. Manuscript image annotator #416 Open photos or scans of a manuscript from your device, draw rectangles and polygons on lines, words or damage, type a transcription and a note for each, and export them as W3C Web Annotation JSON or CSV. Reads a local IIIF manifest. Nothing is uploaded. Correspondence network visualiser #417 Paste or open a list of letters (sender, recipient, date, place) and see the network of correspondents: a force-directed picture, letters per person, degree, strength, betweenness, communities by modularity, and a date filter. CSV and report downloads; nothing is uploaded. Historic calendar converter #415 Convert a date between the Julian and Gregorian calendars (with the 1582 switch), the tabular Islamic (Hijri) calendar, the Hebrew calendar and the Julian Day Number, and find its day of the week. Convert a whole list and download it as CSV.