Update README.md
Browse filesDataset statistics updated
README.md
CHANGED
@@ -1,8 +1,23 @@
|
|
1 |
---
|
2 |
license: mit
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
---
|
4 |
# Nepali Metaphor Detection Dataset
|
5 |
|
|
|
|
|
6 |
---
|
7 |
|
8 |
## Dataset Card
|
@@ -10,9 +25,12 @@ license: mit
|
|
10 |
### Dataset Summary
|
11 |
This dataset consists of Nepali-language sentences annotated with **literal** and **metaphorical** labels. It aims to foster research in figurative language understanding, metaphor detection, and linguistic creativity modeling for low-resource languages like Nepali.
|
12 |
|
13 |
-
- **Language**: Nepali
|
14 |
- **Task**: Sentence-level metaphor detection (binary classification)
|
15 |
-
- **Total Sentences**: [
|
|
|
|
|
|
|
16 |
- **Labels**:
|
17 |
- `0`: Literal
|
18 |
- `1`: Metaphorical
|
@@ -27,42 +45,48 @@ Existing datasets for metaphor detection predominantly focus on English and othe
|
|
27 |
|
28 |
### Dataset Structure
|
29 |
Each sample contains:
|
30 |
-
- `
|
31 |
- `label`: 0 (Literal) or 1 (Metaphorical)
|
32 |
|
33 |
Example:
|
34 |
```json
|
35 |
-
{"text": "
|
36 |
```
|
37 |
|
38 |
|
39 |
### Data Splits
|
40 |
Recommended Split:
|
41 |
-
- **Training set**:
|
42 |
-
- **Validation set**:
|
43 |
-
- **Test set**:
|
44 |
|
45 |
-
Stratified sampling ensures class balance across splits.
|
46 |
|
47 |
|
48 |
### Statistics Overview
|
49 |
- Class Distribution:
|
50 |
-
- Literal: [
|
51 |
-
- Metaphorical: [
|
52 |
-
- Avg. Sentence Length: [
|
53 |
-
- Vocabulary Size: [
|
54 |
-
- Longest sentence: [
|
55 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
56 |
|
57 |
|
58 |
### Annotation Process
|
59 |
-
- Annotators: [
|
60 |
-
- Guidelines: Based on literary, cultural, and linguistic cues in Nepali.
|
61 |
- Quality Control: Dual annotation with consensus resolution.
|
62 |
|
63 |
|
64 |
### Licensing
|
65 |
-
- [
|
66 |
- Attribution Required: Yes / No
|
67 |
|
68 |
|
@@ -70,26 +94,23 @@ Stratified sampling ensures class balance across splits.
|
|
70 |
If you use this dataset, please cite:
|
71 |
|
72 |
```
|
73 |
-
@dataset{
|
74 |
title={Nepali Sentence-level Metaphor Detection Dataset},
|
75 |
-
author={
|
76 |
year={2025},
|
77 |
-
url={
|
78 |
}
|
79 |
```
|
80 |
|
81 |
|
82 |
### Ethical Considerations
|
83 |
- Ensure that sentences do not propagate bias or harmful stereotypes.
|
84 |
-
- Acknowledge limitations
|
85 |
- Dataset is intended for research and educational purposes.
|
86 |
|
87 |
|
88 |
### Contact
|
89 |
-
- Maintainer: [
|
90 |
-
- Email: [
|
91 |
-
|
92 |
-
---
|
93 |
-
|
94 |
-
\u2764\ufe0f Good luck for your thesis and dataset release!
|
95 |
|
|
|
|
1 |
---
|
2 |
license: mit
|
3 |
+
task_categories:
|
4 |
+
- text-classification
|
5 |
+
language:
|
6 |
+
- ne
|
7 |
+
tags:
|
8 |
+
- metaphor
|
9 |
+
- figurative
|
10 |
+
- nepali
|
11 |
+
- rupak
|
12 |
+
- simile
|
13 |
+
pretty_name: Rupak by Nabin
|
14 |
+
size_categories:
|
15 |
+
- 1K<n<10K
|
16 |
---
|
17 |
# Nepali Metaphor Detection Dataset
|
18 |
|
19 |
+
Here metaphor includes all kind of figurative speech that can be interpreted diferrently while reading literal and mean differently in meaning. The AarthaAlankaars like Simile,oxymoron, paradox, juxtaposition, personification, proverbs and idioms/phrases are included
|
20 |
+
as a metaphor and thus annotated as metaphor. The classification of these subtypes is not done in dataset.
|
21 |
---
|
22 |
|
23 |
## Dataset Card
|
|
|
25 |
### Dataset Summary
|
26 |
This dataset consists of Nepali-language sentences annotated with **literal** and **metaphorical** labels. It aims to foster research in figurative language understanding, metaphor detection, and linguistic creativity modeling for low-resource languages like Nepali.
|
27 |
|
28 |
+
- **Language**: Nepali
|
29 |
- **Task**: Sentence-level metaphor detection (binary classification)
|
30 |
+
- **Total Sentences**: [4502]
|
31 |
+
- **Total Metaphorical**: [1335]
|
32 |
+
- **Total Literal**: [3057]
|
33 |
+
- **Validation Set**: [110]
|
34 |
- **Labels**:
|
35 |
- `0`: Literal
|
36 |
- `1`: Metaphorical
|
|
|
45 |
|
46 |
### Dataset Structure
|
47 |
Each sample contains:
|
48 |
+
- `Sentence`: Sentence in Nepali.
|
49 |
- `label`: 0 (Literal) or 1 (Metaphorical)
|
50 |
|
51 |
Example:
|
52 |
```json
|
53 |
+
{"text": "सूर्यले पर्वतपछाडि आफ्नो मुख लुकाए पनि तिनको लाली कालो पहाडका टुप्पाहरूमा फैलिँदै थियो। ", "label": 1}
|
54 |
```
|
55 |
|
56 |
|
57 |
### Data Splits
|
58 |
Recommended Split:
|
59 |
+
- **Training set**: 60%
|
60 |
+
- **Validation set**: 20%
|
61 |
+
- **Test set**: 20%
|
62 |
|
63 |
+
**Stratified sampling** ensures class balance across splits.
|
64 |
|
65 |
|
66 |
### Statistics Overview
|
67 |
- Class Distribution:
|
68 |
+
- Literal: [3057,69.60%]
|
69 |
+
- Metaphorical: [1335,30.39%]
|
70 |
+
- Avg. Sentence Length: [7.86] words
|
71 |
+
- Vocabulary Size: [12246] words
|
72 |
+
- Longest sentence: [37 words]
|
73 |
+
```json
|
74 |
+
{"text": "जसरी खोलामा बाढी आउनु भन्दा अघि खोलाछेउको आफ्नो घरको पर्खाललाई मजबुत बनाइयो भने बाढी आउने डरबाट सुरक्षित भइ व्यक्ति अविरल झरीको रातमा पनि आनन्दको निद्रा लिन्छ, त्यस्तै गरी भयानक दुखको परिस्थितिमा पनि यस्तो साधकले धैर्य नहारेको हुन्छ।"}
|
75 |
+
```
|
76 |
+
- Shortest sentence: [1 words]
|
77 |
+
```json
|
78 |
+
{"text": "चन्द्रमुखी"}, {"text": "अर्धाङ्गिनी"}, {"text": "मृगनयनी"}
|
79 |
+
```
|
80 |
|
81 |
|
82 |
### Annotation Process
|
83 |
+
- Annotators: [Nabin Bhusal,Manoj Bhandari and Sudesh Satyal] [Manually Annotated using webapp https://meta4app.web.app/]
|
84 |
+
- Guidelines: Based on literary, cultural, and linguistic cues in Nepali Grammar.
|
85 |
- Quality Control: Dual annotation with consensus resolution.
|
86 |
|
87 |
|
88 |
### Licensing
|
89 |
+
- [Research Only License]
|
90 |
- Attribution Required: Yes / No
|
91 |
|
92 |
|
|
|
94 |
If you use this dataset, please cite:
|
95 |
|
96 |
```
|
97 |
+
@dataset{rupakbynabin,
|
98 |
title={Nepali Sentence-level Metaphor Detection Dataset},
|
99 |
+
author={Nabin Bhusal},
|
100 |
year={2025},
|
101 |
+
url={https://huggingface.co/datasets/bnabin/nepalimetaphorcorpus/}
|
102 |
}
|
103 |
```
|
104 |
|
105 |
|
106 |
### Ethical Considerations
|
107 |
- Ensure that sentences do not propagate bias or harmful stereotypes.
|
108 |
+
- Acknowledge limitations.
|
109 |
- Dataset is intended for research and educational purposes.
|
110 |
|
111 |
|
112 |
### Contact
|
113 |
+
- Maintainer: [Nabin Bhusal]
|
114 |
+
- Email: [nabinbhusal101@gmail.com]
|
|
|
|
|
|
|
|
|
115 |
|
116 |
+
---
|