Spaces:
Runtime error
Runtime error
Update replace_explitives.py
Browse files- replace_explitives.py +0 -3
replace_explitives.py
CHANGED
@@ -1,9 +1,6 @@
|
|
1 |
import regex as re
|
2 |
|
3 |
|
4 |
-
nltk.download('punkt') # For tokenization
|
5 |
-
nltk.download('averaged_perceptron_tagger') # For POS tagging (optional)
|
6 |
-
|
7 |
|
8 |
def sub_explitives(textfile, selection):
|
9 |
|
|
|
1 |
import regex as re
|
2 |
|
3 |
|
|
|
|
|
|
|
4 |
|
5 |
def sub_explitives(textfile, selection):
|
6 |
|