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

Word count differs from other applications #2653

Open
kuschuermann opened this issue Feb 11, 2025 · 0 comments
Open

Word count differs from other applications #2653

kuschuermann opened this issue Feb 11, 2025 · 0 comments

Comments

@kuschuermann
Copy link

Problem: Word count in CherryTree differs from that reported in other apps, such as LibreOffice Writer.

For example, "What's up, home-boy?" is 5 words in CherryTree, but 3 words in LibreOffice: Neither the apostrophe nor hyphen should be treated as word separators, at least not for purposes of counting words in stories.

Solution: Allow all word separator character(s) to be specified in Settings. If internally implemented as a regular expression, expose this regex directly, as it would allow for significant flexibility at the hands of those who want this. Either way, clearing out that setting should revert CherryTree to its built-in default (the value currently in use).

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