mskov commited on
Commit
96f1e38
·
1 Parent(s): ed2f0b8

Update replace_explitives.py

Browse files
Files changed (1) hide show
  1. 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"\bnigg\b"
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: