mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-10-30 09:16:55 +00:00
fix(cli): keep whisper CJK tokens as separate timed words (#6058)
* fix(cli): keep whisper CJK tokens as separate timed words whisper.cpp marks word boundaries with a leading space, but Chinese and Japanese tokens never carry one, so parseWhisperCpp merged every CJK token into the previous word, across segments too. A 9.5-minute Mandarin episode came out as two "words" of about 280 s each, leaving captions and sentence-building nothing to split. A token now starts its own word when it crosses a CJK boundary, full-width punctuation still attaches to the word before it, and cues end at 。!?. * fix(ci): capture package name in release-age exclusion
This commit is contained in:
@@ -479,7 +479,7 @@ function writeConsumerFixture(packDir, packedWorkspaces) {
|
||||
export const CONSUMER_MIN_RELEASE_AGE_SECONDS = 24 * 60 * 60;
|
||||
|
||||
const BLOCKED_BY_AGE =
|
||||
/No version matching "([^"]+)" found for specifier "[^"]*" \(blocked by minimum-release-age/g;
|
||||
/No version matching "[^"]+" found for specifier "([^"]+)" \(blocked by minimum-release-age/g;
|
||||
|
||||
export function installConsumer(dir, { args = [], env = process.env } = {}) {
|
||||
const install = () =>
|
||||
|
||||
Reference in New Issue
Block a user