mirror of
https://github.com/DrewThomasson/ebook2audiobook.git
synced 2026-01-09 13:58:14 -05:00
...
This commit is contained in:
@@ -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()
|
||||
])
|
||||
|
||||
Reference in New Issue
Block a user