Published March 31, 2026 | Version v1.0.0
Software Open

kmein/shloka: v1.0.0

Authors/Creators

  • 1. ROR icon Humboldt-Universität zu Berlin

Description

This dataset and software package provide a comprehensive metrical analysis of the Anuṣṭubh verses found in the great Indian epic, the Mahābhārata. Using a computational approach, the project extracts, scans, and categorizes verses to identify patterns, variations, and statistical distributions of the most common Sanskrit meter.

The repository includes the full pipeline for:

  • Metrical Scansion: Algorithmic identification of light (laghu) and heavy (guru) syllables.
  • Comparative Analysis: Data generation for both the Mahābhārata and Rāmāyaṇa in CSV format.
  • Statistical Visualization: A Jupyter Notebook detailing the findings through descriptive statistics and visualizations.

Technical Infrastructure

To ensure high scientific reproducibility, this project uses:

  • Nix: For deterministic builds and environment management.
  • Haskell: For the core scansion logic and data processing.
  • Jupyter/Python: For statistical analysis and plotting.

Files

kmein/shloka-v1.0.0.zip

Files (12.8 MB)

Name Size Download all
md5:d3014ad88193d56bf40df7976cc79a27
12.8 MB Preview Download

Additional details

Related works

Is supplement to
Software: https://github.com/kmein/shloka/tree/v1.0.0 (URL)

Software

Repository URL
https://github.com/kmein/shloka
Programming language
Haskell , Python , Nix