minor(dev): add labels/citations
Browse files
daiso.py
CHANGED
@@ -989,6 +989,7 @@ LABELS_MAPPING = {
|
|
989 |
}
|
990 |
}
|
991 |
|
|
|
992 |
class DAISOConfig(datasets.BuilderConfig):
|
993 |
"""BuilderConfig for DAISO."""
|
994 |
|
@@ -1037,15 +1038,30 @@ class DAISO(datasets.GeneratorBasedBuilder):
|
|
1037 |
),
|
1038 |
label_classes=LABELS_MAPPING["ami"],
|
1039 |
features=[
|
|
|
|
|
|
|
|
|
|
|
1040 |
],
|
1041 |
data_url={
|
1042 |
"train": _URL + "/ami/train.csv",
|
1043 |
"test": _URL + "/ami/test.csv",
|
1044 |
},
|
1045 |
citation=textwrap.dedent(
|
1046 |
-
"""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1047 |
),
|
1048 |
-
url="",
|
1049 |
),
|
1050 |
DAISOConfig(
|
1051 |
name="oasis",
|
@@ -1055,6 +1071,10 @@ class DAISO(datasets.GeneratorBasedBuilder):
|
|
1055 |
),
|
1056 |
label_classes=LABELS_MAPPING["oasis"],
|
1057 |
features=[
|
|
|
|
|
|
|
|
|
1058 |
],
|
1059 |
data_url={
|
1060 |
"train": _URL + "/oasis/train.csv",
|
@@ -1062,9 +1082,18 @@ class DAISO(datasets.GeneratorBasedBuilder):
|
|
1062 |
"test": _URL + "/oasis/test.csv",
|
1063 |
},
|
1064 |
citation=textwrap.dedent(
|
1065 |
-
"""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1066 |
),
|
1067 |
-
url="",
|
1068 |
),
|
1069 |
DAISOConfig(
|
1070 |
name="maptask",
|
@@ -1074,6 +1103,10 @@ class DAISO(datasets.GeneratorBasedBuilder):
|
|
1074 |
),
|
1075 |
label_classes=LABELS_MAPPING["maptask"],
|
1076 |
features=[
|
|
|
|
|
|
|
|
|
1077 |
],
|
1078 |
data_url={
|
1079 |
"train": _URL + "/maptask/train.csv",
|
@@ -1081,9 +1114,16 @@ class DAISO(datasets.GeneratorBasedBuilder):
|
|
1081 |
"test": _URL + "/maptask/test.csv",
|
1082 |
},
|
1083 |
citation=textwrap.dedent(
|
1084 |
-
"""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1085 |
),
|
1086 |
-
url="",
|
1087 |
),
|
1088 |
DAISOConfig(
|
1089 |
name="mrda",
|
@@ -1093,6 +1133,12 @@ class DAISO(datasets.GeneratorBasedBuilder):
|
|
1093 |
),
|
1094 |
label_classes=LABELS_MAPPING["mrda"],
|
1095 |
features=[
|
|
|
|
|
|
|
|
|
|
|
|
|
1096 |
],
|
1097 |
data_url={
|
1098 |
"train": _URL + "/mrda/train.csv",
|
@@ -1100,18 +1146,31 @@ class DAISO(datasets.GeneratorBasedBuilder):
|
|
1100 |
"test": _URL + "/mrda/test.csv",
|
1101 |
},
|
1102 |
citation=textwrap.dedent(
|
1103 |
-
"""
|
|
|
|
|
|
|
|
|
|
|
|
|
1104 |
),
|
1105 |
-
url="",
|
1106 |
),
|
1107 |
DAISOConfig(
|
1108 |
name="swda",
|
1109 |
description=textwrap.dedent(
|
1110 |
"""\
|
|
|
|
|
|
|
1111 |
"""
|
1112 |
),
|
1113 |
label_classes=LABELS_MAPPING["swda"],
|
1114 |
features=[
|
|
|
|
|
|
|
|
|
1115 |
],
|
1116 |
data_url={
|
1117 |
"train": _URL + "/swda/train.csv",
|
@@ -1119,9 +1178,21 @@ class DAISO(datasets.GeneratorBasedBuilder):
|
|
1119 |
"test": _URL + "/swda/test.csv",
|
1120 |
},
|
1121 |
citation=textwrap.dedent(
|
1122 |
-
"""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1123 |
),
|
1124 |
-
url="",
|
1125 |
),
|
1126 |
DAISOConfig(
|
1127 |
name="frames",
|
@@ -1131,15 +1202,39 @@ class DAISO(datasets.GeneratorBasedBuilder):
|
|
1131 |
),
|
1132 |
label_classes=LABELS_MAPPING["frames"],
|
1133 |
features=[
|
|
|
|
|
|
|
|
|
1134 |
],
|
1135 |
data_url={
|
1136 |
"train": _URL + "/frames/train.csv",
|
1137 |
"test": _URL + "/frames/test.csv",
|
1138 |
},
|
1139 |
citation=textwrap.dedent(
|
1140 |
-
"""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1141 |
),
|
1142 |
-
url="",
|
1143 |
),
|
1144 |
DAISOConfig(
|
1145 |
name="dyda",
|
@@ -1169,7 +1264,7 @@ class DAISO(datasets.GeneratorBasedBuilder):
|
|
1169 |
"Utterance",
|
1170 |
"Dialogue_Act",
|
1171 |
"Emotion",
|
1172 |
-
"
|
1173 |
"Dialogue_Act_ISO"
|
1174 |
],
|
1175 |
data_url={
|
@@ -1179,12 +1274,12 @@ class DAISO(datasets.GeneratorBasedBuilder):
|
|
1179 |
},
|
1180 |
citation=textwrap.dedent(
|
1181 |
"""\
|
1182 |
-
|
1183 |
-
|
1184 |
-
|
1185 |
-
|
1186 |
-
|
1187 |
-
|
1188 |
),
|
1189 |
url="http://yanran.li/dailydialog.html",
|
1190 |
),
|
@@ -1196,15 +1291,27 @@ class DAISO(datasets.GeneratorBasedBuilder):
|
|
1196 |
),
|
1197 |
label_classes=LABELS_MAPPING["dstc3"],
|
1198 |
features=[
|
|
|
|
|
|
|
|
|
1199 |
],
|
1200 |
data_url={
|
1201 |
"train": _URL + "/dstc3/train.csv",
|
1202 |
"test": _URL + "/dstc3/test.csv",
|
1203 |
},
|
1204 |
citation=textwrap.dedent(
|
1205 |
-
"""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1206 |
),
|
1207 |
-
url="",
|
1208 |
),
|
1209 |
DAISOConfig(
|
1210 |
name="dstc8-sgd",
|
@@ -1214,6 +1321,11 @@ class DAISO(datasets.GeneratorBasedBuilder):
|
|
1214 |
),
|
1215 |
label_classes=LABELS_MAPPING["dstc8-sgd"],
|
1216 |
features=[
|
|
|
|
|
|
|
|
|
|
|
1217 |
],
|
1218 |
data_url={
|
1219 |
"train": _URL + "/dstc8-sgd/train.csv",
|
@@ -1221,9 +1333,18 @@ class DAISO(datasets.GeneratorBasedBuilder):
|
|
1221 |
"test": _URL + "/dstc8-sgd/test.csv",
|
1222 |
},
|
1223 |
citation=textwrap.dedent(
|
1224 |
-
"""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1225 |
),
|
1226 |
-
url="",
|
1227 |
),
|
1228 |
|
1229 |
]
|
|
|
989 |
}
|
990 |
}
|
991 |
|
992 |
+
|
993 |
class DAISOConfig(datasets.BuilderConfig):
|
994 |
"""BuilderConfig for DAISO."""
|
995 |
|
|
|
1038 |
),
|
1039 |
label_classes=LABELS_MAPPING["ami"],
|
1040 |
features=[
|
1041 |
+
"Utterance",
|
1042 |
+
"Dialogue_Act",
|
1043 |
+
"Speaker",
|
1044 |
+
"Dialogue_Id",
|
1045 |
+
"Dialogue_Act_ISO"
|
1046 |
],
|
1047 |
data_url={
|
1048 |
"train": _URL + "/ami/train.csv",
|
1049 |
"test": _URL + "/ami/test.csv",
|
1050 |
},
|
1051 |
citation=textwrap.dedent(
|
1052 |
+
"""\
|
1053 |
+
@article{carletta2006ami,
|
1054 |
+
author = "Carletta, J.",
|
1055 |
+
title = "Announcing the AMI Meeting Corpus",
|
1056 |
+
journal = "The ELRA Newsletter",
|
1057 |
+
volume = "11",
|
1058 |
+
number = "1",
|
1059 |
+
year = "2006",
|
1060 |
+
pages = "3-5",
|
1061 |
+
month = "January-March"
|
1062 |
+
}"""
|
1063 |
),
|
1064 |
+
url="https://groups.inf.ed.ac.uk/ami/corpus/",
|
1065 |
),
|
1066 |
DAISOConfig(
|
1067 |
name="oasis",
|
|
|
1071 |
),
|
1072 |
label_classes=LABELS_MAPPING["oasis"],
|
1073 |
features=[
|
1074 |
+
"Speaker",
|
1075 |
+
"Utterance",
|
1076 |
+
"Dialogue_Act",
|
1077 |
+
"Dialogue_Act_ISO"
|
1078 |
],
|
1079 |
data_url={
|
1080 |
"train": _URL + "/oasis/train.csv",
|
|
|
1082 |
"test": _URL + "/oasis/test.csv",
|
1083 |
},
|
1084 |
citation=textwrap.dedent(
|
1085 |
+
"""\
|
1086 |
+
@inproceedings{leech2003generic,
|
1087 |
+
title={Generic speech act annotation for task-oriented dialogues},
|
1088 |
+
author={Leech, Geoffrey and Weisser, Martin},
|
1089 |
+
booktitle={Proceedings of the corpus linguistics 2003 conference},
|
1090 |
+
volume={16},
|
1091 |
+
pages={441--446},
|
1092 |
+
year={2003},
|
1093 |
+
organization={Lancaster: Lancaster University}
|
1094 |
+
}"""
|
1095 |
),
|
1096 |
+
url="http://groups.inf.ed.ac.uk/oasis/",
|
1097 |
),
|
1098 |
DAISOConfig(
|
1099 |
name="maptask",
|
|
|
1103 |
),
|
1104 |
label_classes=LABELS_MAPPING["maptask"],
|
1105 |
features=[
|
1106 |
+
"Speaker",
|
1107 |
+
"Utterance",
|
1108 |
+
"Dialogue_Act",
|
1109 |
+
"Dialogue_Act_ISO"
|
1110 |
],
|
1111 |
data_url={
|
1112 |
"train": _URL + "/maptask/train.csv",
|
|
|
1114 |
"test": _URL + "/maptask/test.csv",
|
1115 |
},
|
1116 |
citation=textwrap.dedent(
|
1117 |
+
"""\
|
1118 |
+
@inproceedings{thompson1993hcrc,
|
1119 |
+
title={The HCRC map task corpus: natural dialogue for speech recognition},
|
1120 |
+
author={Thompson, Henry S and Anderson, Anne H and Bard, Ellen Gurman and Doherty-Sneddon,
|
1121 |
+
Gwyneth and Newlands, Alison and Sotillo, Cathy},
|
1122 |
+
booktitle={HUMAN LANGUAGE TECHNOLOGY: Proceedings of a Workshop Held at Plainsboro, New Jersey, March 21-24, 1993},
|
1123 |
+
year={1993}
|
1124 |
+
}"""
|
1125 |
),
|
1126 |
+
url="http://groups.inf.ed.ac.uk/maptask/",
|
1127 |
),
|
1128 |
DAISOConfig(
|
1129 |
name="mrda",
|
|
|
1133 |
),
|
1134 |
label_classes=LABELS_MAPPING["mrda"],
|
1135 |
features=[
|
1136 |
+
"Speaker",
|
1137 |
+
"Utterance",
|
1138 |
+
"Basic_DA",
|
1139 |
+
"General_DA",
|
1140 |
+
"Dialogue_Act",
|
1141 |
+
"Dialogue_Act_ISO"
|
1142 |
],
|
1143 |
data_url={
|
1144 |
"train": _URL + "/mrda/train.csv",
|
|
|
1146 |
"test": _URL + "/mrda/test.csv",
|
1147 |
},
|
1148 |
citation=textwrap.dedent(
|
1149 |
+
"""\
|
1150 |
+
@techreport{shriberg2004icsi,
|
1151 |
+
title={The ICSI meeting recorder dialog act (MRDA) corpus},
|
1152 |
+
author={Shriberg, Elizabeth and Dhillon, Raj and Bhagat, Sonali and Ang, Jeremy and Carvey, Hannah},
|
1153 |
+
year={2004},
|
1154 |
+
institution={INTERNATIONAL COMPUTER SCIENCE INST BERKELEY CA}
|
1155 |
+
}"""
|
1156 |
),
|
1157 |
+
url="https://www.aclweb.org/anthology/W04-2319",
|
1158 |
),
|
1159 |
DAISOConfig(
|
1160 |
name="swda",
|
1161 |
description=textwrap.dedent(
|
1162 |
"""\
|
1163 |
+
Switchboard Dialogue Act Corpus.
|
1164 |
+
Grouping procedure is different from original recommendations.
|
1165 |
+
Contains detailed split for specific labels for ISO mapping.
|
1166 |
"""
|
1167 |
),
|
1168 |
label_classes=LABELS_MAPPING["swda"],
|
1169 |
features=[
|
1170 |
+
"Speaker",
|
1171 |
+
"Utterance",
|
1172 |
+
"Dialogue_Act",
|
1173 |
+
"Dialogue_Act_ISO"
|
1174 |
],
|
1175 |
data_url={
|
1176 |
"train": _URL + "/swda/train.csv",
|
|
|
1178 |
"test": _URL + "/swda/test.csv",
|
1179 |
},
|
1180 |
citation=textwrap.dedent(
|
1181 |
+
"""\
|
1182 |
+
@article{stolcke2000dialogue,
|
1183 |
+
title={Dialogue act modeling for automatic tagging and recognition of conversational speech},
|
1184 |
+
author={Stolcke, Andreas and Ries, Klaus and Coccaro, Noah and Shriberg, Elizabeth and
|
1185 |
+
Bates, Rebecca and Jurafsky, Daniel and Taylor, Paul and Martin, Rachel and Ess-Dykema,
|
1186 |
+
Carol Van and Meteer, Marie},
|
1187 |
+
journal={Computational linguistics},
|
1188 |
+
volume={26},
|
1189 |
+
number={3},
|
1190 |
+
pages={339--373},
|
1191 |
+
year={2000},
|
1192 |
+
publisher={MIT Press}
|
1193 |
+
}"""
|
1194 |
),
|
1195 |
+
url="https://web.stanford.edu/~jurafsky/ws97/",
|
1196 |
),
|
1197 |
DAISOConfig(
|
1198 |
name="frames",
|
|
|
1202 |
),
|
1203 |
label_classes=LABELS_MAPPING["frames"],
|
1204 |
features=[
|
1205 |
+
"Speaker",
|
1206 |
+
"Utterance",
|
1207 |
+
"Dialogue_Act",
|
1208 |
+
"Dialogue_Act_ISO"
|
1209 |
],
|
1210 |
data_url={
|
1211 |
"train": _URL + "/frames/train.csv",
|
1212 |
"test": _URL + "/frames/test.csv",
|
1213 |
},
|
1214 |
citation=textwrap.dedent(
|
1215 |
+
"""\
|
1216 |
+
@inproceedings{el-asri-etal-2017-frames,
|
1217 |
+
title = "{F}rames: a corpus for adding memory to goal-oriented dialogue systems",
|
1218 |
+
author = "El Asri, Layla and
|
1219 |
+
Schulz, Hannes and
|
1220 |
+
Sharma, Shikhar and
|
1221 |
+
Zumer, Jeremie and
|
1222 |
+
Harris, Justin and
|
1223 |
+
Fine, Emery and
|
1224 |
+
Mehrotra, Rahul and
|
1225 |
+
Suleman, Kaheer",
|
1226 |
+
booktitle = "Proceedings of the 18th Annual {SIG}dial Meeting on Discourse and Dialogue",
|
1227 |
+
month = aug,
|
1228 |
+
year = "2017",
|
1229 |
+
address = {Saarbr{\"u}cken, Germany},
|
1230 |
+
publisher = "Association for Computational Linguistics",
|
1231 |
+
url = "https://aclanthology.org/W17-5526",
|
1232 |
+
doi = "10.18653/v1/W17-5526",
|
1233 |
+
pages = "207--219",
|
1234 |
+
abstract = "This paper proposes a new dataset, Frames, composed of 1369 human-human dialogues with an average of 15 turns per dialogue. This corpus contains goal-oriented dialogues between users who are given some constraints to book a trip and assistants who search a database to find appropriate trips. The users exhibit complex decision-making behaviour which involve comparing trips, exploring different options, and selecting among the trips that were discussed during the dialogue. To drive research on dialogue systems towards handling such behaviour, we have annotated and released the dataset and we propose in this paper a task called frame tracking. This task consists of keeping track of different semantic frames throughout each dialogue. We propose a rule-based baseline and analyse the frame tracking task through this baseline.",
|
1235 |
+
}"""
|
1236 |
),
|
1237 |
+
url="http://datasets.maluuba.com/Frames",
|
1238 |
),
|
1239 |
DAISOConfig(
|
1240 |
name="dyda",
|
|
|
1264 |
"Utterance",
|
1265 |
"Dialogue_Act",
|
1266 |
"Emotion",
|
1267 |
+
"Dialogue_Id",
|
1268 |
"Dialogue_Act_ISO"
|
1269 |
],
|
1270 |
data_url={
|
|
|
1274 |
},
|
1275 |
citation=textwrap.dedent(
|
1276 |
"""\
|
1277 |
+
@InProceedings{li2017dailydialog,
|
1278 |
+
author = {Li, Yanran and Su, Hui and Shen, Xiaoyu and Li, Wenjie and Cao, Ziqiang and Niu, Shuzi},
|
1279 |
+
title = {DailyDialog: A Manually Labelled Multi-turn Dialogue Dataset},
|
1280 |
+
booktitle = {Proceedings of The 8th International Joint Conference on Natural Language Processing (IJCNLP 2017)},
|
1281 |
+
year = {2017}
|
1282 |
+
}"""
|
1283 |
),
|
1284 |
url="http://yanran.li/dailydialog.html",
|
1285 |
),
|
|
|
1291 |
),
|
1292 |
label_classes=LABELS_MAPPING["dstc3"],
|
1293 |
features=[
|
1294 |
+
"Speaker",
|
1295 |
+
"Utterance",
|
1296 |
+
"Dialog_Act",
|
1297 |
+
"Dialog_Act_ISO"
|
1298 |
],
|
1299 |
data_url={
|
1300 |
"train": _URL + "/dstc3/train.csv",
|
1301 |
"test": _URL + "/dstc3/test.csv",
|
1302 |
},
|
1303 |
citation=textwrap.dedent(
|
1304 |
+
"""\
|
1305 |
+
@article{Henderson2014TheTD,
|
1306 |
+
title={The third Dialog State Tracking Challenge},
|
1307 |
+
author={Matthew Henderson and Blaise Thomson and J. Williams},
|
1308 |
+
journal={2014 IEEE Spoken Language Technology Workshop (SLT)},
|
1309 |
+
year={2014},
|
1310 |
+
pages={324-329},
|
1311 |
+
url={https://api.semanticscholar.org/CorpusID:17478615}
|
1312 |
+
}"""
|
1313 |
),
|
1314 |
+
url="http://camdial.org/~mh521/dstc/",
|
1315 |
),
|
1316 |
DAISOConfig(
|
1317 |
name="dstc8-sgd",
|
|
|
1321 |
),
|
1322 |
label_classes=LABELS_MAPPING["dstc8-sgd"],
|
1323 |
features=[
|
1324 |
+
"Speaker",
|
1325 |
+
"Utterance",
|
1326 |
+
"Dialogue_Act",
|
1327 |
+
"Dialogue_Id",
|
1328 |
+
"Dialogue_Act_ISO"
|
1329 |
],
|
1330 |
data_url={
|
1331 |
"train": _URL + "/dstc8-sgd/train.csv",
|
|
|
1333 |
"test": _URL + "/dstc8-sgd/test.csv",
|
1334 |
},
|
1335 |
citation=textwrap.dedent(
|
1336 |
+
"""\
|
1337 |
+
@inproceedings{rastogi2020towards,
|
1338 |
+
title={Towards scalable multi-domain conversational agents: The schema-guided dialogue dataset},
|
1339 |
+
author={Rastogi, Abhinav and Zang, Xiaoxue and Sunkara, Srinivas and Gupta, Raghav and Khaitan, Pranav},
|
1340 |
+
booktitle={Proceedings of the AAAI Conference on Artificial Intelligence},
|
1341 |
+
volume={34},
|
1342 |
+
number={05},
|
1343 |
+
pages={8689--8696},
|
1344 |
+
year={2020}
|
1345 |
+
}"""
|
1346 |
),
|
1347 |
+
url="https://github.com/google-research-datasets/dstc8-schema-guided-dialogue",
|
1348 |
),
|
1349 |
|
1350 |
]
|