Datasets:
shmuhammad
commited on
Commit
·
17f6233
1
Parent(s):
c79a9e3
Update AfriSenti.py
Browse files- AfriSenti.py +30 -0
AfriSenti.py
CHANGED
@@ -12,6 +12,36 @@
|
|
12 |
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13 |
# See the License for the specific language governing permissions and
|
14 |
# limitations under the License.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
|
16 |
|
17 |
import csv
|
|
|
12 |
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13 |
# See the License for the specific language governing permissions and
|
14 |
# limitations under the License.
|
15 |
+
"""AfriSenti: A Twitter sentiment dataset for 14 African languages"""
|
16 |
+
|
17 |
+
|
18 |
+
|
19 |
+
_HOMEPAGE = "https://github.com/afrisenti-semeval/afrisent-semeval-2023"
|
20 |
+
|
21 |
+
_DESCRIPTION = """\
|
22 |
+
AfriSenti is the largest sentiment analysis benchmark dataset for under-represented African languages---covering 110,000+ annotated tweets in 14 African languages (Amharic, Algerian Arabic, Hausa, Igbo, Kinyarwanda, Moroccan Arabic, Mozambican Portuguese, Nigerian Pidgin, Oromo, Swahili, Tigrinya, Twi, Xitsonga, and yoruba).
|
23 |
+
"""
|
24 |
+
|
25 |
+
|
26 |
+
_CITATION = """\
|
27 |
+
@inproceedings{muhammad-etal-2023-semeval,
|
28 |
+
title="{S}em{E}val-2023 Task 12: Sentiment Analysis for African Languages ({A}fri{S}enti-{S}em{E}val)",
|
29 |
+
author="Muhammad, Shamsuddeen Hassan and
|
30 |
+
Yimam, Seid and
|
31 |
+
Abdulmumin, Idris and
|
32 |
+
Ahmad, Ibrahim Sa'id and
|
33 |
+
Ousidhoum, Nedjma, and
|
34 |
+
Ayele, Abinew, and
|
35 |
+
Adelani, David and
|
36 |
+
Ruder, Sebastian and
|
37 |
+
Beloucif, Meriem and
|
38 |
+
Bello, Shehu Bello and
|
39 |
+
Mohammad, Saif M.",
|
40 |
+
booktitle="Proceedings of the 17th International Workshop on Semantic Evaluation (SemEval-2023)",
|
41 |
+
month=jul,
|
42 |
+
year="2023",
|
43 |
+
}
|
44 |
+
"""
|
45 |
|
46 |
|
47 |
import csv
|