I am novice in Python and NLP, and my problem is how to finding out Intent of given questions, for example I have sets of questions and answers like this :
question:What is NLP; answer: NLP stands for Natural Language Processing
I did some basic POS tagger on given questions in above question I get entety [NLP] I also did String Matching using this algo.
Basically I faced following issues :
- If user ask
what is NLPthen it will return exact answers - If user ask
meaning of NLPthen it fail - If user ask
Definition of NLPthen it fail - If user ask
What is Natural Language Processingthen it fail
So how I should identify user intent of given questions because in my case String matching or pattern matching not works.