3 ms·
This is really good. Right now I am doing a bit of sentence parsing myself and I appreciate the time you have put in to documenting your algorithms as well as t
by Theodores 8y ago
This is really good. Right now I am doing a bit of sentence parsing myself and I appreciate the time you have put in to documenting your algorithms as well as the tools used.
I am interested in a few metrics such as sentence length to flag run-on sentences that are not good advertising copy. After reading your article I am wondering what else I need to be doing since I am working at the word level.
I remember Microsoft Word had tools in it to gauge reading level - do you know if there is a convenient library for that in Python world? I am not using Python myself but there is a difference between a tabloid and a broadsheet, maybe you could put that into the mix.
- Agent_Phantom 8y agoI think this library does exactly what you need: https://github.com/shivam5992/textstat https://github.com/shivam5992/textstat
- Theodores 8y agoCough cough - still using PHP... https://github.com/DaveChild/Text-Statistics https://github.com/DaveChild/Text-Statistics Cooking on gas though. Thanks again for your original post.