Archan commited on
Commit
897c843
1 Parent(s): 6d035f9

Create new file

Browse files
Files changed (1) hide show
  1. preprocess.py +8 -0
preprocess.py ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ def pre_process(content=""):
2
+ text = content.splitlines()
3
+ final_text = ""
4
+ for i in text:
5
+ if len(i) > 1:
6
+ final_text += " "+i
7
+
8
+ return final_text