Coder Social home page Coder Social logo

world-english-bible's Introduction

A folder full of JSON files containing a programmatic version of the World English Bible.

Besides the verse text, contains all of the metadata needed to print the text with proper formatting.

Each JSON file contains a flat array of objects.

The file names are all the book names from the books-of-the-bible package, lowercased, with spaces removed.

Some examples:

[
/* snip */
	{
		"type": "paragraph start"
	},
	{
		"type": "paragraph text",
		"chapterNumber": 9,
		"verseNumber": 17,
		"sectionNumber": 1,
		"value": "“Now therefore, our God, listen to the prayer of your servant, and to his petitions, and cause your face to shine on your sanctuary that is desolate, for the Lord’s sake.  "
	},
	{
		"type": "paragraph text",
		"chapterNumber": 9,
		"verseNumber": 18,
		"sectionNumber": 1,
		"value": "My God, turn your ear, and hear. Open your eyes, and see our desolations, and the city which is called by your name; for we do not present our petitions before you for our righteousness, but for your great mercies’ sake.  "
	},
	{
		"type": "paragraph text",
		"chapterNumber": 9,
		"verseNumber": 19,
		"sectionNumber": 1,
		"value": "Lord, hear. Lord, forgive. Lord, listen and do. Don’t defer, for your own sake, my God, because your city and your people are called by your name.” "
	},
	{
		"type": "paragraph end"
	},
	{
		"type": "break"
	},
	{
		"type": "paragraph start"
	},
	{
		"type": "paragraph text",
		"chapterNumber": 9,
		"verseNumber": 20,
		"sectionNumber": 1,
		"value": "While I was speaking, and praying, and confessing my sin and the sin of my people Israel, and presenting my supplication before Yahweh my God for the holy mountain of my God;  "
	},
	{
		"type": "paragraph text",
		"chapterNumber": 9,
		"verseNumber": 21,
		"sectionNumber": 1,
		"value": "yes, while I was speaking in prayer, the man Gabriel, whom I had seen in the vision at the beginning, being caused to fly swiftly, touched me about the time of the evening offering.  "
	},
	{
		"type": "paragraph text",
		"chapterNumber": 9,
		"verseNumber": 22,
		"sectionNumber": 1,
		"value": "He instructed me and talked with me, and said, Daniel, “I have now come to give you wisdom and understanding.  "
	},
	{
		"type": "paragraph text",
		"chapterNumber": 9,
		"verseNumber": 23,
		"sectionNumber": 1,
		"value": "At the beginning of your petitions the commandment went out, and I have come to tell you; for you are greatly beloved. Therefore consider the matter, and understand the vision. "
	},
	{
		"type": "paragraph end"
	},
/* snip */
]
[
/* snip */
	{
		"type": "paragraph start"
	},
	{
		"type": "paragraph text",
		"chapterNumber": 2,
		"verseNumber": 1,
		"sectionNumber": 1,
		"value": "Hannah prayed, and said: "
	},
	{
		"type": "paragraph end"
	},
	{
		"type": "stanza start"
	},
	{
		"type": "line text",
		"chapterNumber": 2,
		"verseNumber": 1,
		"sectionNumber": 2,
		"value": "“My heart exults in Yahweh! "
	},
	{
		"type": "line break"
	},
	{
		"type": "line text",
		"chapterNumber": 2,
		"verseNumber": 1,
		"sectionNumber": 3,
		"value": "My horn is exalted in Yahweh. "
	},
	{
		"type": "line break"
	},
	{
		"type": "line text",
		"chapterNumber": 2,
		"verseNumber": 1,
		"sectionNumber": 4,
		"value": "My mouth is enlarged over my enemies, "
	},
	{
		"type": "line break"
	},
	{
		"type": "line text",
		"chapterNumber": 2,
		"verseNumber": 1,
		"sectionNumber": 5,
		"value": "because I rejoice in your salvation. "
	},
	{
		"type": "line break"
	},
	{
		"type": "line text",
		"chapterNumber": 2,
		"verseNumber": 2,
		"sectionNumber": 1,
		"value": "There is no one as holy as Yahweh, "
	},
	{
		"type": "line break"
	},
	{
		"type": "line text",
		"chapterNumber": 2,
		"verseNumber": 2,
		"sectionNumber": 2,
		"value": "for there is no one besides you, "
	},
	{
		"type": "line break"
	},
	{
		"type": "line text",
		"chapterNumber": 2,
		"verseNumber": 2,
		"sectionNumber": 3,
		"value": "nor is there any rock like our God. "
	},
	{
		"type": "line break"
	},
	{
		"type": "stanza end"
	},
/* snip */
]

Object types:

  • paragraph start
  • paragraph end
  • paragraph text
  • stanza start
  • stanza end
  • line text
  • line break
  • break

line text and line break will only occur between stanza start and stanza end objects.

paragraph text will only occur between paragraph start and paragraph end objects.

world-english-bible's People

Contributors

tehshrike avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

world-english-bible's Issues

Extra Item in Deuteronomy Chapter 32

Thank you very much for publishing this repository. I am hoping to use the World English Bible in a Bible quiz game I am working on. Currently I used the KJV. I wrote a test that compared the number of verses in each chapter in the KJV to the WEB, and I ran into a few mismatches. The first mismatch occurred in Deuteronomy Chapter 32.

There is an extra empty item in Deuteronomy Chapter 32.

See https://github.com/TehShrike/world-english-bible/blob/master/json/deuteronomy.json#L7289

Include Deuterocanon

I was wondering if you’d be open to including a few books from the deuterocanon? The files are in the HTML but not built in the build-html

New "type" value of header in psalms not listed & object errors within psalms

I was checking through the psalms. Once you get to ch3, there's a "type" key with the value of "header". This is not listed in your main page under object types.

Issue:
The stanza which starts for the 1st psalm does not end until the 2nd psalm ends. I think the intention is for each stanza to start and end when each psalm starts and ends.

Issue:
Right after the line-break to end chapter 1 in psalms and right before the line text for ch.2, there's a an object of type "line text" that just has a single space for a value. This line text also has ch number of 2 but verse number of 6 making it out of order. since right after it the proper order starts with ch2 verse 1

Edit: Another Issue: This occurs after the header for the 7th psalm. It's an error.
{
"type": "line text",
"chapterNumber": 7,
"verseNumber": 10,
"sectionNumber": 1,
"value": " "
},

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.