OleMchls / atom-wordcount

Counts the words in your current document
https://atom.io/packages/wordcount
MIT License
38 stars 27 forks source link

Leverage word-regex #95

Closed davidlday closed 6 years ago

davidlday commented 6 years ago

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 commented 6 years ago

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 commented 6 years ago

@OleMchls - no worries! Conflicts resolved.

OleMchls commented 6 years ago

Thank you very much @davidlday

OleMchls commented 6 years ago

This was just released with 2.11.0 ✨