chandassu 1.0.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- chandassu-1.0.0/LICENSE +23 -0
- chandassu-1.0.0/PKG-INFO +69 -0
- chandassu-1.0.0/README.md +49 -0
- chandassu-1.0.0/chandassu/Untitled-1.txt +601 -0
- chandassu-1.0.0/chandassu/__intit__.py +1 -0
- chandassu-1.0.0/chandassu/check_lakshanam.py +398 -0
- chandassu-1.0.0/chandassu/ganam.py +177 -0
- chandassu-1.0.0/chandassu/laghuvu_guruvu.py +202 -0
- chandassu-1.0.0/chandassu/nidhi.py +661 -0
- chandassu-1.0.0/chandassu/padya_bhedam.py +461 -0
- chandassu-1.0.0/chandassu/padyam_config.py +180 -0
- chandassu-1.0.0/chandassu/panimuttu.py +52 -0
- chandassu-1.0.0/chandassu/varnamala.py +126 -0
- chandassu-1.0.0/pyproject.toml +30 -0
chandassu-1.0.0/LICENSE
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
Copyright (C) 2025 Boddu Sri Pavan
|
|
2
|
+
|
|
3
|
+
Permission is hereby granted, free of charge, to any person
|
|
4
|
+
obtaining a copy of this software and associated documentation
|
|
5
|
+
files (the “Software”), to deal in the Software without restriction,
|
|
6
|
+
including without limitation the rights to use, copy, modify, merge,
|
|
7
|
+
publish, distribute, sublicense, and/or sell copies of the Software,
|
|
8
|
+
and to permit persons to whom the Software is furnished to do
|
|
9
|
+
so, subject to the following conditions:
|
|
10
|
+
|
|
11
|
+
The above copyright notice and this permission notice shall be
|
|
12
|
+
included in all copies or substantial portions of the Software.
|
|
13
|
+
|
|
14
|
+
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY
|
|
15
|
+
OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
|
|
16
|
+
LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND
|
|
18
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
19
|
+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES
|
|
20
|
+
OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
21
|
+
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
22
|
+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
23
|
+
DEALINGS IN THE SOFTWARE.
|
chandassu-1.0.0/PKG-INFO
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
Metadata-Version: 2.3
|
|
2
|
+
Name: chandassu
|
|
3
|
+
Version: 1.0.0
|
|
4
|
+
Summary: First-ever Python library implementing 'Chandassu', metrical poetry in Telugu Language
|
|
5
|
+
License: MIT
|
|
6
|
+
Author: Boddu Sri Pavan
|
|
7
|
+
Author-email: boddusripavan111@gmail.com
|
|
8
|
+
Requires-Python: >=3.11
|
|
9
|
+
Classifier: Programming Language :: Python :: 3
|
|
10
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
11
|
+
Classifier: Operating System :: OS Independent
|
|
12
|
+
Classifier: Intended Audience :: Science/Research
|
|
13
|
+
Classifier: Topic :: Scientific/Engineering :: Mathematics
|
|
14
|
+
Requires-Dist: numpy (>=1.23.5,<2.0.0)
|
|
15
|
+
Project-URL: Homepage, https://github.com/BodduSriPavan-111/chandassu
|
|
16
|
+
Project-URL: Issues, https://github.com/BodduSriPavan-111/chandassu/issues
|
|
17
|
+
Project-URL: Repository, https://github.com/BodduSriPavan-111/chandassu
|
|
18
|
+
Description-Content-Type: text/markdown
|
|
19
|
+
|
|
20
|
+

