ming 3 years ago
parent
commit
1ddf617b20
1 changed files with 2 additions and 2 deletions
  1. 2 2
      main.py

+ 2 - 2
main.py

@@ -344,7 +344,7 @@ def call_achor_video(name):
     fr.close()
     fw.close()
 
-    print('called............................................')
+    print('called..............................................')
 
 
 def trim_punctuation(s):
@@ -354,7 +354,7 @@ def trim_punctuation(s):
     return res
 
 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
 
 def split_by_pun(s):