Added corrected sentence to dataset
Browse files- icelandic-error-corpus-IceEC.py +3 -1
- test.json +2 -2
- train.json +2 -2
icelandic-error-corpus-IceEC.py
CHANGED
@@ -818,7 +818,9 @@ class IceEC(datasets.GeneratorBasedBuilder):
|
|
818 |
{
|
819 |
"idx": datasets.Value("string"),
|
820 |
"sentence": datasets.Sequence(datasets.Value("string")),
|
821 |
-
"errors": datasets.Sequence(datasets.Sequence(datasets.Value("string")))
|
|
|
|
|
822 |
}
|
823 |
),
|
824 |
# No default supervised_keys (as we have to pass both question
|
|
|
818 |
{
|
819 |
"idx": datasets.Value("string"),
|
820 |
"sentence": datasets.Sequence(datasets.Value("string")),
|
821 |
+
"errors": datasets.Sequence(datasets.Sequence(datasets.Value("string"))),
|
822 |
+
"has_error": datasets.Value("boolean"),
|
823 |
+
"corrected_sentence": datasets.Sequence(datasets.Value("string")),
|
824 |
}
|
825 |
),
|
826 |
# No default supervised_keys (as we have to pass both question
|
test.json
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7f0c80727cb728438694cee750e60f9d40d7eab6e2ec2fd8d95a52e324a21f28
|
3 |
+
size 3401484
|
train.json
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c4e1fc9e459f30b8de553c9d94eeb602b7e6be77a06cf77f528ecbd5bb12608e
|
3 |
+
size 37304044
|