ambuda icon indicating copy to clipboard operation
ambuda copied to clipboard

Support SARIT, add स्कन्दपुराणम्

Open epicfaace opened this issue 3 years ago • 4 comments
trafficstars

  • Add sarit.py to import from SARIT
  • Make gretil.py more generic so its functions can be reused by sarit parsing code. In a future PR, I will move these functions to a "tei_utils.py" file.
  • Add स्कन्दपुराणम् from SARIT

image

image

epicfaace avatar Aug 07 '22 20:08 epicfaace

So far so good! As part of the test plan, let's make sure the original gretil script still works.

akprasad avatar Aug 08 '22 05:08 akprasad

@akprasad should be ready for review now, and GRETIL import still works.

epicfaace avatar Aug 12 '22 20:08 epicfaace

Actually, there are two issues with skandapuranam:

  1. the TEI XML file is incomplete ("The edition of the Skandapurāṇa is an ongoing project, so far the first 69 Adhyāyas have been covered. As further volumes are published this file will be extended.")
  2. no xml:id attributes in the TEI XML (https://raw.githubusercontent.com/sarit/SARIT-corpus/master/skandapurana.xml):

image

epicfaace avatar Aug 12 '22 21:08 epicfaace

Forgive the late follow-up. At a minimum, any verse/paragraph we display should have an xml:id defined, as this is how we cross-link translations, etc.

akprasad avatar Aug 16 '22 01:08 akprasad