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
@@ -0,0 +1,21 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
# def splitParagraphIntoSentences(paragraph):
# ''' break a paragraph into sentences
# and return a list '''
# import re
# # to split by multile characters
# sentenceEnders = re.compile('[.!?]')
# sentenceList = sentenceEnders.split(paragraph)
# return sentenceList
# with open("how_2_use_drill.txt", "r" ) as source:
# for line in source:
# sentences = splitParagraphIntoSentences(line)
# for s in sentences:
# print s.strip()
def splitParagraphIntoSentences(paragraph):
print