Parallel Reading

Setup

Installation

The texts were sourced from public-domain GitHub repositories and converted to AsciiDoc + plain text using Python scripts stored alongside each corpus.

Clone and convert RV1909 (Spanish Bible — Reina-Valera 1909)
git clone https://github.com/aruljohn/Reina-Valera.git /tmp/reina-valera-source
cd ~/atelier/_bibliotheca/Principia/02_Assets/DIS-SPANISH/La_Reina_Valera
python3 scripts/convert-json-to-adoc.py
python3 scripts/convert-json-to-txt.py
rm -rf /tmp/reina-valera-source
Clone and convert KJV (English Bible — King James Version)
git clone https://github.com/aruljohn/Bible-kjv.git /tmp/kjv-source
# Run conversion script (stored in kjv-bible/scripts/)
python3 convert-kjv.py
rm -rf /tmp/kjv-source
Clone and convert WLC (Hebrew Tanakh — Westminster Leningrad Codex)
git clone https://github.com/Rikartt/Hebrew-Bible-JSON-with-Nikkud.git /tmp/hebrew-bible
cd ~/atelier/_bibliotheca/Principia/02_Assets/DIS-HEBREW/Tanakh
python3 scripts/convert-json-to-tanakh.py
rm -rf /tmp/hebrew-bible

Shell Aliases

Add to ~/.zshrc — persistent scripture path variables
# Scripture corpus paths (Principia PKMS)
export RV="$HOME/atelier/_bibliotheca/Principia/02_Assets/DIS-SPANISH/La_Reina_Valera"
export WLC="$HOME/atelier/_bibliotheca/Principia/02_Assets/DIS-HEBREW/Tanakh"
export KJV="$HOME/atelier/_bibliotheca/Principia/02_Assets/LRN-LITERATURE/sacred/kjv-bible"

Text Format

All three corpora use identical plain-text format — one verse per line:

BookName Chapter:Verse Text
Examples
Genesis 1:1 In the beginning God created the heaven and the earth.
Génesis 1:1 En el principio creó Dios los cielos y la tierra.
בְּרֵאשִׁית 1:1 בְּרֵאשִׁ֖ית בָּרָ֣א אֱלֹהִ֑ים אֵ֥ת הַשָּׁמַ֖יִם וְאֵ֥ת הָאָֽרֶץ׃

Corpus Inventory

Corpus Translation Books Verses License

RV1909

Reina-Valera 1909

66

31,099

Public domain

KJV

King James Version

66

31,102

Public domain

WLC

Westminster Leningrad Codex

39 (OT only)

23,213

Public domain

Single Verse Lookup

Look up a verse in English
grep 'Genesis 1:1 ' "$KJV/kjv_complete.txt"
Output
Genesis 1:1 In the beginning God created the heaven and the earth.
Look up a verse in Spanish
grep 'Génesis 1:1 ' "$RV/biblia_rv1909_completa.txt"
Output
Génesis 1:1 En el principio creó Dios los cielos y la tierra.
Look up a verse in Hebrew
grep 'בְּרֵאשִׁית 1:1 ' "$WLC/tanakh_completa.txt"
Output
בְּרֵאשִׁית 1:1 בְּרֵאשִׁ֖ית בָּרָ֣א אֱלֹהִ֑ים אֵ֥ת הַשָּׁמַ֖יִם וְאֵ֥ת הָאָֽרֶץ׃

Parallel Verse (Trilingual)

Side-by-side — English, Spanish, Hebrew on one line
paste <(grep 'Genesis 1:1 ' "$KJV/kjv_complete.txt") \
      <(grep 'Génesis 1:1 ' "$RV/biblia_rv1909_completa.txt") \
      <(grep 'בְּרֵאשִׁית 1:1 ' "$WLC/tanakh_completa.txt")
Output
Genesis 1:1 In the beginning God created the heaven and the earth.	Génesis 1:1 En el principio creó Dios los cielos y la tierra.	בְּרֵאשִׁית 1:1 בְּרֵאשִׁ֖ית בָּרָ֣א אֱלֹהִ֑ים אֵ֥ת הַשָּׁמַ֖יִם וְאֵ֥ת הָאָֽרֶץ׃
Bilingual parallel — Spanish + Hebrew only
paste <(grep 'Génesis 1:1 ' "$RV/biblia_rv1909_completa.txt") \
      <(grep 'בְּרֵאשִׁית 1:1 ' "$WLC/tanakh_completa.txt")

