Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 524 Bytes

README.md

File metadata and controls

18 lines (13 loc) · 524 Bytes

Sanskrit Chandas Ganas detection

Modes

The program runs in two modes:

  1. Print gana pattern of verses
  2. Check if a verse matches a given gana pattern

Sanskrit Text Input

The program recognizes a subset of ITRANS transliteration format for Sanskrit

Gana Pattern Specification

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)