THE CODE IS INCOMPLETE. SOME FINAL STEPS NEED TO BE DONE TO GET THE PRECISE ANSWER
#TO RUN THE CODE
python matching.py
#VERY IMPORTANT
1 . you need to have a access to Microsoft Ngram . So , send a mail to the admin requesting a key http://research.microsoft.com/en-us/collaboration/focus/cs/web-ngram.aspx
get the token from the admin giving the details about our project
Get one token so that everyone who is doing this can use it .
#THINGS TO BE DONE
-
POS tagging for the question
-
matching of the POS tag for the wordnet step
[Code by Dheeraj R - dheeraj091 ]