text-metrics 1.0.0.beta2 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +3 -1
- data/lib/text_metrics/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0aa8550e92948515979c3ddf605d9a591992f7fd855097c3a942bd4bdaa2e490
|
|
4
|
+
data.tar.gz: 540fd11f846a899d8a0266e53e303c879c5655fe18d674165b5a7a480332b245
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ca14e801a86eee04c3633b53a5eb77d403308fe6698a111664c6eac82409977d7e697019611ed1e21dcb43f4ec7cb275048d2f9fad6e279d9613a0a73b41f982
|
|
7
|
+
data.tar.gz: 47218fd86626d8656217ee13cdd8d67f2eb2950a88ee18aed23bd42d73e2c4d5a1f20ff44b2650f7fb308b0dd4184682bfb5891f35f5fe9680e53878713f4ff8
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
|
@@ -8,6 +8,8 @@ Text Metrics is a Ruby library for analysing text. It was inspired by the Python
|
|
|
8
8
|
|
|
9
9
|
It gives you the everyday counts you need — words, characters, sentences and syllables — plus readability scores such as Flesch Reading Ease, Flesch-Kincaid Grade Level, SMOG, Gunning Fog, Coleman-Liau Index and LIX. English and French are supported.
|
|
10
10
|
|
|
11
|
+
It is battle-tested in production on millions of student writings at [Plume](https://plume-app.co).
|
|
12
|
+
|
|
11
13
|
## Accurate, dictionary-based syllable counting
|
|
12
14
|
|
|
13
15
|
Readability scores such as Flesch, Flesch-Kincaid and SMOG depend heavily on syllable counts. Many libraries estimate those counts with hyphenation rules, which are fast but often wrong. Text Metrics starts from real pronunciation data instead:
|
|
@@ -52,7 +54,7 @@ Text Metrics is not published to RubyGems yet. For now, install it from GitHub:
|
|
|
52
54
|
|
|
53
55
|
```ruby
|
|
54
56
|
# Gemfile
|
|
55
|
-
gem "text-metrics",
|
|
57
|
+
gem "text-metrics", "~> 1.0.0"
|
|
56
58
|
```
|
|
57
59
|
|
|
58
60
|
### Supported Ruby versions
|
data/lib/text_metrics/version.rb
CHANGED