Datasets:
ArXiv:
License:
Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,109 @@
|
|
1 |
-
---
|
2 |
-
license: apache-2.0
|
3 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
---
|
4 |
+
|
5 |
+
# Konkani Figurative Language Corpus (Idioms + Metaphors) ๐
|
6 |
+
|
7 |
+
**A dataset for idiom and metaphor classification in low-resource Konkani.**
|
8 |
+
|
9 |
+
---
|
10 |
+
|
11 |
+
## ๐ Overview
|
12 |
+
|
13 |
+
This dataset extends the Konidioms Corpus (Shaikh et al., 2024) by adding metaphor annotations. It supports binary classification for both idioms and metaphors in Konkani, a multi-script language spoken by approximately 2.5 million people.
|
14 |
+
|
15 |
+
---
|
16 |
+
|
17 |
+
## ๐ Dataset Description
|
18 |
+
|
19 |
+
- **Language**: Konkani (Devanagari script)
|
20 |
+
- **Tasks**:
|
21 |
+
- Idiom Detection (Yes/No)
|
22 |
+
- Metaphor Detection (Yes/No)
|
23 |
+
- **Format**: CSV with the following columns:
|
24 |
+
- `id`: Sentence identifier
|
25 |
+
- `sentence`: The Konkani sentence
|
26 |
+
- `idiom`: `Yes` or `No`
|
27 |
+
- `metaphor`: `Yes` or `No`
|
28 |
+
- `split`: `train` or `test`
|
29 |
+
- **Size**:
|
30 |
+
- 6,520 idiom-annotated sentences
|
31 |
+
- 500 metaphor-annotated sentences
|
32 |
+
- **Splits**:
|
33 |
+
- ~80% training
|
34 |
+
- ~20% testing
|
35 |
+
|
36 |
+
---
|
37 |
+
|
38 |
+
## ๐ฏ Motivation
|
39 |
+
|
40 |
+
Konkani is a low-resource language with significant dialect and script variation. Figurative language, particularly metaphors, remains understudied. This dataset allows exploration of idioms and metaphors within a single corpus and supports efficient modeling efforts in underrepresented languages.
|
41 |
+
|
42 |
+
---
|
43 |
+
|
44 |
+
## ๐งฐ Baseline Model
|
45 |
+
|
46 |
+
From the paper: [Pruning for Performance: Efficient Idiom and Metaphor Classification in Low-Resource Konkani Using mBERT](https://arxiv.org/abs/2506.02005)
|
47 |
+
|
48 |
+
- **Model**: mBERT + BiLSTM
|
49 |
+
- **Optimization**: Gradient-based attention head pruning
|
50 |
+
- **Result**: Comparable performance to full mBERT with fewer parameters
|
51 |
+
|
52 |
+
---
|
53 |
+
|
54 |
+
## ๐งช Example Use Cases
|
55 |
+
|
56 |
+
- Figurative language analysis in Indic languages
|
57 |
+
- Efficient multilingual transformer training
|
58 |
+
- Evaluation of pruning strategies for model compression
|
59 |
+
- Cross-lingual transfer learning in low-resource contexts
|
60 |
+
|
61 |
+
---
|
62 |
+
|
63 |
+
## ๐ฅ Usage
|
64 |
+
|
65 |
+
```bash
|
66 |
+
# Clone the repository (if applicable)
|
67 |
+
git clone <your-repo-url>
|
68 |
+
cd konkani-figurative-corpus
|
69 |
+
|
70 |
+
# Load the dataset in Python
|
71 |
+
import pandas as pd
|
72 |
+
df = pd.read_csv("konidioms_metaphors.csv")
|
73 |
+
print(df.head())
|
74 |
+
```
|
75 |
+
|
76 |
+
---
|
77 |
+
|
78 |
+
## ๐ Citation
|
79 |
+
|
80 |
+
If you use this dataset, please cite:
|
81 |
+
|
82 |
+
```bibtex
|
83 |
+
@article{do2025pruning,
|
84 |
+
title={Pruning for Performance: Efficient Idiom and Metaphor Classification in Low-Resource Konkani Using mBERT},
|
85 |
+
author={Do, Timothy and Saran, Pranav and Poojary, Harshita and Prabhu, Pranav and OโBrien, Sean and Sharma, Vasu and Zhu, Kevin},
|
86 |
+
journal={arXiv preprint arXiv:2506.02005},
|
87 |
+
year={2025}
|
88 |
+
}
|
89 |
+
```
|
90 |
+
|
91 |
+
---
|
92 |
+
|
93 |
+
## ๐ License
|
94 |
+
|
95 |
+
Released under the [CC-BY 4.0 License](https://creativecommons.org/licenses/by/4.0/).
|
96 |
+
|
97 |
+
---
|
98 |
+
|
99 |
+
## โ ๏ธ Limitations
|
100 |
+
|
101 |
+
- Limited metaphor annotations (500 examples)
|
102 |
+
- Only Devanagari script supported
|
103 |
+
- Domain-specific language bias possible
|
104 |
+
|
105 |
+
---
|
106 |
+
|
107 |
+
## ๐ Contributions
|
108 |
+
|
109 |
+
Contributions welcome! Please open an issue or pull request for improvements or additional data.
|