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

Fixed bug where replace was used only once #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

DGideas
Copy link

@DGideas DGideas commented Jul 27, 2015

Also added strip apostrophe for words like: I'm You're

Also added strip apostrophe for words like: I'm You're
@DGideas
Copy link
Author

DGideas commented Aug 23, 2015

@cgiffard

@izhan
Copy link

izhan commented Sep 3, 2015

+1

I've encountered weird bugs due to this issue — some strings have different scores depending on punctuation.

for instance:
this.fleschKincaidReadingEase("hello!") => 121.2
this.fleschKincaidReadingEase("hello!!!") => 79.6

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