Skip to content
This repository was archived by the owner on Sep 21, 2021. It is now read-only.

Conversation

@izhan
Copy link

@izhan izhan commented Sep 7, 2015

Fixes incorrect word count.

The current implementation adds a period to the end of any text, which adds an extra word count to any phrase. Taking an example from #4 for instance:

var stats = textstatistics("monkey goes yay");
stats.wordCount();
4

Fixes incorrect word count.

The current implementation adds a period to the end of any text, which adds an extra word count to any phrase.  Taking an example from cgiffard#4 for instance:
```
var stats = textstatistics("monkey goes yay");
stats.wordCount();
4
```
@cgiffard
Copy link
Owner

Fixed in #13. Thanks for submitting a PR — sorry I neglected it for so long! :(

@cgiffard cgiffard closed this Sep 20, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants