Yaxin commited on
Commit
3add8cb
·
1 Parent(s): 387d329

Update SemEval2016.py

Browse files
Files changed (1) hide show
  1. SemEval2016.py +22 -1
SemEval2016.py CHANGED
@@ -57,7 +57,7 @@ _CONFIG = [
57
  _VERSION = "0.0.1"
58
 
59
  _HOMEPAGE_URL = "https://alt.qcri.org/semeval2016/task5/index.php?id=data-and-tools/"
60
- _DOWNLOAD_URL = "https://raw.githubusercontent.com/YaxinCui/ABSADataset/main/SemEval2016Task5/{split}/{domain}_{split}_{lang}.xml"
61
 
62
 
63
  class SemEval2016MultiConfig(datasets.BuilderConfig):
@@ -84,6 +84,27 @@ class SemEval2016Multi(datasets.GeneratorBasedBuilder):
84
  description=f"{config} of SemEval2016 specifically designed to aid research in multilingual Aspect Based Sentiment Analysis",
85
  )
86
  for config in _CONFIG
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
87
  ]
88
 
89
  BUILDER_CONFIG_CLASS = SemEval2016MultiConfig
 
57
  _VERSION = "0.0.1"
58
 
59
  _HOMEPAGE_URL = "https://alt.qcri.org/semeval2016/task5/index.php?id=data-and-tools/"
60
+ _DOWNLOAD_URL = "https://raw.githubusercontent.com/YaxinCui/ABSADataset/main/SemEval2016Task5Corrected/{split}/{domain}_{split}_{lang}.xml"
61
 
62
 
63
  class SemEval2016MultiConfig(datasets.BuilderConfig):
 
84
  description=f"{config} of SemEval2016 specifically designed to aid research in multilingual Aspect Based Sentiment Analysis",
85
  )
86
  for config in _CONFIG
87
+ ] + [
88
+ SemEval2016MultiConfig(
89
+ name="restaurants",
90
+ _CONFIG=[config],
91
+ description=f"{config} of SemEval2016 specifically designed to aid research in multilingual Aspect Based Sentiment Analysis",
92
+ )
93
+ for config in _CONFIG[:6]
94
+ ] + [
95
+ SemEval2016MultiConfig(
96
+ name="hotels",
97
+ _CONFIG=[config],
98
+ description=f"{config} of SemEval2016 specifically designed to aid research in multilingual Aspect Based Sentiment Analysis",
99
+ )
100
+ for config in _CONFIG[6:7]
101
+ ] + [
102
+ SemEval2016MultiConfig(
103
+ name="consumer electronics",
104
+ _CONFIG=[config],
105
+ description=f"{config} of SemEval2016 specifically designed to aid research in multilingual Aspect Based Sentiment Analysis",
106
+ )
107
+ for config in _CONFIG[7:]
108
  ]
109
 
110
  BUILDER_CONFIG_CLASS = SemEval2016MultiConfig