ming 3 년 전
부모
커밋
1ddf617b20
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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):