shabados/gurmukhi-utils

Add Pingal/Syllable Counter

sarabveer opened this issue · 7 comments

This would be able give a count of syllables in a line for poetry.

All 35 Akhars including bindi chars count as 1 syllable.

There are 2 types of lagamatras, Harasv and Dheerag. Harasv doesn't count as a syllable, and Dheerag is 1 syllable.

Pairin Akhars also do not count as a syllable.

All other characters (such as Dandian) should be skipped.

Can you please provide a range of test lines and their count for testing?

@bhajneet I was planning on doing that, it is required anyway

page1
page2
page3

Are there different schools of thought on counting? Is there a more preferred/popular/common rule set compared to others? Just wondering

Are there different schools of thought on counting? Is there a more preferred/popular/common rule set compared to others? Just wondering

I am not aware of different schools of thought on counting.