This commit is contained in:
unknown
2025-12-30 16:25:54 -08:00
parent c6453a227c
commit 76cdbcb86a

View File

@@ -1048,7 +1048,7 @@ def get_sentences(text:str, id:str)->list|None:
import nagisa
tokens = nagisa.tagging(segment).words
result.extend([
token
f' {token}'
for token in tokens
if token.strip()
])