3 ms·
I have used and love readability.js. I used it in an application that lets you run various NLP analyses over a web page (surprisals, reading time, word counts,
by zerojames 3y ago
I have used and love readability.js. I used it in an application that lets you run various NLP analyses over a web page (surprisals, reading time, word counts, etc.). For that, I needed only the main page content. readability.js retrieves main page content well, consistently.
The Alan Turing Institute maintains a Python wrapper around readability.js, too: https://github.com/alan-turing-institute/ReadabiliPy https://github.com/alan-turing-institute/ReadabiliPy.
- crabmusket 3y agoI had not heard the term "surprisal" before. It's a delightful word. https://en.wikipedia.org/wiki/Information_content https://en.wikipedia.org/wiki/Information_content