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

Leverage word-regex #95

Merged
merged 5 commits into from
May 28, 2018
Merged

Leverage word-regex #95

merged 5 commits into from
May 28, 2018

Conversation

davidlday
Copy link
Collaborator

Implemented use of word-regex package for parsing words. This should close #91. The word-regex package still counts contractions as two words, which I strongly disagree with, but I've opened an issue there to resolve.

I also added basic scope detection, as I needed to reduce links to text in Markdown to get an accurate word count. I tested against this repo's README, which when properly reduced to text comes out to 110 words. By the way, there are no contractions in the README :) The scope detection should help keep the number of options down in the future.

@OleMchls
Copy link
Owner

OleMchls commented May 28, 2018

Hey @davidlday it took me a while to get back into this project. And I am sorry for that. Because of a previous merge this branch now has conflicts. If you could resolve it, I'd be happy to merge it.

@davidlday
Copy link
Collaborator Author

@OleMchls - no worries! Conflicts resolved.

@OleMchls OleMchls merged commit b50086a into OleMchls:master May 28, 2018
@OleMchls
Copy link
Owner

Thank you very much @davidlday

@OleMchls
Copy link
Owner

This was just released with 2.11.0 ✨

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.

Suggestion: Refine Word Matching Regex
2 participants