Skip to content

Releases: textstat/textstat

0.7.13

18 Feb 21:09
e398f27

Choose a tag to compare

What's Changed

  • fix: clamp text_standard grade levels to sensible bounds by @JohnGiorgi in #217

New Contributors

Thank you to @JohnGiorgi for you contribution!

Full Changelog: 0.7.12...0.7.13

0.7.12

13 Dec 12:41
d2a275b

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.7.11...0.7.12

0.7.11

08 Nov 19:56
dadf3d2

Choose a tag to compare

What's Changed

New Contributors

Thank you @mitanshu7 for your contribution!

Full Changelog: 0.7.10...0.7.11

https://pypi.org/project/textstat/0.7.11/

1.0.0-alpha.1

03 Nov 22:08
1fb24f2

Choose a tag to compare

1.0.0-alpha.1 Pre-release
Pre-release
  • 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

30 Aug 16:01
1e7a2be

Choose a tag to compare

What's Changed

  • Revert using cmudict in favour of nltk.corpus.cmudict

Full Changelog: 0.7.8...0.7.10

0.7.8

22 Jul 08:47
92af1c5

Choose a tag to compare

What's Changed

Full Changelog: 0.7.7...0.7.8

1.0.0-alpha.0

11 Jun 22:02
955f028

Choose a tag to compare

1.0.0-alpha.0 Pre-release
Pre-release

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

11 May 09:58
d47dc86

Choose a tag to compare

Fixes broken 0.7.6 release

Full Changelog: 0.7.6...0.7.7

0.7.6

10 May 18:05
ef1784f

Choose a tag to compare

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

05 Feb 21:11
1d564a6

Choose a tag to compare

What's Changed

  • git url change in README. #199
  • Use cmudict for more accurate syllable counting in en_US. #201

New Contributors

Thanks to @nbroad1881 and @Sean-Hastings for your contributions for this release!

Full Changelog: 0.7.4...0.7.5