Skip to content

Miqra According to the Masorah in an XML format that is simple but not complete

License

Notifications You must be signed in to change notification settings

bdenckla/MAM-XML

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MAM-XML

This repo has an extract of MAM in an XML format that is simple but not complete. See:

  • out/xml-vtrad-bhs for files in this XML format that use BHS versification
  • out/xml-vtrad-sef for files in this XML format that use Sefaria versification

This repo also has a program, py/main_mam4sef.py, that is an example of how the XML can be used. This program uses the XML to create the Sefaria-format (CSV/HTML) version of MAM.

The source of this data is the MAM Google Sheet.

Other versions/formats of MAM (each with their tradeoffs) include:

One obscure-but-cool feature of this XML format is that the <verse> element has attributes that describe the way in which the versification (BHS or Sefaria) differs from MAM's native versification. Here are three abbreviated examples:

<verse osisID="1Sam.24.1"
       contents-corresponds-to="a full verse in MAM"
       osisID-of-MAM-src="1Sam.23.29"/>
<verse osisID="Deut.5.7"
       contents-corresponds-to="less than a full verse in MAM"
       osisID-of-MAM-src="Deut.5.6">
<verse osisID="Josh.21.36"
       contents-corresponds-to="no verse in MAM"/>

As you can see above, these versification-related attributes are contents-corresponds-to and osisID-of-MAM-src. The contents-corresponds-to attribute can take on one of three values:

  • a full verse in MAM
  • less than a full verse in MAM
  • no verse in MAM

The osisID-of-MAM-src attribute complements the first two cases above. It says which verse in MAM this verse fully or partially corresponds to.

About

Miqra According to the Masorah in an XML format that is simple but not complete

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages