tischendorf
tischendorf copied to clipboard
Add JSON version
This adds a JSON version of the text for use in JS bibles like javascripture.org. To test, run python main.py
in the code
directory.
There are some syntax errors, which I think are caused by this issue: https://github.com/morphgnt/tischendorf/issues/3
@emg Any thoughts on this...
There are some issues with this. There are some instance where the Chapter and verse breaks in this text don't line up with the numbers. This results in output like [,
at the start of a verse or ][
inside a verse, both of which are invalid.
For my purposes I just fix these with a find and replace but it would be better to fix it in the code.
In addition the first verse of Mark 9 gets moved to be the last verse of Mark 8, which I also fix manually. The versification in Acts 24:2/3 is also misaligned.
Also to note that the book names used by this text don't match the OSIS standard, so if you're working with those names you need to map them like this:
1 Corinthians -> I Corinthians 2 Corinthians -> II Corinthians 1 Thessalonians -> I Thessalonians 2 Thessalonians -> II Thessalonians 1 Timothy -> I Timothy 2 Timothy -> II Timothy 1 Peter -> I Peter 2 Peter -> II Peter 1 John -> I John 2 John -> II John 3 John -> III John Revelation -> Revelation of John
I added a couple of commits to address all the issues above. There is still one outstanding item which is that there seem to be some duplicated verses in the middle of John 8. I have just removed these manually from the generated file.
There is also an additional verse break John 1:38, which the KJV doesn't follow. I am fixing my files manually.
There should also be a verse break at the end of 2 Corinthians 13:12 that was missing.