fdemelo commited on
Commit
e43d812
·
verified ·
1 Parent(s): 4b6c465

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +30 -32
README.md CHANGED
@@ -1,32 +1,30 @@
1
- ---
2
- language: fr
3
- tags:
4
- - grammar
5
- - spelling correction
6
- license: mit
7
- datasets:
8
- - synthetic
9
- ---
10
-
11
- # Spelling correction dataset (French)
12
-
13
- This dataset is generated by transforming/corrupting sentences of a French news corpus
14
- provided by the [University of Leipzig](https://wortschatz.uni-leipzig.de/en/download/French).
15
-
16
- The following transformations are applied to words in the sentences:
17
- - concatenation of pairs of words
18
- - swapping of neighboring letters in words
19
- - insertion
20
- - deletion
21
- - replacement (by neighboring characters in AZERTY keyboard)
22
-
23
-
24
- ## Generation
25
-
26
- `pip install happytransformer `
27
-
28
- ```bash
29
- ./scripts/get_data.py -t news -y 2023 -s 10K
30
- ./scripts/generate_dataset.py -i data/fra_news_2023_10k/fra_news_2023_10k-sentences.txt
31
- ```
32
-
 
1
+ ---
2
+ language: fr
3
+ tags:
4
+ - grammar
5
+ - spelling correction
6
+ license: mit
7
+ datasets:
8
+ - synthetic
9
+ ---
10
+
11
+ # Spelling correction dataset (French)
12
+
13
+ This dataset is generated by transforming/corrupting sentences of a French news corpus
14
+ provided by the [University of Leipzig](https://wortschatz.uni-leipzig.de/en/download/French).
15
+
16
+ The following transformations are applied to words in the sentences:
17
+ - concatenation of pairs of words
18
+ - swapping of neighboring letters in words
19
+ - insertion
20
+ - deletion
21
+ - replacement (by neighboring characters in AZERTY keyboard)
22
+
23
+
24
+ ## Generation
25
+
26
+ ```bash
27
+ ./scripts/get_data.py -t news -y 2023 -s 10K
28
+ ./scripts/generate_dataset.py -i data/fra_news_2023_10k/fra_news_2023_10k-sentences.txt
29
+ ```
30
+