NaLIR: An Interactive Natural Language Interface for Querying Relational Databases论文学习

发布时间:2022-07-05 发布网站:脚本宝典
脚本宝典收集整理的这篇文章主要介绍了NaLIR: An Interactive Natural Language Interface for Querying Relational Databases论文学习脚本宝典觉得挺不错的,现在分享给大家,也给大家做个参考。

研究内容

  • In this demo, we PResent NaLIR, a generic interactive natural language interface for querying relational databases.(在这个演示中,我们展示了NaLIR,一个用于查询关系数据库的通用交互式自然语言界面
  •  NaLIR can accept a LOGically complex English language sentence as query input. This query is First translated into a SQL query. Then, an RDBMS is used to evaluate the translated SQL query and return the results to the user.它接受英语句子作为查询输入之后,先将此查询转换为一个SQL 查询,然后使用 RDBMS 评估,并将结果返回给用户

系统设计思路

  1.  We use an off-the-shelf natural language parser to oBTain the linguistic understanding (represented by a parse tree) of the input sentence.(我们使用现成的自然语言解析器来获得输入句子的语言理解(由解析树表示)
  2.  transform the linguistic understanding to a database’s understanding. In order to make sure that the sentence is correctly understood, we explain the database’s understanding back to the user in natural language. (将语言理解转换为数据库理解,此过程中为确保正确理解句子,会用自然语言向用户解释数据库理解
  3. the understanding is translated to a SQL query statement and evaluated by an RDBMS. (将数据库理解转换为 SQL 查询语句,并由 RDBMS 进行评估

系统架构

  •  The query translation part, which includes parse tree node mapPEr, structure adjustor and translator, is responsible for making full use of the existing information provided by the user and generate the correct SQL query statement. (查询翻译部分,包括解析树节点映射器、结构调整器和翻译器,负责充分利用用户提供的现有信息,生成正确的SQL查询语句
  •  The interactive communicator, is responsible for obtaining more information From the user and making sure that the System correctly understands her query intent. (交互通信部分:负责从用户那里获得更多信息,并确保系统正确理解用户的查询意图
    • IT explains to the user how her query is processed(它向用户解释如何处理查询
    • it shows multiple understandings for the user to choose from, which facilitates the user in eliminating misunderstandings(它显示了多种理解供用户选择,方便用户消除误解

研究基础

  • There is a stream of such reseArch on keyword search, in which, given a set of keywords, instead of finding the data relevant to these keywords, they try to interpret the query intent behind the keywords in the view of a formal query language.(有一种关于关键词搜索的研究,他们给出一组关键词,不是寻找与这些关键词相关的数据,而是试图从一种形式化的查询语言的角度来解释关键词背后的查询意图

如何做实验

  • show the use of NaLIR against a number of real application scenarios including Microsoft ACADemic Search, Yahoo! Movies, and DBLP collection.(在一些真实的应用场景中展示NaLIR的使用,这些场景包括……
  • The demonstration will consist of two phases(演示将包括两个阶段
    • the user will run the queries in the query log, which contains a set of successfully processed NL queries. The chosen NL query can also serve as a query template for the user to make small modifications.(用户将在查询日志中运行查询,其中包含一组成功处理的NL查询。所选的NL查询还可以作为查询模板,供用户进行小的修改
    • the user will be free to run their own queries.(用户可以自由地运行自己的查询

脚本宝典总结

以上是脚本宝典为你收集整理的NaLIR: An Interactive Natural Language Interface for Querying Relational Databases论文学习全部内容,希望文章能够帮你解决NaLIR: An Interactive Natural Language Interface for Querying Relational Databases论文学习所遇到的问题。

如果觉得脚本宝典网站内容还不错,欢迎将脚本宝典推荐好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。