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

Add word stats to manuscript tool #1717

Merged
merged 12 commits into from
Feb 29, 2024
Merged

Add word stats to manuscript tool #1717

merged 12 commits into from
Feb 29, 2024

Conversation

vkbo
Copy link
Owner

@vkbo vkbo commented Feb 27, 2024

Summary:

This PR:

  • Improves the general word counter and moves it into a new counting module in a text folder. This older will contain more text analysis tools later on.
  • Adds an optional stats counter to the Tokenizer class that counts words and characters in the compiled manuscript, as well as counts for headings and body text separately, including words, characters, and characters without spaces.

Related Issue(s):

Closes #1114
Closes #1116

Reviewer's Checklist:

  • The header of all files contain a reference to the repository license
  • The overall test coverage is increased or remains the same as before
  • All tests are passing
  • All flake8 checks are passing and the style guide is followed
  • Documentation (as docstrings) is complete and understandable
  • Only files that have been actively changed are committed

@vkbo vkbo merged commit 45ab705 into dev Feb 29, 2024
9 checks passed
@vkbo vkbo deleted the manuscript_stats branch February 29, 2024 21:51
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

Successfully merging this pull request may close these issues.

Add aggregated char count with and without spaces Word count for manuscript body text only
1 participant