Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,57 @@
|
|
1 |
-
---
|
2 |
-
license: apache-2.0
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
language:
|
4 |
+
- ru
|
5 |
+
---
|
6 |
+
|
7 |
+
### Dataset Summary
|
8 |
+
|
9 |
+
This dataset is a set of samples for testing a spell checker.
|
10 |
+
I assembled this set by hand from various sources.
|
11 |
+
The purpose of creating the dataset was to test an internal spellchecker for [a generative poetry project](https://github.com/Koziev/verslibre), but it can also be useful in other projects, since it does not have an explicit specialization for poetry.
|
12 |
+
You can consider this dataset as an extension of [RuCOLA](https://huggingface.co/datasets/RussianNLP/rucola), You can consider this dataset as an extension of RuCOLA, since the dataset format is made as compatible as possible.
|
13 |
+
In addition, for some samples there is a corrected version of the text ("fixed_sentence" field), so it can be used as an extension of datasets in [ai-forever/spellcheck_benchmark](https://huggingface.co/datasets/ai-forever/spellcheck_benchmark).
|
14 |
+
|
15 |
+
### Example
|
16 |
+
|
17 |
+
```
|
18 |
+
{
|
19 |
+
"id": 1483,
|
20 |
+
"sentence": "Разучи стихов по больше",
|
21 |
+
"fixed_sentence": "Разучи стихов побольше",
|
22 |
+
"label": 0,
|
23 |
+
"error_type": "Misspelling"
|
24 |
+
}
|
25 |
+
```
|
26 |
+
|
27 |
+
### Uncensoring samples
|
28 |
+
|
29 |
+
A number of samples contain text with explicit obscenities:
|
30 |
+
|
31 |
+
```
|
32 |
+
{
|
33 |
+
"id": 1,
|
34 |
+
"sentence": "Но не простого - с лёгкой еб@нцой.",
|
35 |
+
"fixed_sentence": "Но не простого - с лёгкой ебанцой.",
|
36 |
+
"label": 0,
|
37 |
+
"error_type": "Misspelling"
|
38 |
+
}
|
39 |
+
```
|
40 |
+
|
41 |
+
|
42 |
+
### Dataset fields
|
43 |
+
|
44 |
+
**id** (int64): the sentence's id, starting 1.
|
45 |
+
**sentence** (str): the original sentence.
|
46 |
+
**fixed_sentence** (str): the corrected version of original sentence.
|
47 |
+
**label** (str): the target class. "1" for "acceptable", "0" for "unacceptable".
|
48 |
+
**error_type** (str): the violation category, Misspelling, Syntax, Semantics, or Hallucination).
|
49 |
+
|
50 |
+
### Statistics
|
51 |
+
|
52 |
+
Current version contains:
|
53 |
+
|
54 |
+
Misspelling - 3222
|
55 |
+
Syntax - 1954
|
56 |
+
Semantics - 2
|
57 |
+
|