I am in the process of creating a forum where user will be creating tags similar to the way Stack Overflow does.
To allow users to discover more and more questions, I liked the related tags in the right which comes when we visit a page of some particular tag.
So, I wanna know how two tags are considered related ? How can I calculate the distance between tags !
I just need the views or algorithm that can be used to calculate the distance.