Hi all,

I am trying to develop a simple chat-bot to receive instruction from a user and generate a SQL query from it. Since I am new to NLP and NLU, I thought I will start from scratch with syntax and semantic analyzer. From the lessons I had in compiler design course, I could come up with a grammar for my text input and even a semantic rules to generate the SQL instruction. I thought I will go with Python for actual implementation and I came to know about NLTK libraries to implement a parser to parse my input. It works. However, when dealing with terminals I had to generate a lot of productions and corresponding semantic rules. Is there a better way to handle this problem that I should look into? Please provide me some idea on how to go about it.

Any help is appreciated. Thanks.

Similar questions and discussions