Algorithm to find articles with similar text

后端 未结 15 2462
梦谈多话
梦谈多话 2020-11-28 18:10

I have many articles in a database (with title,text), I\'m looking for an algorithm to find the X most similar articles, something like Stack Overflow\'s \"Related Questions

15条回答
  •  盖世英雄少女心
    2020-11-28 18:41

    SO does the comparison only on the title, not on the body text of the question, so only on rather short strings.

    You can use their algorithm (no idea what it looks like) on the article title and the keywords. If you have more cpu time to burn, also on the abstracts of your articles.

提交回复
热议问题