Rotem Dan
Rotem Dan
I tried to make the default setting for alignment work well for most types of reasonably clean audio (no background music or chatter, no simultaneous multiple speakers). The options available...
I asked Bing Chat. It said that you can use dynamic imports like `const Echogarden = await import('echogarden')` even if the project is set to use CommonJS modules (`"module": "CommonJS"`)....
I don't really use Discord or chat platforms in general. I can try to provide some assistance here if needed. This can be useful for other people who are trying...
It's not clear if the error you're describing is particular to the library, or a general issue about importing an ESM module from a CommonJS TypeScript project. I can try...
Although I develop with Node.js a lot. The issue that you are presenting is not something that I come across often since I always set TypeScript to use ESM modules...
I'm not 100% sure what you are asking about: If you are asking for line splitting to occur more frequently when punctuation is encountered, you can use this setting: `subtitles.minWordsInLine`:...
The code that decides whether to break after a word currently uses this logic: ```ts if (isLastWord || lineLengthWithNextWordExceedsMaxLineWidth || (remainingTextExceedsMaxLineWidth && lineLengthExceedsHalfMaxLineWidth && (wordsRemainingAreEqualOrLessToMinimumWordsInLine || followingSubstringIsPhraseSeparator))) { // Split.....
Thanks for clarifying. If that's the case, that may not be a problem related to subtitle generation at all! It may have to do with the library and algorithm I...
Maybe you feel that using coarse-grained segmentation would be better than what is done now? Here are examples from the [Jieba repository readme](https://github.com/fengkx/jieba-wasm) of different results: This is the coarse...
The subtitle generation algorithm is based on reflowing of individual words to fit into the maximum characters allowed per line. In many cases it isn't enough just to know the...