This repository was archived by the owner on May 30, 2026. It is now read-only.
Replies: 1 comment
-
|
The latest version show now support this with split_by_length(). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
A while ago the function
results_to_sentence_srthad the parameterforce_max_len: int. Since thenresults_to_sentence_srthas becomeresult.to_srt_vtt, but it seem thatforce_max_len: inthas been dropped.It looks like this has been shifted to the
.split_by_punctuation([('.', ' '), '。', '?', '?', ',', ','])or similar split-functions withmax_chars=int.Somehow I can't seem get this working though. Could someone help me out and give me a hint if I want to split the subtitle at each punctuation or if the character limit has been reached?
Beta Was this translation helpful? Give feedback.
All reactions