NikitaMartynov
commited on
Commit
•
52ccd53
1
Parent(s):
79c132b
medspell
Browse files
data/GitHubTypoCorpusRu/test.json
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
data/MedSpellchecker/test.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
russian_spellcheck_benchmark.py
CHANGED
@@ -101,7 +101,8 @@ class RussianSpellcheckBenchmarkConfig(datasets.BuilderConfig):
|
|
101 |
data_urls: Dict[str,str],
|
102 |
features: List[str],
|
103 |
citation: str,
|
104 |
-
|
|
|
105 |
"""BuilderConfig for RussianSpellcheckBenchmark.
|
106 |
Args:
|
107 |
features: *list[string]*, list of the features that will appear in the
|
@@ -121,7 +122,7 @@ class RussianSpellcheckBenchmark(datasets.GeneratorBasedBuilder):
|
|
121 |
BUILDER_CONFIGS = [
|
122 |
RussianSpellcheckBenchmarkConfig(
|
123 |
name="GitHubTypoCorpusRu",
|
124 |
-
description
|
125 |
data_urls={
|
126 |
"test": "data/GitHubTypoCorpusRu/test.json",
|
127 |
},
|
@@ -130,7 +131,7 @@ class RussianSpellcheckBenchmark(datasets.GeneratorBasedBuilder):
|
|
130 |
),
|
131 |
RussianSpellcheckBenchmarkConfig(
|
132 |
name="MedSpellchecker",
|
133 |
-
description
|
134 |
data_urls={
|
135 |
"test": "data/MedSpellchecker/test.json",
|
136 |
},
|
@@ -139,7 +140,7 @@ class RussianSpellcheckBenchmark(datasets.GeneratorBasedBuilder):
|
|
139 |
),
|
140 |
RussianSpellcheckBenchmarkConfig(
|
141 |
name="MultidomainGold",
|
142 |
-
description
|
143 |
data_urls={
|
144 |
"train": "data/MultidomainGold/train.json",
|
145 |
"test": "data/MultidomainGold/test.json",
|
@@ -149,7 +150,7 @@ class RussianSpellcheckBenchmark(datasets.GeneratorBasedBuilder):
|
|
149 |
),
|
150 |
RussianSpellcheckBenchmarkConfig(
|
151 |
name="RUSpellRU",
|
152 |
-
description
|
153 |
data_urls={
|
154 |
"test": "data/RUSpellRU/test.json",
|
155 |
"train": "data/RUSpellRU/train.json",
|
|
|
101 |
data_urls: Dict[str,str],
|
102 |
features: List[str],
|
103 |
citation: str,
|
104 |
+
**kwargs,
|
105 |
+
):
|
106 |
"""BuilderConfig for RussianSpellcheckBenchmark.
|
107 |
Args:
|
108 |
features: *list[string]*, list of the features that will appear in the
|
|
|
122 |
BUILDER_CONFIGS = [
|
123 |
RussianSpellcheckBenchmarkConfig(
|
124 |
name="GitHubTypoCorpusRu",
|
125 |
+
description=_GITHUB_TYPO_CORPUS_RU_DESCRIPTION,
|
126 |
data_urls={
|
127 |
"test": "data/GitHubTypoCorpusRu/test.json",
|
128 |
},
|
|
|
131 |
),
|
132 |
RussianSpellcheckBenchmarkConfig(
|
133 |
name="MedSpellchecker",
|
134 |
+
description=_MEDSPELLCHECK_DESCRIPTION,
|
135 |
data_urls={
|
136 |
"test": "data/MedSpellchecker/test.json",
|
137 |
},
|
|
|
140 |
),
|
141 |
RussianSpellcheckBenchmarkConfig(
|
142 |
name="MultidomainGold",
|
143 |
+
description=_MULTIDOMAIN_GOLD_DESCRIPTION,
|
144 |
data_urls={
|
145 |
"train": "data/MultidomainGold/train.json",
|
146 |
"test": "data/MultidomainGold/test.json",
|
|
|
150 |
),
|
151 |
RussianSpellcheckBenchmarkConfig(
|
152 |
name="RUSpellRU",
|
153 |
+
description=_RUSPELLRU_DESCRIPTION,
|
154 |
data_urls={
|
155 |
"test": "data/RUSpellRU/test.json",
|
156 |
"train": "data/RUSpellRU/train.json",
|