|
|
21
|
+
|
|
22
|
+
# chandassu
|
|
23
|
+
Open-source python library implementing Telugu Chandassu.
|
|
24
|
+
|
|
25
|
+
# Benchmarks
|
|
26
|
+
Our proposed algorithm achieved SOTA Chandassu Score of **91.22%**.
|
|
27
|
+
|
|
28
|
+
#### Usage
|
|
29
|
+
Install package using
|
|
30
|
+
```py
|
|
31
|
+
pip install chandassu
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
Check padyam
|
|
35
|
+
```py
|
|
36
|
+
from chandassu.laghuvu_guruvu import LaghuvuGuruvu
|
|
37
|
+
from chandassu.padya_bhedam import check_padyam
|
|
38
|
+
|
|
39
|
+
data= """తొండము నేక దంతమును తోరపు బొజ్జయు వామ హస్తమున్
|
|
40
|
+
మెండుగ మ్రోయు గజ్జెలును మెల్లని చూపులు మందహాసమున్
|
|
41
|
+
కొండొక గుజ్జు రూపమున కోరిన విద్యలకెల్ల నొజ్జవై
|
|
42
|
+
యుండెడి పార్వతీ తనయ యోయి గణాధిప నీకు మ్రొక్కెదన్"""
|
|
43
|
+
|
|
44
|
+
# Generate LaghuvuGuruvu Sequence
|
|
45
|
+
lg_data= LaghuvuGuruvu(data= data).generate()
|
|
46
|
+
|
|
47
|
+
score= check_padyam(
|
|
48
|
+
lg_data= lg_data ,
|
|
49
|
+
type= "vutpalamaala",
|
|
50
|
+
return_micro_score= True,
|
|
51
|
+
verbose= False
|
|
52
|
+
)
|
|
53
|
+
|
|
54
|
+
print(scores)
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
## Notebooks:
|
|
58
|
+
1. web_scrapping.ipynb: Scraper scripts to collect data from andhrabharati.com
|
|
59
|
+
2. Data_Analysis.ipynb: Analyzes data using different visualizations
|
|
60
|
+
3. Chandassu_Generation.ipynb: Generates chandassu for the scraped data
|
|
61
|
+
4. Score_Generation.ipynb: Computes scores by after chandassu generation
|
|
62
|
+
5. Accuracy_Evaluation.ipynb: Benchmarking and accuracy (Chandassu Score) evaluation
|
|
63
|
+
|
|
64
|
+
## Acknowledgements
|
|
65
|
+
Special thanks to Sesha Sai Vadapalli and Kalepu Nagabhushana Rao, maintainers of andhrabharati.com.
|
|
66
|
+
|
|
67
|
+
## Citation
|
|
68
|
+
Goes here
|
|
69
|
+
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+

|
|
2
|
+
|
|
3
|
+
# chandassu
|
|
4
|
+
Open-source python library implementing Telugu Chandassu.
|
|
5
|
+
|
|
6
|
+
# Benchmarks
|
|
7
|
+
Our proposed algorithm achieved SOTA Chandassu Score of **91.22%**.
|
|
8
|
+
|
|
9
|
+
#### Usage
|
|
10
|
+
Install package using
|
|
11
|
+
```py
|
|
12
|
+
pip install chandassu
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
Check padyam
|
|
16
|
+
```py
|
|
17
|
+
from chandassu.laghuvu_guruvu import LaghuvuGuruvu
|
|
18
|
+
from chandassu.padya_bhedam import check_padyam
|
|
19
|
+
|
|
20
|
+
data= """తొండము నేక దంతమును తోరపు బొజ్జయు వామ హస్తమున్
|
|
21
|
+
మెండుగ మ్రోయు గజ్జెలును మెల్లని చూపులు మందహాసమున్
|
|
22
|
+
కొండొక గుజ్జు రూపమున కోరిన విద్యలకెల్ల నొజ్జవై
|
|
23
|
+
యుండెడి పార్వతీ తనయ యోయి గణాధిప నీకు మ్రొక్కెదన్"""
|
|
24
|
+
|
|
25
|
+
# Generate LaghuvuGuruvu Sequence
|
|
26
|
+
lg_data= LaghuvuGuruvu(data= data).generate()
|
|
27
|
+
|
|
28
|
+
score= check_padyam(
|
|
29
|
+
lg_data= lg_data ,
|
|
30
|
+
type= "vutpalamaala",
|
|
31
|
+
return_micro_score= True,
|
|
32
|
+
verbose= False
|
|
33
|
+
)
|
|
34
|
+
|
|
35
|
+
print(scores)
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## Notebooks:
|
|
39
|
+
1. web_scrapping.ipynb: Scraper scripts to collect data from andhrabharati.com
|
|
40
|
+
2. Data_Analysis.ipynb: Analyzes data using different visualizations
|
|
41
|
+
3. Chandassu_Generation.ipynb: Generates chandassu for the scraped data
|
|
42
|
+
4. Score_Generation.ipynb: Computes scores by after chandassu generation
|
|
43
|
+
5. Accuracy_Evaluation.ipynb: Benchmarking and accuracy (Chandassu Score) evaluation
|
|
44
|
+
|
|
45
|
+
## Acknowledgements
|
|
46
|
+
Special thanks to Sesha Sai Vadapalli and Kalepu Nagabhushana Rao, maintainers of andhrabharati.com.
|
|
47
|
+
|
|
48
|
+
## Citation
|
|
49
|
+
Goes here
|