Recent Releases of textstat
textstat - 0.7.8
What's Changed
- Fixed compatiablity with
python-cmudict@1.1.0by @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.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
cmudictfor 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_countto 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_scoreto use newsyllable_threshold=kwarg. #143
Thanks to @lukaschoebel, @GuillemGSubies, and @lclarko for their contributions this release!
- Python
Published by alxwrd over 4 years ago
textstat - 0.5.7
Final Python2 release
- Added new
spache_readabilityfunction. #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 function
difficult_words_listwhich 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.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 oldavg_letter_per_wordand included puctuation.textstat.letter_count()is that same aschar_count, but ignores puctuation.
- Python
Published by alxwrd about 7 years ago
textstat - 0.5.0
.text_standard()now supports keyword argumentfloat_outputto 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 textstattoimport textstat. #41 - textstat methods now have a default return value of
0.0instead ofNoneto 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