如何通过java将自然语言查询转换为app中的SQL查询? [英] How to convert natural language query into SQL query in app by java?

查看:258
本文介绍了如何通过java将自然语言查询转换为app中的SQL查询?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要任何代码可以帮助我理解从NLP转换为SQL查询的想法



我尝试过:



我尝试用java编写代码,用sql接收来自最终用户的自然语言查询然后将该查询转换为sql并将结果输出到用户

i need any code can help me to understand the idea of converting from NLP to SQL query

What I have tried:

i'm try to programming code by java with sql reception the query from end user by natural language then transform that query into sql and get the result to user

推荐答案

这是一项复杂的工作,但有一个名为seq2sql的项目可以帮助您。这是一个链接到PDF白皮书,解释它是如何工作的。以下是seq2sql的 GitHub源代码链接
This is a complex undertaking, but there is a project called seq2sql to help you. Here is a link to a PDF white paper explaining how it works. Here is a link to the GitHub source code to seq2sql.


这篇关于如何通过java将自然语言查询转换为app中的SQL查询?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