tylergneill / skrutable

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

Fine graining of verbosity #5

Open drdhaval2785 opened 3 years ago

drdhaval2785 commented 3 years ago

@tylergneill Would it be possible to add some flags for full text analysis

like

--verbosity=1 (Only metre name) --verbosity=2 (metre name + errors) --verbosity=3 (conversion of verse in LG format) --verbosity=4 (the way it is currently shown i.e. full details)

My reason for raising this is - currently, when I open that file in text editor, I can hardly see one verse in one screen. With verbosity level 1, I would be able to weed out extra technical details and see only metre names.

tylergneill commented 3 years ago

The "Scansion Detail" options ("lglgl", "[mora]", "[gaṇa]", "align") do already address much of this, and they do also work in whole-file mode. However, separating the meter name and caveats/errors (levels "1" and "2" here) is not yet possible, but I think it's a nice idea.