bnabin commited on
Commit
ae271ef
·
verified ·
1 Parent(s): 5f7d37b

Update README.md

Browse files

Dataset statistics updated

Files changed (1) hide show
  1. README.md +48 -27
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 (\u0928\u0947\u092a\u093e\u0932\u0940)
14
  - **Task**: Sentence-level metaphor detection (binary classification)
15
- - **Total Sentences**: [Fill exact number here]
 
 
 
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
- - `text`: Sentence in Nepali.
31
  - `label`: 0 (Literal) or 1 (Metaphorical)
32
 
33
  Example:
34
  ```json
35
- {"text": "\u0924\u0940\u0916\u094b \u0932\u0940\u0915 \u091c\u0938\u094d\u0924\u094b \u092e\u093e\u0928\u0947 \u091d\u0928\u094d\u091d\u0932\u094d\u091b \u0915\u0940 \u0915\u094b \u091d\u093e\u0928\u0947.", "label": 1}
36
  ```
37
 
38
 
39
  ### Data Splits
40
  Recommended Split:
41
- - **Training set**: 70%
42
- - **Validation set**: 15%
43
- - **Test set**: 15%
44
 
45
- Stratified sampling ensures class balance across splits.
46
 
47
 
48
  ### Statistics Overview
49
  - Class Distribution:
50
- - Literal: [fill %]
51
- - Metaphorical: [fill %]
52
- - Avg. Sentence Length: [fill value] words
53
- - Vocabulary Size: [fill value] words
54
- - Longest sentence: [fill words]
55
- - Shortest sentence: [fill words]
 
 
 
 
 
 
56
 
57
 
58
  ### Annotation Process
59
- - Annotators: [state if manually annotated or semi-automated]
60
- - Guidelines: Based on literary, cultural, and linguistic cues in Nepali.
61
  - Quality Control: Dual annotation with consensus resolution.
62
 
63
 
64
  ### Licensing
65
- - [Choose one: CC BY 4.0 / CC0 / Research Only License]
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{your_name_2025_nepali_metaphor,
74
  title={Nepali Sentence-level Metaphor Detection Dataset},
75
- author={Your Name},
76
  year={2025},
77
- url={Link to repository or HuggingFace}
78
  }
79
  ```
80
 
81
 
82
  ### Ethical Considerations
83
  - Ensure that sentences do not propagate bias or harmful stereotypes.
84
- - Acknowledge limitations due to cultural specificity.
85
  - Dataset is intended for research and educational purposes.
86
 
87
 
88
  ### Contact
89
- - Maintainer: [Your Name]
90
- - Email: [your.email@example.com]
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
+ ---