textstat

python package to calculate readability statistics of a text object - paragraphs, sentences, articles.

MIT License

Downloads
502.1K
Stars
1.1K
Committers
44

Bot releases are hidden (Show)

textstat - Latest Release

Published by alxwrd 9 months ago

What's Changed

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

New Contributors

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

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

textstat - 0.7.3

Published by alxwrd over 2 years ago

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

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

textstat - 0.7.2

Published by alxwrd about 3 years ago

  • 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!

textstat - 0.7.1

Published by alxwrd over 3 years ago

  • Improved performace of difficult_words function.

Thanks to @markopy for their contribution this release!

textstat - 0.7.0

Published by alxwrd almost 4 years ago

  • 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!

textstat - 0.6.2

Published by alxwrd over 4 years ago

Hotfix: add missing resource files

textstat - 0.6.1

Published by alxwrd over 4 years ago

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

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

textstat - 0.6.0

Published by alxwrd almost 5 years ago

  • 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!

textstat - 0.5.7

Published by alxwrd almost 5 years ago

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!

textstat - 0.5.6

Published by alxwrd over 5 years ago

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

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

textstat - 0.5.5

Published by alxwrd over 5 years ago

  • 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.
textstat - 0.5.4

Published by alxwrd almost 6 years ago

  • 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.
textstat - 0.5.3

Published by alxwrd almost 6 years ago

  • .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!

textstat - 0.5.2

Published by alxwrd almost 6 years ago

  • Fixes issue with Python 2 and Pyphen.
textstat - 0.5.1

Published by alxwrd almost 6 years ago

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

Published by alxwrd almost 6 years ago

  • .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!

Package Rankings
Top 1.66% on Pypi.org
Badges
Extracted from project README
PyPI Build Status Downloads
Related Projects