Show HN: Estimated Reading Time API
klopets.com
Show HN: Estimated Reading Time API
1–10 of 30 posts
Re: Show HN: Estimated Reading Time API
#2Re: Show HN: Estimated Reading Time API
#3(Source for 200 words per minute: https://en.wikipedia.org/wiki/Words_per_minute#Reading_and_c... )
Re: Show HN: Estimated Reading Time API
#4Why do we need an API for this? A library seems easier, and even that is a stretch for doing `$wordcount / 200 = minutes required to read`. Does this make an estimate of the article's complexity and adjust how many words a person reads per minute? (Source for 200 words per minute: https://en.wikipedia.org/wiki/Words_per_minute#Reading_and_c... )
Re: Show HN: Estimated Reading Time API
#5Just asking because there's no explanation, and it would be probably better to hack something in JS than to depend on this probably-soon-to-vanish-api. There's already https://eager.io/app/reading-time, for example, which anyone can install in 2 minutes, and is based on a simple algorithm[1], it seems.
[1]: https://github.com/TeffenEllis/reading-time/blob/master/app....
Re: Show HN: Estimated Reading Time API
#6I do think I should adjust the words per minute values...
[1] https://github.com/getpelican/pelican-plugins/tree/master/po... [2] http://en.wikipedia.org/wiki/Flesch%E2%80%93Kincaid_readabil...
Re: Show HN: Estimated Reading Time API
#7Nice demo! Is this code for this available online? I'd love to see how this works.
Re: Show HN: Estimated Reading Time API
#8Re: Show HN: Estimated Reading Time API
#9Re: Show HN: Estimated Reading Time API
#10Why do we need an API for this? A library seems easier, and even that is a stretch for doing `$wordcount / 200 = minutes required to read`. Does this make an estimate of the article's complexity and adjust how many words a person reads per minute? (Source for 200 words per minute: https://en.wikipedia.org/wiki/Words_per_minute#Reading_and_c... )
We definitely don't need an API. Then again, we basically don't need most APIs. This doesn't estimate the article's complexity as of now, but its main point is not just getting the length of the entire site, but locating the most likely main content area and THEN doing the /250.
https://github.com/grangier/python-goose
https://pypi.python.org/pypi/textstat/
+ using word counts that adjust for reading ease