Spaces:
Runtime error
Runtime error
Update replace_explitives.py
Browse files- replace_explitives.py +1 -1
replace_explitives.py
CHANGED
|
@@ -13,7 +13,7 @@ def sub_explitives(textfile, selection):
|
|
| 13 |
if selection == "B":
|
| 14 |
target_word = r"\bbitch\b"
|
| 15 |
elif selection == "N":
|
| 16 |
-
target_word = r"\
|
| 17 |
elif selection == "all":
|
| 18 |
target_word = r"\bshit\b"
|
| 19 |
else:
|
|
|
|
| 13 |
if selection == "B":
|
| 14 |
target_word = r"\bbitch\b"
|
| 15 |
elif selection == "N":
|
| 16 |
+
target_word = r"\bnigga\b"
|
| 17 |
elif selection == "all":
|
| 18 |
target_word = r"\bshit\b"
|
| 19 |
else:
|