I'm trying to make such a software which makes 2 text documents intelligently sort of like checking how much the text matches, not like DIFF I have searched a quite on Google, And I found 2 things which is Graph & TFIDF.
But I'm confused between both of them, I don't know which one is better & also is there any other technique to match text documents