mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-01 18:45:59 +01:00
TTS: Also include punctuation in words. This is needed for contractions such as don't
This commit is contained in:
parent
f4b6806202
commit
f444e0d56f
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ def index_for_node(node, node_list):
|
|||
|
||||
|
||||
def tts_word_regex():
|
||||
return /[\p{Letter}\p{Mark}\p{Number}]{1,50}/gu
|
||||
return /[\p{Letter}\p{Mark}\p{Number}\p{Punctuation}]{1,50}/gu
|
||||
|
||||
|
||||
def tts_data(text_node, offset):
|
||||
|
|
|
|||
Loading…
Reference in a new issue