commited all contents created by participants

This commit is contained in:
Bachir Soussi Chiadmi
2017-12-21 18:12:40 +01:00
parent cefd1c2ad0
commit b936b1e616
2137 changed files with 1076319 additions and 730 deletions
+15
View File
@@ -0,0 +1,15 @@
import re
source = open("../data/1984_fragment.txt", "r")
#source = open("joyce.txt", "r")
destination = open("../data/1984_no_digits.txt", "w")
sentences = []
for line in source:
result = ''.join([i for i in line if not i.isdigit()])
destination.write(result)
source.close()
destination.close()