abumafrim commited on
Commit
30c065a
1 Parent(s): 749089b

Update Naija-Lexicons.py

Browse files
Files changed (1) hide show
  1. Naija-Lexicons.py +2 -2
Naija-Lexicons.py CHANGED
@@ -113,8 +113,8 @@ class NaijaLexicons(datasets.GeneratorBasedBuilder):
113
  f"""{_DESCRIPTION}"""
114
  ),
115
  text_features={"word": "word"},
116
- machine_translation={'machine_translation': 'machine_translation'},
117
- human_translation={'human_translation': 'human_translation'},
118
  label_classes=["POSITIVE", "NEGATIVE"],
119
  label_column="label",
120
  hau_url=f"https://raw.githubusercontent.com/hausanlp/NaijaSenti/main/data/sentiment-lexicons/{t}/hausa/mixed.csv",
 
113
  f"""{_DESCRIPTION}"""
114
  ),
115
  text_features={"word": "word"},
116
+ machine_translation={'machine': 'machine'},
117
+ human_translation={'human': 'human'},
118
  label_classes=["POSITIVE", "NEGATIVE"],
119
  label_column="label",
120
  hau_url=f"https://raw.githubusercontent.com/hausanlp/NaijaSenti/main/data/sentiment-lexicons/{t}/hausa/mixed.csv",