Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Bridgetownrb automatic related posts plugin using TF-IDF and cosine similarity (matthewclarkson.com.au)
1 point by mpclarkson on Aug 12, 2024 | hide | past | favorite | 2 comments


I just releasaed this Bridgetownrb static site builder plugin which leverages the power of TF-IDF (Term Frequency-Inverse Document Frequency) and cosine similarity to automatically add related posts to your blog entries. I'm considering doing something similar for Rails and Django. Seems to work well - the bigger the site the better the results.





Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: