The program runs in two modes:
- Print gana pattern of verses
- Check if a verse matches a given gana pattern
The program recognizes a subset of ITRANS transliteration format for Sanskrit
A gana pattern is specified as a string containing L
and G
characters.
- L stands for Laghu gana (a short syllable)
- G stands for Guru gana (a long syllable)
Eg:- 'GGLGGLLGLGG' is the pattern for the indra-vajra chandas(meter)