Reputation: 479
I am working on a project related to natural language process using python. In my project, I have my database and some data related to finance and I have to create my own page and if I give a question for example what is the net income of apple?
then I have to transfer my question into a query like select net_income from finance where name = apple
and get the answer to my question.
I've completed tokenizing the given question and removed stop words from it. I am unable to convert the tokens and add them into the query. I am very thankful if anyone could help me by giving your ideas?
Upvotes: 0
Views: 1581
Reputation: 545
Introduction
Natural Language Interfaces for Data Bases.
What if you could ask the question on your mind in the language of your choice and we add additional computational work within the system to automatically convert it into a SQL-like format to retrieve the results? Think of this as a hyper-intelligent ChatBot that converses with you seamlessly — without obstructing your thought flow with errors and other bugs.
Techniques for converting NL to SQL The broader category of techniques
Methods available in the literature
Libraries
References
Upvotes: 1