Giter Club home page Giter Club logo

Comments (4)

schierlm avatar schierlm commented on June 20, 2024

Hello,

No need to apologize at all, the versification support in BibleMultiConverter is not the best and I also first had to think for a while how to get your text file easiest into a supported versification format. (It is not a .bmcv file, so probably best name it .txt not to get confused).

The format I'd use is CCEL, as it is the most similar to your text file and is the only supported format which will automatically fill the bible with "identity mappings" for all verses that exist in both versifications and do not have a mapping defined. However, it is XML, and verse references (including book names) follow OSIS conventions, so you will need to edit your file slightly that it looks like this:

  <refMap from="Afr20" to="KJV">
     <map from="Exod.5.24" to="Exod.6.1" />
     <map from="Exod.6.1" to="Exod.6.2" />
     <map from="Exod.6.2" to="Exod.6.3" />
     [...]
  </refMap>

I would then convert the USFM Bible to Diffable format, as this is an intermediary format which can be parsed quickly and does not lose any information (at least in your case where the destination format is not a Paratext format):

java -jar BibleMultiConverter.jar USFM c:\Afr20\Raw Diffable Afr20.bbl

Then, create a verse list from that bible and store into db1.bmcv file, to then export as CCEL into Afr20.ccel.xml:

java -jar BibleMultiConverter.jar Versification db1.bmcv import Bible Diffable Afr20.bbl Afr20 VERSES
java -jar BibleMultiConverter.jar Versification db1.bmcv export CCEL afr20.ccel.xml Afr20

Now open afr20.ccel.xml in a text editor, and before the final line </refSys> add your RefMap. db1.bmcv is no longer needed.

Create the final afr20.bmcv file by first importing the KJV versification (built into BibleMultiConverter) and then importing the Afr20 versification and mapping from the CCEL file.

java -jar BibleMultiConverter.jar Versification afr20.bmcv import KJV
java -jar BibleMultiConverter.jar Versification afr20.bmcv import CCEL afr20.ccel.xml

You can now list the contents of your bmcv file and verify if your versification indeed covers all the verses in your input versification:

java -jar BibleMultiConverter.jar Versification afr20.bmcv list

Next I'd have a look at the options of VersificationMappedDiffable format and decide which suit you best:

java -jar BibleMultiConverter.jar help VersificationMappedDiffable

A possible way to proceed now would be:

java -jar BibleMultiConverter.jar Diffable Afr20.bbl VersificationMappedDiffable Afr.KJV.bbl afr20.bmcv Afr20/KJV ShowNumbers
java -jar BibleMultiConverter.jar Diffable Afr20.KJV.bbl TheWord Afr20.ont

Hope this helps. If anything is unclear, feel free to ask.

(May I ask if your versification .txt file has some particular source and more files of that format exist? In that case, it might make sense to add an importer of that format to BibleMultiConverter so that you just need to import both versifications into the db file (so the program knows which verses exist that need to be unmapped) and then import that text file into the db file, skipping the ccel export and re-import.)

from biblemulticonverter.

WJSwan1945 avatar WJSwan1945 commented on June 20, 2024

from biblemulticonverter.

WJSwan1945 avatar WJSwan1945 commented on June 20, 2024

from biblemulticonverter.

schierlm avatar schierlm commented on June 20, 2024

Your command line is missing at least an output file name.

See also java -jar BibleMultiConverter.jar help Accordance and https://github.com/schierlm/BibleMultiConverter#accordance-export for some more Accordance export options. For example, you can convert footnotes to italic or colored text in parentheses (you won't get real footnotes), or convert footnote marks to superscript numbers and put the actual footnote text at the end of the verse..

from biblemulticonverter.

Related Issues (20)

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.