Datasets:

Modalities:
Text
Languages:
Icelandic
Libraries:
Datasets
License:
vesteinn commited on
Commit
9a8ea3c
1 Parent(s): 5a3458b

Added corrected sentence to dataset

Browse files
Files changed (3) hide show
  1. icelandic-error-corpus-IceEC.py +3 -1
  2. test.json +2 -2
  3. 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:2c015f8408ea1effeea8c31429d4966cd6a08e3ce55f20863dbe01b1d7570940
3
- size 1948150
 
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:0b0bb8c1e428484aa810b47d04cea531c571a9dcd6f3f3be1d9ba69ab802687d
3
- size 21399450
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c4e1fc9e459f30b8de553c9d94eeb602b7e6be77a06cf77f528ecbd5bb12608e
3
+ size 37304044