sanskrit-kosha / kosha

Repository to store Sanskrit koshas and scripts to process them.
23 stars 16 forks source link

Catch metrical errors #24

Open drdhaval2785 opened 4 years ago

drdhaval2785 commented 4 years ago

There are multiple error reports by Prof. Isaacson that there are metrical errors which help in identifying spelling errors. Make it a part of error checking software.

Currently there is a crude version of it available at https://github.com/sanskrit-kosha/kosha/blob/master/scripts/metrical_error.py.

Not yet part of regular error checking script at https://github.com/sanskrit-kosha/kosha/blob/master/scripts/error_summary.py

This issue tracks the integration of metrical errors as part of regular error checking scripts.

Harunaga-Isaacson commented 4 years ago

This will be very good.

drdhaval2785 commented 3 years ago

http://skrutable.pythonanywhere.com/wholeFile seems to be fine option to upload the file and get the meters identified for the whole file. Will write some small script to screen out the problematic verses i.e. which are not full matches.

drdhaval2785 commented 3 years ago

Currently the skrutable does not allow Arya metre and therefore throws up a lot of false alarms. I have raised an issue at https://github.com/tylergneill/skrutable/issues/3 . Once it gets resolved and if @tylergneill decides to implement https://github.com/tylergneill/skrutable/issues/4, this issue should be closable.

tylergneill commented 3 years ago

Good catch on the āryā/jāti problem. Skrutable can of course identify jāti verses, but its resplit options do still need some calibration. I think I have a fix already, and I hope to finish implementing it in the next few days. Highlighting the problematic passages (tylergneill/skrutable#4) will also be implemented.

drdhaval2785 commented 3 years ago

Thanks