Spaces:
Sleeping
Sleeping
Update replaceWords.py
Browse files- replaceWords.py +0 -13
replaceWords.py
CHANGED
@@ -1,9 +1,3 @@
|
|
1 |
-
#!/usr/bin/env python
|
2 |
-
# coding: utf-8
|
3 |
-
|
4 |
-
# In[9]:
|
5 |
-
|
6 |
-
|
7 |
import re
|
8 |
def replace_words(sentence):
|
9 |
replacement_map = {
|
@@ -128,10 +122,3 @@ def replace_words(sentence):
|
|
128 |
|
129 |
# Join the processed words back into a sentence
|
130 |
return ' '.join(words)
|
131 |
-
|
132 |
-
|
133 |
-
# In[ ]:
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
import re
|
2 |
def replace_words(sentence):
|
3 |
replacement_map = {
|
|
|
122 |
|
123 |
# Join the processed words back into a sentence
|
124 |
return ' '.join(words)
|
|
|
|
|
|
|
|
|
|
|
|
|
|