Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Smart splitting if "Split on Punctuation" and "Split at n words" are enabled at the same time #180

Open
VijoPlays opened this issue May 12, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@VijoPlays
Copy link

VijoPlays commented May 12, 2024

Is your feature request related to a problem? Please describe.

Right now, if you split after n words AND enable split on punctuation, the split will split at n words, and if there's 1 word left afterwards it will create a new segment with just this 1 word:

The quick brown fox

jumps.

Describe the solution you'd like

It would be nice if there was a "Smart Splitting" option, where StoryToolkit will break a sentence up if it's 1 word too long.

So we'd either have 2 smaller segments:

The quick brown

fox jumps.

Or 1 longer segment:

The quick brown fox jumps.

@VijoPlays VijoPlays added the enhancement New feature or request label May 12, 2024
@The3IC
Copy link

The3IC commented May 27, 2024

Essentially the same as #179

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants