Skip to content

poti1/kjv-compare

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

kjv-compare

A command-line tool to compare Bible translations side by side and analyze their reading difficulty.

Supports 40+ translations, multiple readability strategies, caching, and both text and GUI output.


What it does

  • Fetches a Bible verse from multiple translations at once
  • Scores each translation using readability formulas (Flesch-Kincaid, Gunning Fog, SMOG, and more)
  • Finds the simplest and most complex verse for a given translation across the entire Bible
  • Renders results as text or a bar chart GUI
  • Caches results locally so repeated lookups are instant

Stack

  • Python, textstat, matplotlib (GUI output), sqlite (local cache)

Setup

pip install textstat matplotlib

Usage

Compare a verse across translations:

kjv-compare john3:16

Use a specific readability strategy:

kjv-compare john3:16 --strategy flesch_kincaid_grade
kjv-compare john3:16 --strategy gunning_fog

Show results as a bar chart:

kjv-compare john3:16 --output gui

Grade all verses for a translation (finds simplest and hardest):

kjv-compare --all-for kjv
kjv-compare --all-for asv

List all available translations:

kjv-compare --all-for

Show all available readability strategies:

kjv-compare --show-strategies

Flush cache for current action:

kjv-compare john3:16 --flush

Show bash tab completion setup:

kjv-compare --tab

Readability strategies

  • flesch_kincaid_grade
  • smog_index
  • gunning_fog
  • automated_readability_index
  • coleman_liau_index
  • linsear_write_formula
  • dale_chall_readability_score
  • spache_readability
  • text_standard (default -- aggregated)

Data sources

Verses can be fetched from:

  • code -- bundled local data
  • biblehub -- scraped from BibleHub
  • db -- local SQLite cache

Supported translations

40+ translations including KJV, ASV, ESV, NIV, WEB, Geneva, Tyndale, Wycliffe, LXX, and many more.

Run kjv-compare --all-for to see the full list.

Demo

Compare Complexity of John 3:16:

Verse comparison

Graph it:

Grade level chart

Possible translations avaiable from my local mysword installation:

All-for output

Find simplest and most complex verses (in kjv):

All-for KJV

Other possibilities:

Help

About

A command-line tool to compare Bible translations side by side and analyze their reading difficulty. Supports 40+ translations, multiple readability strategies, caching, and both text and GUI output.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages