ambuda-org / vidyut

Infrastructure for Sanskrit software. For Python bindings, see `vidyut-py`.
48 stars 21 forks source link

Add support for jati meters #92

Open akprasad opened 6 months ago

akprasad commented 6 months ago

Problem

vidyut-chandas currently supports vrtta meters but not jati meters. Our API returns Vrtta, our internal data is just vrttas, and we cannot recognize anything but vrttas.

Proposed fix

Add support for recognizing jati meters. This seemingly simple feature will require several changes:

akprasad commented 6 months ago

@MSSRPRAD I think this would be a great project to work on.

context on meters.tsv -- I didn't want to serve two files for the frontend, so I put everything in meters.tsv. The data has three columns: meter name in SLP1, format (currently just vrtta), and data. So jatis can be put in the same file with a jati column.