ming vor 3 Jahren
Ursprung
Commit
1ddf617b20
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      main.py

+ 2 - 2
main.py

@@ -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):