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
+12
View File
@@ -0,0 +1,12 @@
def findTheWordsBefore(paragraph):
import re
prose = re.compile(r"(\s\w*\s\w*\s\w*\s)+drill")
List = prose.split(paragraph)
return List
with open("how_2_use_drill.txt", "r" ) as source:
for line in source:
sentences = findTheWordsBefore(line)
for s in sentences:
print s.strip()