Dear Arlo, Patrick, Domink, and world,

Not sure if this is what you're looking for, but you could try the Sanskrit text alignment tools I put together:

https://chchch.github.io/sanskrit-alignment/docs

Step 1: Make a file like this:

>Ss
yathā samudro 'timahān yathā ca himavān giriḥ| ubhau ratnanidhī khyātau tathā bhāratam ucyate||

>MBh
yathā samudro bhagavān yathā ca himavān giriḥ khyātāv ubhau ratnanidhī tathā bhāratam ucyate

>MBhS
yathā samudro bhagavān yathā merumahāgiriḥ ubhau khyātau ratnanidhī tathā bhāratam ucyate

Step 2: run the helayo text alignment program on it

Step 3: open in the matrix editor and correct any mis-alignments

Step 4: Export as TEI apparatus. Result:

yathā samudro <app n="12"><lem>'timahān </lem><rdg wit="#MBh #MBhS">bhagavān </rdg></app> yathā <app n="24"><lem wit="#MBh">ca himavān </lem><rdg wit="#MBhS">merumahā</rdg></app> giriḥ| <app n="38"><lem>ubhau ratnanidhī khyātau </lem><rdg wit="#MBh">khyātāv ubhau ratnanidhī </rdg><rdg wit="#MBhS">ubhau khyātau ratnanidhī </rdg></app> tathā bhāratam ucyate||

Best,

Charles

On 2021-11-19 01:39, Dominik Wujastyk wrote:
With a bit of programming [of @corresp], that could also display the corresponding
passages. 

I've got a need for that too, for the Sushrutaproject.org. Maybe we should club together and hire someone to do the programming?


_______________________________________________
Indic-texts mailing list
Indic-texts@lists.tei-c.org
http://lists.lists.tei-c.org/mailman/listinfo/indic-texts