- Bunning, Alan, ed. King James Textus Receptus Greek New Testament. Center for New Testament Restoration. 2014. (CC BY 4.0)
- Dr. Maurice A. Robinson, The New Testament in the original Greek: Byzantine textform. Wake Forest, North Carolina, USA (Public Domain)
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
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" -->
Now you can view the file in your favorite web browser! It's pretty big, so it takes a lot of resources.