Update README.md
Browse files
README.md
CHANGED
|
@@ -2,6 +2,7 @@
|
|
| 2 |
pipeline_tag: summarization
|
| 3 |
|
| 4 |
---
|
|
|
|
| 5 |
import random
|
| 6 |
|
| 7 |
def add_spelling_errors(text):
|
|
@@ -31,4 +32,7 @@ def add_spelling_errors(text):
|
|
| 31 |
|
| 32 |
modified_text.append(noisy_text[i])
|
| 33 |
|
| 34 |
-
return ''.join(modified_text)
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
pipeline_tag: summarization
|
| 3 |
|
| 4 |
---
|
| 5 |
+
```python
|
| 6 |
import random
|
| 7 |
|
| 8 |
def add_spelling_errors(text):
|
|
|
|
| 32 |
|
| 33 |
modified_text.append(noisy_text[i])
|
| 34 |
|
| 35 |
+
return ''.join(modified_text)
|
| 36 |
+
|
| 37 |
+
```
|
| 38 |
+
|