Corrected features definition
Browse files
icelandic-error-corpus-IceEC.py
CHANGED
@@ -817,8 +817,8 @@ class IceEC(datasets.GeneratorBasedBuilder):
|
|
817 |
features=datasets.Features(
|
818 |
{
|
819 |
"id": datasets.Value("string"),
|
820 |
-
"sentence": datasets.
|
821 |
-
"errors": datasets.
|
822 |
}
|
823 |
),
|
824 |
# No default supervised_keys (as we have to pass both question
|
|
|
817 |
features=datasets.Features(
|
818 |
{
|
819 |
"id": datasets.Value("string"),
|
820 |
+
"sentence": datasets.Sequence(datasets.Value("string")),
|
821 |
+
"errors": datasets.Sequence(datasets.Value("string"))
|
822 |
}
|
823 |
),
|
824 |
# No default supervised_keys (as we have to pass both question
|