A test of whether tree-building methods recover the family tree of ten old versions of the Panchatantra that Franklin Edgerton worked out by hand in 1924, using his record of which parts of the original each version keeps.

The Panchatantra's family tree

Can a computer rebuild it from the text alone? A test against the answer a scholar worked out by hand in 1924

The Panchatantra may be the most travelled book India has produced. By 1914 the German scholar Johannes Hertel had recorded more than two hundred versions in over fifty languages, about three-quarters of them languages from outside India. A Persian physician, Burzoe, translated it into Pahlavi in the sixth century. From that translation came the Arabic Kalila wa Dimna, and by the eleventh century the book had reached Europe.

In 1924 the American Sanskritist Franklin Edgerton set out to rebuild the lost original from ten of the oldest versions. To do it he first had to work out, by hand, how those ten are related. He also printed a 67-page table showing which sections and verses of the original each version keeps.

That table is what the Ramayana pilot lacked: a full record of what each version has and what it leaves out. So here is the test. Given only Edgerton's table, do the tree-building methods behind Older than writing find the family tree he found?

Short answer: yes, once you correct for one trap. Read naively, the table groups versions by how much they cut, not by descent. Corrected for that, it finds four of Edgerton's six families, three of them in every resampled tree and the fourth in 86%. The stories that later versions added point, more weakly, to a fifth.

of Edgerton's six families recovered from the corrected record of what each version cut

The answer to check against

Edgerton's family tree, redrawn

Starred names are lost versions he inferred; italics mark translations out of Sanskrit. Dashed ochre lines are second sources: three of the ten versions drew on more than one manuscript line. Hover for each version.

Redrawn from Edgerton, The Panchatantra Reconstructed, vol. 2 (1924), table on p. 48. His six groupings that the tests below look for: the two Pahlavi translations; the two Brihatkatha versions; the Nepalese and the Hitopadesha; those two with the Southern Panchatantra; the two Jain versions; and those two with the Tantrakhyayika.

The evidence

What each version kept of the original

Each column is ten consecutive sections or verses of Edgerton's reconstruction, from the start of the book to the end. Darker means more of them survive in that version. Hover for the share.

Test one: count the shared gaps

The textbook method treats a passage two versions both lack as a sign of common descent. Run on Edgerton's table, it groups the Hitopadesha with Somadeva and Kshemendra in every resampled tree. In Edgerton's tree those three have nothing in common, except that they are the three versions that kept the least.

Plain parsimony groups the versions that cut the most

Groups found in at least 30% of 500 trees rebuilt from resampled passages. Ochre marks a group Edgerton also draws; the grey line under each name gives the share of the original each member kept.

Cutting looks like kinship. Two editors who each drop a dull passage, independently, look as if they inherited the same gap. The heavier the cutting, the more of these false matches. The Ramayana pilot's strongest group, the Buddhist and Jain tellings, also rested mostly on what those tellings leave out.

Test two: correct for how much each version cut

A fairer question: do two versions share more gaps than their cutting rates would produce by chance? A version that kept half the text and one that kept a third would share about a sixth of their gaps by accident alone. The left chart shows how far each pair is above or below that. The right chart is the tree that measure builds.

Shared gaps beyond chance

Correlation of gaps between each pair of versions (0 means no more than chance). Dark outlines mark Edgerton's pairs.

The corrected tree

Groups found in at least half of 1,000 trees rebuilt from resampled passages. Ochre: a group Edgerton also draws.

The corrected tree finds the Pahlavi pair, the Brihatkatha pair and the Jain pair in every resampled tree, and the Southern family (Southern Panchatantra, Nepalese, Hitopadesha) in 86%. A tree drawn at random would contain four or more of Edgerton's six groups about .

It misses two. It pairs the Nepalese verses with the Southern Panchatantra rather than with the Hitopadesha. And it cannot place the Tantrakhyayika, which kept 97% of the text and so shares almost no gaps with anyone. It also joins the Brihatkatha and Pahlavi versions (80%), a grouping Edgerton does not draw.

Test three: the stories added along the way

Gaps are losses. Edgerton's strongest evidence was the opposite: stories that entered the book after the original and were passed down with it. He names eight added stories found in more than one version, and four changes of order.

Added stories and changes of order

Filled dot: the version has it. Hollow: it does not. Blank: not recorded or not applicable. Hover for Edgerton's page.

Six of the added stories turn up in the Tantrakhyayika and the two Jain versions, and nowhere else except Kshemendra. On these characters, the Tantrakhyayika joins the Jain pair in of resampled trees: the fifth of Edgerton's families, weakly.

Kshemendra is the odd one out. By its gaps it is Somadeva's twin; by its added stories it sits with the Tantrakhyayika. Edgerton's explanation is that Kshemendra retold the Brihatkatha but also used a Tantrakhyayika manuscript. A tree cannot draw a version with two parents. The conflict in the data is the trace of it.

The scorecard

Edgerton's six families, three tests

Share of resampled trees containing each family. The dashed line is 50%.

Two readings

Reading one: one book, many copies

This is Edgerton's view. There was a single original Panchatantra, a definite composition, and every old version descends from it. He considered the alternative, that the versions were drawn from a loose pool of fables, and rejected it, because they keep nearly the same stories in the same order. The chart below bears him out for Book I. Only the Hitopadesha reshuffles, and the Pahlavi moves one story.

The tests agree. With a full record and one correction, a method that knows nothing of Edgerton's arguments rebuilds most of his tree.

Reading two: a living tradition

Even Edgerton's own tree is not a tree. Kshemendra and Purnabhadra drew on more than one source, and Edgerton marks the Hitopadesha's second source with a question mark. Purnabhadra, in 1199, merged two lines and added many stories of his own; Narayana rebuilt the book as the Hitopadesha.

The method recovers the copying, but the versions that shaped how the book was read are the ones a tree cannot hold. The two families it misses are both on branches where Edgerton himself draws a version with two parents or an unknown source.

The stories of Book I keep their order

Each line is one of the 17 stories Edgerton places in the original Book I, followed through nine versions. Flat lines mean the same position. The Hitopadesha, which spreads these stories across two books, is left out.

What this means for the Ramayana

The first Ramayana test found a whisper, not a tree. This test suggests why. Its data were scholarly summaries, which rarely record what a telling leaves out. And its strongest group rested on omissions, the same kind of evidence that here groups the abridgers. So the Ramayana test was redone the same way: episodes read from the texts themselves, with a correction for cutting. Done that way, a family of mainstream tellings shows up clearly, though most of the specific lines of descent scholars draw still do not.

Limits

Data

Both tables are free to reuse: the record of which parts of the original each version keeps, as read from Edgerton's scans, and the added stories and order changes, with page references.