Lexical Biblicality Calculator

If you’re seeing this, something broke in the script.

Legend: yes; yes, but only capitalized; no; not counted as a word. Word list is the KJV.

What is this and how does it work?

About

This online tool by Haley Halcyon (me) calculates how many words in a given text are, literally, in the Bible. The “lexical biblicality” of a text is the percentage of words that are in the Bible.

This Web app was coded in like 30 minutes followed by lots of CSS tweaking, inspired by Matt Rose’s video on “None of these words are in the Bible” posts. This was made for comedic purposes only, and does not intend to provide any religious or spiritual value or commentary. :P

Source

The data comes from Project Gutenberg’s online copy of the King James Bible, and was scraped using a Python script.

The King James Version was chosen because it’s the most popular version in the United States, and also because its “outdated” lexicon should provide comedic value by virtue of lacking common words like “has”, which was “hath” back then.

If you prefer a different, more modern translation (like the New International Version, maybe), feel free to Ctrl+S this HTML document and replace the word list at the start of the <script> tag! You have my blessing approval to upload the alternate version on your Neocities blog with credit.

Design decisions

The script distinguishes words that appear in all-lowercase and words that only appear capitalized, in order to filter out words that are most likely proper nouns. (And “I”. And “Finally”, oddly enough.)

Only body text (text within a <p> tag in the HTML version) is counted, not the title or the names of the books, which is why the word “Bible” is “not in the Bible”.

What’s not counted as a word?

A string that contains numerals is not counted as a word. This is because I had to filter out all the chapter and verse numbers from the text.

The apostrophe is not counted as a letter. To correct for this quirk, the “-’s” ending is counted as “not a word” if it follows an apostrophe, but the letter “s” is counted as “not in the Bible”.

Coded with ♥ by Haley Halcyon