I'm working on a project that frequently needs to check the similarity score between two web url, initially i did this by scraping all the text from the web page and then calculated the document similarity. However this is really time consuming, instead what i'm looking for is a way which can detect the similarity between urls by just using the contents of the url instead of going through all the text.
eg:
url1: https://en.wikipedia.org/wiki/Tic-tac-toe
url2: https://en.wikipedia.org/wiki/Chess
a rough similarity estimate : 67% (since both are from wiki and both are related to games)