期刊文献+
共找到1篇文章
< 1 >
每页显示 20 50 100
Semantic Path Attention Network Based on Heterogeneous Graphs for Natural Language to SQL Task 被引量:1
1
作者 周浩冉 宋晖 龚蒙蒙 《Journal of Donghua University(English Edition)》 CAS 2023年第5期531-538,共8页
The natural language to SQL(NL2SQL)task is an emerging research area that aims to transform a natural language with a given database into an SQL query.The earlier approaches were to process the input into a heterogene... The natural language to SQL(NL2SQL)task is an emerging research area that aims to transform a natural language with a given database into an SQL query.The earlier approaches were to process the input into a heterogeneous graph.However,previous models failed to distinguish the types of multi-hop connections of the heterogeneous graph,which tended to ignore crucial semantic path information.To this end,a two-layer attention network is presented to focus on essential neighbor nodes and mine enlightening semantic paths for feature encoding.The weighted edge is introduced for schema linking to connect the nodes with semantic similarity.In the decoding phase,a rule-based pruning strategy is offered to refine the generated SQL queries.From the experimental results,the approach is shown to learn a good encoding representation and decode the representation to generate results with practical meaning. 展开更多
关键词 semantic path two-layer attention network semantic linking
下载PDF
上一页 1 下一页 到第
使用帮助 返回顶部