Skip to content

githubyouser/tr-vs-byz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A comparison between the Byzantine Textform and the KJV Textus Receptus

Source Files

Cleaning up the files

The Byzantine GNT is one file per book, so they need concatenated into one continuous file. On Windows it's easy enough (after renaming them so they are copied in the proper order). copy /b *.csv BYZ-combined.txt

Then both the TR and BYZ files need to be normalized so that we can compare just the Greek text itself. We need to do the following:

  • Strip all Greek polytonic accents and breathing marks
  • Convert all letters to lowercase
  • Remove the header information from the files
  • Remove all book/chapter/verse numbers
  • Remove all punctuation

Script Usage

Just run python normalize.py <input_filename> <output_filename> to clean up a file.

After running normalize.py on each of the original files, we have 2 clean files that can be directly compared as a diff.

git diff KJTR.txt BYZ.txt > compared.diff

The contents of compared.diff file can be copy/pasted into the diff2htmlui template. This gives you a standalone, stacic HTML file that can be hosted anywhere.

Or you can use SSI to include the diff file into the template instead of copy/pasting: <!--#include virtual="compared.diff" -->

Viewing the Results

https://cmp.mrgreekgeek.com/

Now you can view the file in your favorite web browser! It's pretty big, so it takes a lot of resources.

About

Comparing the Greek BYZ and TR

Resources

Stars

Watchers

Forks

Languages