Update README.md
Browse filesRevised explanation under Dataset structure
README.md
CHANGED
|
@@ -38,9 +38,15 @@ The data is intended to be used for testing and finetuning models for Norwegian
|
|
| 38 |
## Dataset Structure
|
| 39 |
|
| 40 |
### Data Instances
|
| 41 |
-
Each data instance contains the following features: correct, wrong and category. An instance from the dataset looks like the following:
|
| 42 |
```
|
| 43 |
{"correct": "Eva klatrer, og Ola går på ski.", "wrong": "Eva klatrer og Ola går på ski.", "category": 1}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 44 |
|
| 45 |
```
|
| 46 |
|
|
@@ -51,8 +57,7 @@ Each data instance contains the following features: correct, wrong and category.
|
|
| 51 |
- 'Category': an integer indicating the rule tested by the pair of correct and wrong sentences.
|
| 52 |
|
| 53 |
### Distribution
|
| 54 |
-
The dataset
|
| 55 |
-
Five sentences utilize a comma as a decimal separator in addition to the grammatical commas.
|
| 56 |
|
| 57 |
|
| 58 |
### Norwegian comma rules
|
|
|
|
| 38 |
## Dataset Structure
|
| 39 |
|
| 40 |
### Data Instances
|
| 41 |
+
Each data instance contains the following features: correct, wrong and category. An instance from the dataset that require a comma looks like the following:
|
| 42 |
```
|
| 43 |
{"correct": "Eva klatrer, og Ola går på ski.", "wrong": "Eva klatrer og Ola går på ski.", "category": 1}
|
| 44 |
+
```
|
| 45 |
+
|
| 46 |
+
An instance with a sentence that is correct without a comma looks like the following:
|
| 47 |
+
|
| 48 |
+
```
|
| 49 |
+
{"correct": "Husleien går opp og har nå doblet seg på ti år.", "wrong": "Husleien går opp, og har nå doblet seg på ti år.", "category": 1}
|
| 50 |
|
| 51 |
```
|
| 52 |
|
|
|
|
| 57 |
- 'Category': an integer indicating the rule tested by the pair of correct and wrong sentences.
|
| 58 |
|
| 59 |
### Distribution
|
| 60 |
+
The dataset includes 840 instances, each consisting of a pair of sentences: one correctly punctuated and the other incorrectly punctuated. Of these, 600 instances feature sentences that are grammatically correct with the inclusion of commas, while 240 instances contain sentences that are correct without any commas. Among the 600 sentences that require commas, the majority need just one comma, whereas 207 instances require the inclusion of two commas. Five sentences utilize a comma as a decimal separator in addition to the grammatical commas.
|
|
|
|
| 61 |
|
| 62 |
|
| 63 |
### Norwegian comma rules
|