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[7]:
|
| 5 |
-
|
| 6 |
-
|
| 7 |
import re
|
| 8 |
|
| 9 |
def replace_words(sentence):
|
|
@@ -150,10 +144,3 @@ def replace_words(sentence):
|
|
| 150 |
|
| 151 |
# Join the processed words back into a sentence
|
| 152 |
return ' '.join(words)
|
| 153 |
-
|
| 154 |
-
|
| 155 |
-
# In[ ]:
|
| 156 |
-
|
| 157 |
-
|
| 158 |
-
|
| 159 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
import re
|
| 2 |
|
| 3 |
def replace_words(sentence):
|
|
|
|
| 144 |
|
| 145 |
# Join the processed words back into a sentence
|
| 146 |
return ' '.join(words)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|