Datasets:
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,4 +1,16 @@
|
|
| 1 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
|
| 3 |
## Overview
|
| 4 |
|
|
@@ -38,6 +50,36 @@ dataset_creation: |
|
|
| 38 |
Example entry:
|
| 39 |
हु,परस्मैपद,लट्,प्रथम पुरुष,एकवचन,जुहोति
|
| 40 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 41 |
## License
|
| 42 |
|
| 43 |
This dataset is shared under [Creative Commons Attribution 4.0 International License](https://creativecommons.org/licenses/by/4.0/).
|
|
@@ -71,4 +113,4 @@ For questions, suggestions, or personalized dataset requests, please:
|
|
| 71 |
- Contact us directly at: sales@processvenue.com
|
| 72 |
- Visit our website: [www.processvenue.com](https://www.processvenue.com/)
|
| 73 |
|
| 74 |
-
We welcome feedback and are committed to supporting the NLP and language learning communities.
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-nc-sa-4.0
|
| 3 |
+
task_categories:
|
| 4 |
+
- text-classification
|
| 5 |
+
- text-generation
|
| 6 |
+
- text2text-generation
|
| 7 |
+
language:
|
| 8 |
+
- sa
|
| 9 |
+
pretty_name: Sanskrit Verb Forms Dataset
|
| 10 |
+
size_categories:
|
| 11 |
+
- 10K<n<100K
|
| 12 |
+
---
|
| 13 |
+
# Sanskrit Verb Forms Dataset (संस्कृत धातु रूप संग्रह)
|
| 14 |
|
| 15 |
## Overview
|
| 16 |
|
|
|
|
| 50 |
Example entry:
|
| 51 |
हु,परस्मैपद,लट्,प्रथम पुरुष,एकवचन,जुहोति
|
| 52 |
|
| 53 |
+
## Usage
|
| 54 |
+
|
| 55 |
+
```python
|
| 56 |
+
from datasets import load_dataset
|
| 57 |
+
|
| 58 |
+
# Load the dataset
|
| 59 |
+
dataset = load_dataset("Process-Venue/hindi-verb-forms")
|
| 60 |
+
|
| 61 |
+
# Access the training split
|
| 62 |
+
train_data = dataset["train"]
|
| 63 |
+
|
| 64 |
+
# Get a sample
|
| 65 |
+
sample = train_data[0]
|
| 66 |
+
print(f"Verb root: {sample['धातु']}")
|
| 67 |
+
print(f"Form: {sample['पद']}")
|
| 68 |
+
print(f"Tense: {sample['लकार']}")
|
| 69 |
+
print(f"Person: {sample['पुरुष']}")
|
| 70 |
+
print(f"Number: {sample['वचन']}")
|
| 71 |
+
print(f"Conjugated form: {sample['रूप']}")
|
| 72 |
+
|
| 73 |
+
# Filter by specific verb
|
| 74 |
+
bhuu_verb = train_data.filter(lambda example: example['धातु'] == 'भू')
|
| 75 |
+
print(f"Number of forms for 'भू': {len(bhuu_verb)}")
|
| 76 |
+
|
| 77 |
+
# Get all forms for a specific tense
|
| 78 |
+
lat_tense = train_data.filter(lambda example: example['लकार'] == 'लट्')
|
| 79 |
+
print(f"Number of verb forms in 'लट्' tense: {len(lat_tense)}")
|
| 80 |
+
```
|
| 81 |
+
|
| 82 |
+
|
| 83 |
## License
|
| 84 |
|
| 85 |
This dataset is shared under [Creative Commons Attribution 4.0 International License](https://creativecommons.org/licenses/by/4.0/).
|
|
|
|
| 113 |
- Contact us directly at: sales@processvenue.com
|
| 114 |
- Visit our website: [www.processvenue.com](https://www.processvenue.com/)
|
| 115 |
|
| 116 |
+
We welcome feedback and are committed to supporting the NLP and language learning communities.
|