MatanBenChorin commited on
Commit
8ee9a4a
·
1 Parent(s): dc39372

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +116 -1
README.md CHANGED
@@ -25,5 +25,120 @@ dataset_info:
25
  dataset_size: 2309665
26
  ---
27
  # Dataset Card for "HebrewMetaphors"
 
 
 
 
28
 
29
- [More Information needed](https://github.com/huggingface/datasets/blob/main/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  dataset_size: 2309665
26
  ---
27
  # Dataset Card for "HebrewMetaphors"
28
+ ### Dataset Summary
29
+ A common dataset for text classification task is IMDb. Large Movie Review Dataset. This is a dataset for binary sentiment classification.
30
+ The first step in our project was to create a Hebrew dataset with an IMDB-like structure but different in that, in addition to the sentences we have, there will also be verb names, and a classification of whether the verb name is literal or metaphorical in the given sentence.
31
+ Using an API, sentences that contained the verbs we selected were pulled from Twitter and Wikipedia and Prodigy was used to classify them. The accuracy of the classification was confirmed by having two different persons classify each line twice.
32
 
33
+ ### Supported Tasks and Leaderboards
34
+ Classification
35
+
36
+ ### Languages
37
+ Hebrew
38
+
39
+ ## Dataset Structure
40
+ The IMDb dataset is a json file with objects containing the text of the review, and a number 0 or 1 which is a negative or positive review
41
+
42
+ For example:
43
+
44
+ ```
45
+ {
46
+ "label": 1, //(pos)
47
+ "text": "A wonderful little production ... "
48
+ }, {
49
+ "label": 0, //(neg)
50
+ "text": ""It actually pains me to say it, but this movie was horrible on every level ..."
51
+ }
52
+ ```
53
+
54
+ After retrieving data from Wikipedia and Twitter, classifying and processing, we received the following data:
55
+
56
+ ```
57
+ {'text': 'מתחיל לאמץ לשלוח את הבגדים למכבסה אחרי טיול לחול כי למי יש כוח לכבס כל כך הרבה בגדים אחרי חופש',
58
+ 'source': 'twitter',
59
+ 'label': 0,
60
+ 'verb': 'לכבס',
61
+ 'tweet_id': '1546803262065606658'},
62
+
63
+ {'text': ' בינג בונג מגיח מן המערב ומתחיל לזרוע הרס בממלכת עוץ',
64
+ 'source': 'wikipedia',
65
+ 'label': 1, //(Metaphor)
66
+ 'verb': 'לזרוע',
67
+ 'tweet_id': None},
68
+
69
+ {'text': 'הם ישתמשו במערבל כדי להפנות את המטוס לשדה התעופה שהם יבחרו וכך לשדוד אותו',
70
+ 'source': 'wikipedia',
71
+ 'label': 0, //(Literal)
72
+ 'verb': 'לשדוד',
73
+ 'tweet_id': None}
74
+ ```
75
+
76
+ As you can see, we have the following fields:
77
+ - 'text': A sentence in Hebrew that was taken from Wikipedia or Twitter that included the verb name.
78
+ - 'source': There are two possible sources for this text: 'twitter' or 'wikipedia'.
79
+ - 'label': Classification of whether the verb name is literal ('label': 0) or metaphorical ('label': 1) in the given sentence.
80
+ - 'verb': A verb name in Hebrew on which the text is labeled.
81
+ - 'tweet_id': If the text was taken from Twitter, the tweet's id, or None if it was retrieved from Wikipedia.
82
+
83
+ In the next section we will explain how we created the dataset.
84
+
85
+ ### Data Statistics
86
+
87
+
88
+ <!-- TABLE_GENERATE_START -->
89
+
90
+ | Verb | After Agreement Between Taggers | Disagreements because of different answers | Disagreements because of different ignores | Total Literals After Agreement | Total Metaphors After Agreement | Split For Train Set | Split For Validation Set | Split For Test Set |
91
+ |---|---|---|---|---|---|------------------|-----------------------|--------------------|
92
+ | lakhalom_twitter | 131 | 42 | 42 | 26 | 105 | 83 | 21 | 27 |
93
+ | lakhalom_wiki | 93 | 53 | 69 | 34 | 59 | 58 | 16 | 19 |
94
+ | lakhatokh_twitter | 220 | 41 | 40 | 100 | 120 | 140 | 36 | 44 |
95
+ | lakhatokh_wiki | 288 | 54 | 6 | 286 | 2 | 182 | 47 | 59 |
96
+ | lauf_twitter | 166 | 8 | 29 | 14 | 152 | 104 | 28 | 34 |
97
+ | lauf_wiki | 172 | 11 | 67 | 161 | 11 | 108 | 28 | 36 |
98
+ | lefareq_twitter | 70 | 109 | 71 | 21 | 49 | 43 | 12 | 15 |
99
+ | lefareq_wiki | 96 | 48 | 213 | 89 | 7 | 60 | 16 | 20 |
100
+ | lehadliq_twitter | 270 | 14 | 19 | 194 | 76 | 172 | 43 | 55 |
101
+ | lehadliq_wiki | 375 | 13 | 13 | 370 | 5 | 239 | 61 | 75 |
102
+ | lekhabes_twitter | 203 | 2 | 26 | 155 | 48 | 129 | 33 | 41 |
103
+ | lekhabes_wiki | 55 | 1 | 0 | 51 | 4 | 34 | 9 | 12 |
104
+ | lekhofef_twitter | 289 | 7 | 11 | 18 | 271 | 183 | 47 | 59 |
105
+ | lekhofef_wiki | 107 | 3 | 6 | 73 | 34 | 67 | 18 | 22 |
106
+ | lerasek_twitter | 141 | 6 | 4 | 18 | 123 | 89 | 23 | 29 |
107
+ | lerasek_wiki | 154 | 3 | 12 | 110 | 44 | 98 | 25 | 31 |
108
+ | levashel_twitter | 280 | 3 | 19 | 264 | 16 | 177 | 46 | 57 |
109
+ | levashel_wiki | 228 | 3 | 19 | 221 | 7 | 144 | 37 | 47 |
110
+ | limkhoq_twitter | 222 | 16 | 22 | 123 | 99 | 141 | 36 | 45 |
111
+ | limkhoq_wiki | 212 | 11 | 29 | 109 | 103 | 134 | 35 | 43 |
112
+ | liqpots_twitter | 178 | 18 | 25 | 77 | 101 | 112 | 29 | 37 |
113
+ | liqpots_wiki | 168 | 6 | 28 | 163 | 5 | 107 | 27 | 34 |
114
+ | liqroa_twitter | 261 | 26 | 16 | 36 | 225 | 166 | 42 | 53 |
115
+ | liqroa_wiki | 226 | 18 | 19 | 147 | 79 | 143 | 37 | 46 |
116
+ | liqtsor_twitter | 256 | 18 | 28 | 43 | 213 | 163 | 41 | 52 |
117
+ | liqtsor_wiki | 167 | 11 | 2 | 99 | 68 | 106 | 27 | 34 |
118
+ | lirqod_twitter | 187 | 14 | 31 | 138 | 49 | 119 | 30 | 38 |
119
+ | lirqod_wiki | 214 | 18 | 34 | 211 | 3 | 135 | 35 | 44 |
120
+ | lishbor_twitter | 185 | 8 | 30 | 38 | 147 | 117 | 30 | 38 |
121
+ | lishbor_wiki | 244 | 6 | 50 | 69 | 175 | 156 | 39 | 49 |
122
+ | lishdod_twitter | 163 | 21 | 16 | 91 | 72 | 102 | 27 | 34 |
123
+ | lishdod_wiki | 209 | 2 | 4 | 209 | 0 | 133 | 34 | 42 |
124
+ | lishtot_twitter | 275 | 6 | 20 | 219 | 56 | 175 | 44 | 56 |
125
+ | lishtot_wiki | 192 | 7 | 2 | 192 | 0 | 122 | 31 | 39 |
126
+ | litkhon_twitter | 280 | 13 | 20 | 44 | 236 | 178 | 45 | 57 |
127
+ | litkhon_wiki | 87 | 0 | 0 | 85 | 2 | 54 | 15 | 18 |
128
+ | litpor_twitter | 193 | 4 | 13 | 26 | 167 | 122 | 31 | 40 |
129
+ | litpor_wiki | 178 | 2 | 14 | 153 | 25 | 113 | 29 | 36 |
130
+ | lizroa_twitter | 246 | 3 | 51 | 11 | 235 | 156 | 40 | 50 |
131
+ | lizroa_wiki | 127 | 2 | 171 | 67 | 60 | 80 | 21 | 26 |
132
+ | total | 7808 | 651 | 1291 | 4555 | 3253 | 4944 | 1271 | 1593 |
133
+
134
+ <!-- TABLE_GENERATE_END -->
135
+
136
+
137
+ ### Contributions
138
+ Created by Doron Ben-chorin, Matan Ben-chorin, Tomer Tzipori, Guided by Dr. Oren Mishali. This is our project as part of computer engineering studies in the Faculty of Electrical Engineering combined with Computer Science at Technion, Israel Institute of Technology. For more cooperation, please contact email:
139
+
140
+ Doron Ben-chorin: doronbh7@gmail.com
141
+
142
+ Matan Ben-chorin: matan.bh1@gmail.com
143
+
144
+ Tomer Tzipori: TomerTzipori@gmail.com