Abolqasem Ferdowsi was born around 940 near Tus, in Khorasan, into the dehqans, the landowning gentry who kept the old stories of Iran. He spent some thirty years putting them into verse and finished in 1010. The Shahnameh, the Book of Kings, runs from the first man and the first king to the fall of the last Sasanian, Yazdegerd, after the Arab conquest of the 640s: some 50,000 couplets, all in one metre.
He wrote it three centuries after the conquest, when Arabic was the language of religion, learning and the court, and Persian was only beginning to be written again. Ferdowsi is famous for keeping his Persian nearly free of Arabic. The line most often quoted for it, that he brought the Persians, عجم, back to life with this Persian, is not in the text given here, and may not be his. Its key word is Arabic.
This is the whole Shahnameh with every Persian word taken out. What is left are the words he let in from Arabic, each one where it falls on its line: 6,409 of the poem's 568,479 words, about one in ninety. From far off they scatter across the dark like stars. Come close and they can be read, with the Persian around them faint, and the couplet under the pointer shows below.
Most of them are the words of war and the court. The commonest are قیصر, qeysar, Caesar, the emperor of Rum, Byzantium; هوا, the air; عنان, the rein; عاج, ivory; سلیح, arms; سنان, the spearhead; the robe of honour, the gift, the vanguard, the centre of the army, the tent, the line of battle. The brightest passage in the book is near its start, the praise of the Prophet, where one word in eleven is Arabic.
Press the deaths to see the second layer. The sections whose headings name a killing or a death are shaded red: 166 of them, the deaths of Iraj, Sohrab, Siavash, Esfandiyar, Rostam and the last Yazdegerd among them, and of lions, dragons, demons and a sorceress. In 282 couplets in them the verse names the killing, the dying or the tomb, and there the red is a line. The Book of Kings is also a book of the dead.
Press ≋ in the corner to take the book apart: the Persian, the Arabic, the deaths, each its own layer. Then press 1 to 3 to see one of them alone.
Which words are Arabic was decided like this. Code put forward every word that might be: those Wiktionary says were borrowed from Arabic, those with letters Persian keeps almost only for Arabic words, those that are Arabic words in Arabic. Claude, a language model, then went through them one by one. Words that came into Persian through Arabic from Greek or Aramaic count, like قلم, the pen. Persian words that went into Arabic and came back in Arabic dress do not, like تاج, the crown, or دهقان, Ferdowsi's own class. Names are left dark: 1,146 of them have an Arabic shape, from Zahhak to Mahmud of Ghazna. The one full count by a scholar, Moïnfar's of 1970, found 706 Arabic words used 8,938 times, in another edition and by his own rules. One word stands out among those left dark: رای, judgement, used 1,026 times, which Wiktionary gives both an Arabic and an Iranian origin; counting it would add a sixth to the Arabic. The list used here is in the code, to be corrected.