shreevatsa / sanskrit

Tool(s) to help read Sanskrit (and other) metrical verse
https://sanskritmetres.appspot.com
GNU General Public License v2.0
72 stars 14 forks source link

User feedback #147

Open RamSury opened 7 months ago

RamSury commented 7 months ago

I have an issue to report about the results for the following input:

तपःस्वाध्यायनिरतं तपस्वी वाग्विदां वरम्।
नारदं परिपप्रच्छ वाल्मीकिर्मुनिपुङ्गवम्॥

The issue is: In identifying the metre section, the name 'pada 3' occurs twice in the output, see below, the second 'pada 3' should be renamed 'pada 4'

Parts: full pattern LGGGLLLGLGGGLGLGGLGLLGGLGGGLLGLG (32 syllables, 50 mātras) exact match for: Anuṣṭup (Śloka) True half_1 pattern LGGGLLLGLGGGLGLG (16 syllables, 25 mātras) half_2 pattern GLGLLGGLGGGLLGLG (16 syllables, 25 mātras) partial match for: Anuṣṭup (Śloka) set([1, 2]) pada_1 pattern LGGGLLLG (8 syllables, 12 mātras) pada_2 pattern LGGGLGLG (8 syllables, 13 mātras) partial match for: bhāṣā set([1, 2, 3, 4]) pada_3 pattern GLGLLGGL (8 syllables, 12 mātras) partial match for: Anuṣṭup (Śloka) set([1, 3]) pada_3 pattern GGGLLGLG (8 syllables, 13 mātras) accidental match for: Anuṣṭup (Śloka) set([2, 4])

shreevatsa commented 7 months ago

Thanks, I sent a commit which I hope should fix this, but maybe not. Will leave it open until I've verified.

shreevatsa commented 7 months ago

[There's some deploy step to AppEngine, I don't think it picks up directly from repo changes… it has been a while and I need to figure it out :-) ]