bibleapi / bibleapi-rest

Node.js based Bible API RESTful web service
http://www.bibleapi.ws
MIT License
49 stars 12 forks source link

Normalize versification of RST vs KJV #7

Open rkazakov opened 8 years ago

rkazakov commented 8 years ago

Normalize versification of RST vs KJV and other English versions.

See how it's done here: https://github.com/openbibleinfo/Bible-Passage-Reference-Parser/issues/19

Use reversify npm module? https://www.npmjs.com/package/reversify

curiousdannii commented 8 years ago

Is that the Russian Synodal Translation? We may have to change some things to make it work with more than just en_bcv_parser.js.

rkazakov commented 8 years ago

@curiousdannii Yes, that's exactly right! Is it the matter of composing a list of transformations like this? https://github.com/curiousdannii/reversify/blob/master/src/transformations.data

curiousdannii commented 8 years ago

There's a few things to add (you can read the discussion which was just linked to), but the main thing is to add to the list of transformations.

This file lists all of the differences - the RST is called the ru_rusv. You'd want to add entries for whenever it's different from the en_esv.