This commit is contained in:
Nick
2019-11-15 21:58:19 -07:00
parent 6b244e8be6
commit 1cf68bad44
+1 -1
View File
@@ -84,7 +84,7 @@ def cut_trailing_sentence(text):
act_token = text.find(">")
if act_token != -1:
last_punc = min(last_punc, act_token+1)
last_punc = min(last_punc, act_token-1)
if last_punc > 0:
text = text[0:last_punc+1]