Skip to main content

plot

PyPI Downloads PyPI arXiv License Socket Badge

Python library implementing "Chandassu", metrical poetry in global languages.
Currently supported language(s):

  • Telugu

arXiv Preprint: Read Here

Benchmarks

plot

Our algorithm achieves 91.73% accuracy on the proposed Chandassu Score.

Usage

Install package using

pip install chandassu

Check padyam

from chandassu.telugu.laghuvu_guruvu import LaghuvuGuruvu
from chandassu.telugu.padya_bhedam import check_padyam

data= """తొండము నేక దంతమును తోరపు బొజ్జయు వామ హస్తమున్
మెండుగ మ్రోయు గజ్జెలును మెల్లని చూపులు మందహాసమున్
కొండొక గుజ్జు రూపమున కోరిన విద్యలకెల్ల నొజ్జవై
యుండెడి పార్వతీ తనయ యోయి గణాధిప నీకు మ్రొక్కెదన్"""

# Generate LaghuvuGuruvu Sequence
lg_data= LaghuvuGuruvu(data= data).generate()

score= check_padyam( 
                        lg_data= lg_data ,
                        type= "vutpalamaala",
                        return_micro_score= True, 
                        verbose= False
                    )

print(score)

Computational Architecture

plot

  • nidhi.py: Telugu alphabet classification with phonological categorizations
  • panimuttu.py: Vowel-consonant operations utility functions
  • laghuvu_guruvu.py: Prosodic analysis engine with tokenizer and syllabic weight classifier
  • ganam.py: Pattern repository mapping LaghuvuGuruvu sequences to metrical units
  • padyam_config.py: Configuration database for padyam type constraints and rules
  • check_lakshanam.py: Validation module for yati (caesura) and prasa (alliteration)
  • padya_bhedam.py: Main integration module for metrical assessment and evaluation

Notebooks:

  1. web_scrapping.ipynb: Scraper scripts to collect data from andhrabharati.com
  2. Data_Analysis.ipynb: Analyzes data using different visualizations
  3. Chandassu_Generation.ipynb: Generates chandassu for the scraped data
  4. Score_Generation.ipynb: Computes scores by after chandassu generation
  5. Accuracy_Evaluation.ipynb: Benchmarking and accuracy (Chandassu Score) evaluation

Eager to Contribute?

Any data, features, refactoring or your innovative thought, please check here.

Acknowledgements

Special thanks to Sesha Sai Vadapalli and Kalepu Nagabhushana Rao, maintainers of andhrabharati.com.
Appana Mohan Naga Phani Kumar for proofreading our article.
Sincere gratitude to our parents and family members for their continuous support throughout this work.
This work was undertaken with the grace of Sri Ramalinga Chowdeswari Devi.

Citation

@misc{pavan2025computationalsociallinguisticstelugu,
title={Computational Social Linguistics for Telugu Cultural Preservation: Novel Algorithms for Chandassu Metrical Pattern Recognition},
author={Boddu Sri Pavan and Boddu Swathi Sree},
year={2025},
eprint={2510.01233},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={https://arxiv.org/abs/2510.01233},
}

Thank You !

Metadata

Release files for chandassu 2.7.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for chandassu 2.7.2
File Size Uploaded
chandassu-2.7.2.tar.gz 24.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for chandassu 2.7.2
File Interpreter ABI Platform
chandassu-2.7.2-py3-none-any.whl Python 3 none any Details

Total release size: 51.6 kB

Release files / chandassu-2.7.2.tar.gz

Download URL chandassu-2.7.2.tar.gz
Size 24.2 kB
Tags Source
SHA-256 checksum
How to use checksums
50d2c6eff99fd2090058c10a54a3e8b868b23a36bf6c9bf3b52672c2f965f103
BLAKE2b-256 checksum
How to use checksums
93add6e3ee62e6863a13fa821ce4b23e4076fe710d00e7be6ca3419831c72566
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.2 CPython/3.11.4 Windows/10

Release files / chandassu-2.7.2-py3-none-any.whl

Download URL chandassu-2.7.2-py3-none-any.whl
Size 27.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8378e71ae3900b071800a197922319dbaac882cb84794533e5db7cb7d0a27e9d
BLAKE2b-256 checksum
How to use checksums
ba42145dacd66aba74dd6bc6f76c27169f85b67e95b83c910919613c0cb4849b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.2 CPython/3.11.4 Windows/10

Release history Release notifications | RSS feed

This release

2.7.2 This release

2 release files

2.7.1

2 release files

2.7.0

2 release files

2.6.0

2 release files

2.5.0

2 release files

2.4.0

2 release files

2.3.0

2 release files

2.2.0

2 release files

2.1.0

2 release files

2.0.0

2 release files

1.1.0

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page