tobiasbrugger
commited on
Commit
•
4b9bb52
1
Parent(s):
9831d55
update
Browse files- Multilingual-SBD.py +3 -3
Multilingual-SBD.py
CHANGED
@@ -68,8 +68,7 @@ class MultilingualSBD(datasets.GeneratorBasedBuilder):
|
|
68 |
#"language": datasets.Value("string"), #in _LANGUAGES
|
69 |
#"type": datasets.Value("string"), # in _TYPES
|
70 |
#"subtype": datasets.Value("string"), # in _SUBTYPES
|
71 |
-
"text": datasets.Value("string"),
|
72 |
-
"source": datasets.Value("string"),
|
73 |
"spans": [
|
74 |
{
|
75 |
"start": datasets.Value("int64"),
|
@@ -88,7 +87,8 @@ class MultilingualSBD(datasets.GeneratorBasedBuilder):
|
|
88 |
"ws": datasets.Value("bool")
|
89 |
|
90 |
}
|
91 |
-
]
|
|
|
92 |
}
|
93 |
)
|
94 |
return datasets.DatasetInfo(
|
|
|
68 |
#"language": datasets.Value("string"), #in _LANGUAGES
|
69 |
#"type": datasets.Value("string"), # in _TYPES
|
70 |
#"subtype": datasets.Value("string"), # in _SUBTYPES
|
71 |
+
"text": datasets.Value("string"),
|
|
|
72 |
"spans": [
|
73 |
{
|
74 |
"start": datasets.Value("int64"),
|
|
|
87 |
"ws": datasets.Value("bool")
|
88 |
|
89 |
}
|
90 |
+
],
|
91 |
+
"source": datasets.Value("string")
|
92 |
}
|
93 |
)
|
94 |
return datasets.DatasetInfo(
|