I have 2 texts as below
Text1 : John likes apple
Text2 : Mike hates orange
If you check above 2 texts, both of them are similar syntactically but semantically have a different meaning.
I want to find
1) Syntactic distance between 2 texts
2) Semantic distance between 2 texts
Is there any way to do this using nltk, as I am newbie to NLP?