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

Non-greedy split by semantic level #237

Open
benbrandt opened this issue Jun 20, 2024 Discussed in #226 · 0 comments
Open

Non-greedy split by semantic level #237

benbrandt opened this issue Jun 20, 2024 Discussed in #226 · 0 comments
Labels
enhancement New feature or request

Comments

@benbrandt
Copy link
Owner

Discussed in #226

Originally posted by noau June 12, 2024
Thanks for your great work! I want to know that if it's possible to just split strings on a given semantic level instead of splitting greedy and only stops when the chunk exceeds some given size limits. For example, the two sentences above would be splitted into just

  1. "Thanks for your great work!"
  2. "I want to know that if it's possible to just split strings on a given semantic level instead of splitting greedily and stops only when the chunk exceeds some given size limits."

on a sentence level, ignoring the size limits.

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

1 participant