Releases: textstat/textstat
0.7.13
What's Changed
- fix: clamp text_standard grade levels to sensible bounds by @JohnGiorgi in #217
New Contributors
- @JohnGiorgi made their first contribution in #217
Thank you to @JohnGiorgi for you contribution!
Full Changelog: 0.7.12...0.7.13
0.7.12
0.7.11
What's Changed
- Download cmudict if not found in path by @mitanshu7 in #215
New Contributors
- @mitanshu7 made their first contribution in #215
Thank you @mitanshu7 for your contribution!
Full Changelog: 0.7.10...0.7.11
1.0.0-alpha.1
- Make cmudict an optional dependency - see #214
- Fix a bug with the Lix implementation
- Added doc strings
- Added new citeation feature
>>> from textstat import Text
>>> my_text = Text("...")
>>> my_text.flesch_reading_ease()
...
>>> my_text.flesch_reading_ease.cite()
"Flesch, R. (1948). 'A new readability yardstick'. Journal of Applied Psychology, 32(3), pp. 221-232. doi:10.1037/h0057532."If you want to try it, it's available as a pre-release on PyPi also
pip install --pre textstat
If you do try it out, I would love to hear from you in the attached GitHub discussion.
Source is available on the dev branch.
Full Changelog: 1.0.0-alpha.0...1.0.0-alpha.1
0.7.10
0.7.8
What's Changed
- Fixed compatiablity with
[email protected]by @alxwrd in #213
Full Changelog: 0.7.7...0.7.8
1.0.0-alpha.0
This is a very early pre-release of a potential re-write of textstat I've been working on off-and-on.
>>> from textstat import Text, Sentence, Word
>>> my_text = Text(
"Alice was beginning to get very tired of sitting by her sister on the "
"bank, and of having nothing to do: once or twice she had peeped into "
"the book her sister was reading, but it had no pictures or "
"conversations in it, “and what is the use of a book,” thought Alice "
"“without pictures or conversations?”"
)
>>> my_text.stats()
{'letters': 236, 'characters': 246, 'words': 57, 'sentences': 1}
>>> my_text.flesch_reading_ease()
31.727368421052645
>>> my_text.filter(Word.length >= 10)
[Word('conversations'), Word('conversations')]The intial idea behind this new version is to better support other languages - but now contains a new interface and features.
This intial release only supports English but has the framework for adding additional languages.
If you want to try it, it's available as a pre-release on PyPi also
pip install --pre textstat
If you do try it out, I would love to hear from you in the attached GitHub discussion.
Source is available on the dev branch.
0.7.7
0.7.6
What's Changed
- Complete rewrite motivated by intermediate-math rounding by @Sean-Hastings in #203
- Typo correction in README.md by @vcBinary in #206
New Contributors
- @vcBinary made their first contribution in #206
Thanks to @Sean-Hastings and @vcBinary or your contributions for this release!
Full Changelog: 0.7.5...0.7.6
0.7.5
What's Changed
New Contributors
- @nbroad1881 made their first contribution in #199
- @Sean-Hastings made their first contribution in #201
Thanks to @nbroad1881 and @Sean-Hastings for your contributions for this release!
Full Changelog: 0.7.4...0.7.5