Recent Releases of textstat

textstat - 0.7.8

What's Changed

  • Fixed compatiablity with python-cmudict@1.1.0 by @alxwrd in https://github.com/textstat/textstat/pull/213

Full Changelog: https://github.com/textstat/textstat/compare/0.7.7...0.7.8

- Python
Published by alxwrd 7 months ago

textstat - v1.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.

```python

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}

mytext.fleschreading_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.

- Python
Published by alxwrd 9 months ago

textstat - 0.7.7

Fixes broken [0.7.6(https://github.com/textstat/textstat/releases/tag/0.7.6) release

Full Changelog: https://github.com/textstat/textstat/compare/0.7.6...0.7.7

- Python
Published by alxwrd 10 months ago

textstat - 0.7.6

What's Changed

  • Complete rewrite motivated by intermediate-math rounding by @Sean-Hastings in https://github.com/textstat/textstat/pull/203
  • Typo correction in README.md by @vcBinary in https://github.com/textstat/textstat/pull/206

New Contributors

  • @vcBinary made their first contribution in https://github.com/textstat/textstat/pull/206

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

Full Changelog: https://github.com/textstat/textstat/compare/0.7.5...0.7.6

- Python
Published by alxwrd 10 months ago

textstat - 0.7.5

What's Changed

  • git url change in README. https://github.com/textstat/textstat/pull/199
  • Use cmudict for more accurate syllable counting in en_US. https://github.com/textstat/textstat/pull/201

New Contributors

  • @nbroad1881 made their first contribution in https://github.com/textstat/textstat/pull/199
  • @Sean-Hastings made their first contribution in https://github.com/textstat/textstat/pull/201

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

Full Changelog: https://github.com/textstat/textstat/compare/0.7.4...0.7.5

- Python
Published by alxwrd about 1 year ago

textstat -

What's Changed

  • Add Hungarian support. #189
  • Python 3.12 compatability. #197 #198

New Contributors

  • @matyasosvath made their first contribution in https://github.com/textstat/textstat/pull/189
  • @mbarkhau made their first contribution in https://github.com/textstat/textstat/pull/197

Thanks to @matyasosvath and @mbarkhau for your contributions this release!

Full Changelog: https://github.com/shivam5992/textstat/compare/0.7.3...0.7.4

- Python
Published by alxwrd about 2 years ago

textstat - 0.7.3

What's Changed

  • Add type hints. #181
  • Add McAlpine EFLAW readability score. #174
  • Fix issue with remove_punctuation(). #172
  • Make rounding optional with textstat.set_rounding(False). #166
  • Fix broken fernandez_huerta(). #165
  • Fix broken wiener_sachtextformel(). #163
  • Update syllable_count to use .split() and not .split(' ') so to split on all whitespace. #161

New Contributors

  • @AjBreidenbach made their first contribution in https://github.com/shivam5992/textstat/pull/145
  • @Clickedbigfoot made their first contribution in https://github.com/shivam5992/textstat/pull/159
  • @kadatatlukishore made their first contribution in https://github.com/shivam5992/textstat/pull/160
  • @LKirst made their first contribution in https://github.com/shivam5992/textstat/pull/161
  • @pls78 made their first contribution in https://github.com/shivam5992/textstat/pull/181

Thanks to @LKirst, @Clickedbigfoot, @AjBreidenbach, @kadatatlukishore, @pls78, and @lclarko for your contributions this release!

Full Changelog: https://github.com/shivam5992/textstat/compare/0.7.2...0.7.3

- Python
Published by alxwrd almost 4 years ago

textstat - 0.7.2

  • Added exception handling for ZeroDivisionErrors. #144
  • Added Arabic readability support. #147
  • Added Indice Gulpease index for Italian language support. #142
  • Added German readability support. #141
  • Update dale_chall_readability_score to use new syllable_threshold= kwarg. #143

Thanks to @lukaschoebel, @GuillemGSubies, and @lclarko for their contributions this release!

- Python
Published by alxwrd over 4 years ago

textstat - 0.7.1

  • Improved performace of difficult_words function.

Thanks to @markopy for their contribution this release!

- Python
Published by alxwrd almost 5 years ago

textstat - 0.7.0

  • Added Fernandez-Huerta test, Szigriszt-Pasos formula, Gutierrez-Polini index, Crawford's formula. #129
  • Added is_difficult_word and is_easy_word functions. #135

Thanks to @downvec and @richiehowelll for their contributions this release!

- Python
Published by alxwrd over 5 years ago

textstat - 0.6.2

Hotfix: add missing resource files

- Python
Published by alxwrd almost 6 years ago

textstat - 0.6.1

  • Added cache clear method. #123
  • Added support for different languages in difficult_words. #120

Thanks to @cclauss and @GuillemGSubies for their contributions this release!

- Python
Published by alxwrd almost 6 years ago

textstat - 0.6.0

  • Dropped support for Python 2 🎉. #103
  • Switched to using Pythons built-in LRU cache. #100

Thanks to @hugovk and @GuillemGSubies for their contributions this release!

- Python
Published by alxwrd about 6 years ago

textstat - 0.5.7

Final Python2 release

  • Added new spache_readability function. #87
  • Added the new Dale Chall readability score under dale_chall_readability_score_v2. #90
  • Added some support for more languages. #95, #96, #97
  • Added new functiondifficult_words_list which returns the list of difficult words. #99
  • Added new function reading_time. #102

Thanks to @akarsh3007, @lmaczulajtys, @rinaldo-rex, @kishiyamat, and @halidziya for their contributions this release!

- Python
Published by alxwrd about 6 years ago

textstat - 0.5.6

  • Fix issue with Python 2 and open(, encoding=). See #86

Thanks to @bradfordlynch, @MKaras93, and @jhpyle for their contributions this release!

- Python
Published by alxwrd almost 7 years ago

textstat - 0.5.5

  • Specify README encoding in setup.py.
  • Increase syllable threshold for difficult_words from 1 to 2.
  • Set gunning_fog difficult word syllable threshold to 3.

- Python
Published by alxwrd almost 7 years ago

textstat - 0.5.4

  • textstat.avg_letter_per_word() now ignores punctuation. #67
  • Added new methods:
    • textstat.avg_character_per_word() which has the same functionality as the old avg_letter_per_word and included puctuation.
    • textstat.letter_count() is that same as char_count, but ignores puctuation.

- Python
Published by alxwrd about 7 years ago

textstat - 0.5.3

  • .text_standard() will now correctly use the correct ordinal suffix. #65
  • .gunning_fog() should now be using the correct formula. #62, #66

Thanks to @mcnuttandrew, @jayantj for contributions for this release!

- Python
Published by alxwrd over 7 years ago

textstat - 0.5.2

  • Fixes issue with Python 2 and Pyphen.

- Python
Published by alxwrd over 7 years ago

textstat - 0.5.1

  • Fix issue with Python 2 importing. #60, #61

- Python
Published by alxwrd over 7 years ago

textstat - 0.5.0

  • .text_standard() now supports keyword argument float_output to allow result as a float. #32, #57
  • .difficult_words() is now case insensitive and supports the unicode quote marks and . #36
  • .linsear_write_formula() has had unnecessary workload removed. #37
  • Reduced importing from from textstat.textstat import textstat to import textstat. #41
  • textstat methods now have a default return value of 0.0 instead of None to help when using with modules like pandas. #48

Thanks to @aetherwu, @Kr0san89, @tripleee, @catethos for contributions for this release!

- Python
Published by alxwrd over 7 years ago