|
@@ -344,7 +344,7 @@ def call_achor_video(name):
|
|
fr.close()
|
|
fr.close()
|
|
fw.close()
|
|
fw.close()
|
|
|
|
|
|
- print('called............................................')
|
|
|
|
|
|
+ print('called..............................................')
|
|
|
|
|
|
|
|
|
|
def trim_punctuation(s):
|
|
def trim_punctuation(s):
|
|
@@ -354,7 +354,7 @@ def trim_punctuation(s):
|
|
return res
|
|
return res
|
|
|
|
|
|
def splitter(s):
|
|
def splitter(s):
|
|
- for sent in re.findall(u'[^!?,。\.\!\?]+[!?。\.\!\?]?', s, flags=re.U):
|
|
|
|
|
|
+ for sent in re.findall(u'[^!?,。\!\?]+[!?。\!\?]?', s, flags=re.U):
|
|
yield sent
|
|
yield sent
|
|
|
|
|
|
def split_by_pun(s):
|
|
def split_by_pun(s):
|