Original
This commit is contained in:
commit
7e9e55d131
11 changed files with 324 additions and 0 deletions
5
clean.py
Normal file
5
clean.py
Normal file
|
@ -0,0 +1,5 @@
|
|||
import re
|
||||
def clean(input_text):
|
||||
output_text = re.sub(r'keywords:', ', ', input_text)
|
||||
output_text = re.sub(r'\n', ', ', input_text)
|
||||
return output_text
|
Loading…
Add table
Add a link
Reference in a new issue