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

Stripping whitespace around sentences is destructive #17

Open
jordan-smith opened this issue Aug 15, 2024 · 0 comments
Open

Stripping whitespace around sentences is destructive #17

jordan-smith opened this issue Aug 15, 2024 · 0 comments

Comments

@jordan-smith
Copy link

As mentioned in issue #10 sentencex strips whitespace around sentences so it's not really "non-destructive" like the docs state. It can be shown in the demo: if you add multiple whitespaces at the beginning of a sentence, they don't appear in the output.

While it's easy to restore the missing whitespace to the output by comparing it to the full text, it would be nice if sentencex wouldn't strip it in the first place, or if that were optional. At the very least the docs should be corrected in the meantime to avoid confusion.

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

No branches or pull requests

1 participant