I’m trying to create a feature that’s similar to what Google News does – groups headlines together based on how similar they are.
I thought I would do this by grouping headlines together where headlines share a minimum number of the same word.
Is there a simple SQL query that would look at strings of text and then group them together in this manner?
In my query I’d be grouping article titles together.
Any help would be amazing. Thanks.
I would explode headlines’ each words separately, and save them like “tags” and write a query which displays other articles sharing common tags. You both solve your question, and have a tag system. win-win.