Show HN: Homer – A Text Analyzer in Python
github.com
github.com
It provides information on an overall text as well as on individual paragraphs. It gives insights into readability, length of paragraphs, length of sentences, average sentences per paragraph, average words in a sentence, etc. It is based on work by Pinker and another research study [1, 2].
This software package grew out of a personal need. Since I am not a native English speaker but am interested in writing. I write OpEds and a blog. So I designed and have been using Homer to improve my writing. I hope others will find it useful. I am aware of other tools (such as ProseLint) but I built this thinking this would help me improve my Python. :) Also, over time I plan on improving this.
References:
1- Steven Pinker's The Sense of Style:
_The Sense of Style_ has a lot more why and how. The author showed the reasons that he recommend certain ways of writing, sometimes referencing studies in linguistics and cognitive science. The rules it contains are not as rigid as _The Elements of Style_; many of the style guides are really just something to keep in mind. Reading _The Sense of Style_ was like peeking into the thought process of the author.
Unfortunately, out of a sample of my longer comments here, all it really ever picks up are overuse of "very" and things like using "..." instead of the actual ellipsis.
https://github.com/retextjs/awesome-retext https://github.com/textlint/textlint
It's a pet idea of mine that I just haven't had time to play with. Would need to adjust for size of the company and industry, at a minimum...