I remember somebody made a site which automatically categorized HN posts based on machine learning. Was there on the homepage of both HN and Product Hunt.
Can't find it now as it was hosted on some less used TLD that I can't remember. But that is definitely one way to do it.