TextStatistics.js icon indicating copy to clipboard operation
TextStatistics.js copied to clipboard

Fixed bug where replace was used only once

Open DGideas opened this issue 9 years ago • 2 comments

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

DGideas avatar Jul 27 '15 10:07 DGideas

@cgiffard

DGideas avatar Aug 23 '15 00:08 DGideas

+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

izhan avatar Sep 03 '15 01:09 izhan