tylergneill / skrutable

Toolkit for manipulating Sanskrit text with Python
Other
14 stars 3 forks source link

How to see only verses with errors? #4

Open drdhaval2785 opened 3 years ago

drdhaval2785 commented 3 years ago

I am interested in metrical analysis of full texts for text cleanup purposes. When I upload a file for metre analysis, I get back a file with great many details.

Is there a way in which I can tell the code to only return passing (OK) / failing (erroneous) verses by some flag, @tylergneill

tylergneill commented 3 years ago

Hi Dr. Patel, great request. I will implement a toggle switch for it in the "whole file" upload process. Basically, the additional feature will just grep for certain keywords: "asamīcīna", "# eva pādāḥ yuktāḥ", "atha vā". You can get a jump on doing that manually if you like.

drdhaval2785 commented 3 years ago

I already grepped the problematic keywords manually. But raised the issue here, so that it becomes part of code, and nothing is left to manual handling.