Learning to Transform Vietnamese Natural Language Queries into SQL Commands

被引:0
|
作者
Thi-Hai-Yen Vuong [1 ]
Thi-Thu-Trang Nguyen [1 ]
Nhu-Thuat Tran [1 ]
机构
[1] Vietnam Natl Univ, Univ Engn & Technol, Hanoi, Vietnam
关键词
Understanding natural language query; transform natural language query to SQL query; INTERFACE;
D O I
10.1109/kse.2019.8919393
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
In the field of data management, users traditionally manipulates their data using structured query language (SQL). However, this method requires an understanding of relational database, data schema, and SQL syntax as well as the way it works. Database manipulation using natural language, therefore, is much more convenient since any normal user can interact with their data without a background of database and SQL. This is, however, really tough because transforming natural language commands into SQL queries is a challenging task in natural language processing and understanding. In this paper, we propose a novel two-phase approach to automatically analyzing and converting natural language queries into the corresponding SQL forms. In our approach, the first phase is component segmentation which identifies primary clauses in SQL such as SELECT, FROM, WHERE, ORDER BY, etc. The second phase is slot-filling that helps extract sub-components for each primary clause such as SELECT column(s), SELECT aggregation operation, etc. We carefully conducted an empirical evaluation for our method using conditional random fields (CRFs) on a medium-sized corpus of natural language queries in Vietnamese, and have achieved promising results with an average accuracy of more than 90%.
引用
收藏
页码:410 / 414
页数:5
相关论文
共 50 条
  • [21] Discovering Natural Language Commands in Multimodal Interfaces
    Srinivasan, Arjun
    Dontcheva, Mira
    Adar, Eytan
    Walker, Seth
    [J]. PROCEEDINGS OF IUI 2019, 2019, : 661 - 672
  • [22] Automatic recognition and evaluation of natural language commands
    Majewski, Maciej
    Kacalak, Wojciech
    [J]. ADVANCES IN NEURAL NETWORKS - ISNN 2006, PT 3, PROCEEDINGS, 2006, 3973 : 1155 - 1160
  • [23] Learning to generate structured queries from natural language with indirect supervision
    Bai, Ziwei
    Yu, Bo
    Wu, Bowen
    Wang, Zhuoran
    Wang, Baoxun
    [J]. COMPUTER SPEECH AND LANGUAGE, 2021, 67
  • [24] Mapping natural language commands to web elements
    Pasupat, Panupong
    Jiang, Tian-Shun
    Liu, Evan
    Guu, Kelvin
    Liang, Percy
    [J]. 2018 CONFERENCE ON EMPIRICAL METHODS IN NATURAL LANGUAGE PROCESSING (EMNLP 2018), 2018, : 4970 - 4976
  • [25] Natural SQL: Making SQL Easier to Infer from Natural Language Specifications
    Gan, Yujian
    Chen, Xinyun
    Xie, Jinxia
    Purver, Matthew
    Woodward, John R.
    Drake, John
    Zhang, Qiaofu
    [J]. FINDINGS OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS, EMNLP 2021, 2021, : 2030 - 2042
  • [26] Building Individual Educational Routes for Learning SQL Queries
    Govorov, Anton
    Govorova, Marina
    Slizen, Helen
    Ivanov, Sergey
    [J]. PROCEEDINGS OF THE 2019 25TH CONFERENCE OF OPEN INNOVATIONS ASSOCIATION (FRUCT), 2019, : 116 - 122
  • [27] Mapping natural language into SQL in a NLDB
    Giordani, Alessandra
    [J]. NATURAL LANGUAGE AND INFORMATION SYSTEMS, PROCEEDINGS, 2008, 5039 : 367 - 371
  • [28] Enhancement of Natural Language to SQL Query Conversion using Machine Learning Techniques
    Prasad, Akshar
    Badhya, Sourabh S.
    Yashwanth, Y. S.
    Rohan, Shetty
    Shobha, G.
    Deepamala, N.
    [J]. INTERNATIONAL JOURNAL OF ADVANCED COMPUTER SCIENCE AND APPLICATIONS, 2020, 11 (12) : 494 - 503
  • [29] Natural Language queries in CBR systems
    Diaz-Agudo, Belen
    Recio-Garcia, Juan A.
    Gonzalez-Calero, Pedro A.
    [J]. 19TH IEEE INTERNATIONAL CONFERENCE ON TOOLS WITH ARTIFICIAL INTELLIGENCE, VOL II, PROCEEDINGS, 2007, : 468 - 472
  • [30] Understanding Search Queries in Natural Language
    Neverilova, Zuzana
    Kvassay, Matej
    [J]. RASLAN 2018: RECENT ADVANCES IN SLAVONIC NATURAL LANGUAGE PROCESSING, 2018, : 85 - 93