Full Chapter Reading

Read Psalm 23 in English
grep 'Psalms 23:' "$KJV/Old_Testament/19_Psalms/Psalms.txt"
Read Psalm 23 in Spanish
grep 'Salmos 23:' "$RV/Antiguo_Testamento/19_Salmos/Salmos.txt"
Read Psalm 23 in Hebrew
grep 'תְּהִלִּים 23:' "$WLC/Ketuvim/27_Tehillim/Tehillim.txt"
Parallel chapter — verse-aligned with column formatting
paste <(grep 'Psalms 23:' "$KJV/Old_Testament/19_Psalms/Psalms.txt") \
      <(grep 'Salmos 23:' "$RV/Antiguo_Testamento/19_Salmos/Salmos.txt") \
  | column -t -s $'\t'
Count occurrences of a word across the entire KJV
grep -c 'grace' "$KJV/kjv_complete.txt"
Count across the entire RV1909
grep -c 'gracia' "$RV/biblia_rv1909_completa.txt"
Output
253
Search a word in the NT only (Spanish)
grep -r 'gracia' "$RV/Nuevo_Testamento/" --include='*.txt'
Search a Hebrew root across the Tanakh
grep -c 'אֱלֹהִים' "$WLC/tanakh_completa.txt"

Word Frequency

Top 20 words in a book (skipping book name and verse ref)
awk '{for(i=3;i<=NF;i++) w[$i]++} END{for(k in w) print w[k],k}' \
    "$KJV/Old_Testament/01_Genesis/Genesis.txt" \
  | sort -rn | head -20

Cross-Lingual Verse Lookup

Find a verse in one language, show the parallel by extracting chapter:verse
ref=$(grep -m1 'grace' "$KJV/New_Testament/49_Ephesians/Ephesians.txt" | awk '{print $2}')
echo "=== English ===" && grep "Ephesians $ref" "$KJV/New_Testament/49_Ephesians/Ephesians.txt"
echo "=== Spanish ===" && grep "Efesios $ref" "$RV/Nuevo_Testamento/49_Efesios/Efesios.txt"
Cross-lingual lookup for NT books uses KJV + RV only. WLC covers OT only (39 books).

Torah Parallel Mapping

Table 1. Directory mapping between KJV, RV1909, and WLC for the five books of Moses
Book KJV RV1909 WLC

Genesis

Old_Testament/01_Genesis/

Antiguo_Testamento/01_Genesis/

Torah/01_Bereshit/

Exodus

Old_Testament/02_Exodus/

Antiguo_Testamento/02_Exodo/

Torah/02_Shemot/

Leviticus

Old_Testament/03_Leviticus/

Antiguo_Testamento/03_Levitico/

Torah/03_Vayikra/

Numbers

Old_Testament/04_Numbers/

Antiguo_Testamento/04_Numeros/

Torah/04_Bamidbar/

Deuteronomy

Old_Testament/05_Deuteronomy/

Antiguo_Testamento/05_Deuteronomio/

Torah/05_Devarim/

Trilingual Torah parallel — Genesis 1
paste <(grep 'Genesis 1:' "$KJV/Old_Testament/01_Genesis/Genesis.txt") \
      <(grep 'Génesis 1:' "$RV/Antiguo_Testamento/01_Genesis/Genesis.txt") \
      <(grep 'בְּרֵאשִׁית 1:' "$WLC/Torah/01_Bereshit/Bereshit.txt")

File Locations (Principia)

~/atelier/_bibliotheca/Principia/02_Assets/
├── LRN-LITERATURE/sacred/kjv-bible/
│   ├── kjv_complete.txt                    # 31,102 verses
│   ├── Old_Testament/01_Genesis/           # .adoc + .txt per book
│   └── New_Testament/40_Matthew/
├── DIS-SPANISH/La_Reina_Valera/
│   ├── biblia_rv1909_completa.txt          # 31,099 verses
│   ├── Antiguo_Testamento/01_Genesis/
│   └── Nuevo_Testamento/40_Mateo/
└── DIS-HEBREW/Tanakh/
    ├── tanakh_completa.txt                 # 23,213 verses
    ├── Torah/01_Bereshit/
    ├── Neviim/12_Yeshayahu/
    └── Ketuvim/27_Tehillim/