Natural language query processing libraries
I am looking for Natural language query processing libraries to convert plain english query to sql开发者_JAVA百科 like statements. For ex, show the list of employees whose age is 30 should be converted to select * from employees where age = 30.
Can you provide pointers/references?
Thanks, Mani
It depends on how far you want to go and the purpose of doing this. For example, do you want to handle both "whose age is 30" and "whose is 30 years-old"?
I think if you don't have too many kinds of English queries, a brute force parser against some plain English templates is a good starting point.
精彩评论