title: Compare two sentences on basis of grammar using NLP
body: <p>I have 2 sentences to compare on the basis of their grammar using NLP. I am completely new to NLP and want to know if there is an algorithm to determine this. I know how to compare using word similarity and sentiments.</p>