Integrating Question Answering and Text-to-SQL in Portuguese

被引:2
|
作者
Jose, Marcos Menon [1 ]
Jose, Marcelo Archanjo [2 ]
Maua, Denis Deratani [3 ]
Cozman, Fabio Gagliardi [1 ]
机构
[1] Univ Sao Paulo, Escola Politecn, Sao Paulo, Brazil
[2] Ctr Artificial Intelligence C4AI, Sao Paulo, Brazil
[3] Univ Sao Paulo, Inst Matemat & Estat, Sao Paulo, Brazil
基金
巴西圣保罗研究基金会;
关键词
Question answering; Transformers networks; Natural language processing in portuguese; Natural language interfaces to databases;
D O I
10.1007/978-3-030-98305-5_26
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Deep learning transformers have drastically improved systems that automatically answer questions in natural language. However, different questions demand different answering techniques; here we propose, build and validate an architecture that integrates different modules to answer two distinct kinds of queries. Our architecture takes a free-form natural language text and classifies it to send it either to a Neural Question Answering Reasoner or a Natural Language parser to SQL. We implemented a complete system for the Portuguese language, using some of the main tools available for the language and translating training and testing datasets. Experiments show that our system selects the appropriate answering method with high accuracy (over 99%), thus validating a modular question answering strategy.
引用
收藏
页码:278 / 287
页数:10
相关论文
共 50 条
  • [41] Graph Reasoning Enhanced Language Models for Text-to-SQL
    Gong, Zheng
    Sun, Ying
    PROCEEDINGS OF THE 47TH INTERNATIONAL ACM SIGIR CONFERENCE ON RESEARCH AND DEVELOPMENT IN INFORMATION RETRIEVAL, SIGIR 2024, 2024, : 2447 - 2451
  • [42] Exploring Chain of Thought Style Prompting for Text-to-SQL
    Tai, Chang-You
    Chen, Ziru
    Zhang, Tianshu
    Deng, Xiang
    Sun, Huan
    2023 CONFERENCE ON EMPIRICAL METHODS IN NATURAL LANGUAGE PROCESSING, EMNLP 2023, 2023, : 5376 - 5393
  • [43] A Review of Cross-Domain Text-to-SQL Models
    Gan, Yujian
    Purver, Matthew
    Woodward, John R.
    AACL-IJCNLP 2020: THE 1ST CONFERENCE OF THE ASIA-PACIFIC CHAPTER OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS AND THE 10TH INTERNATIONAL JOINT CONFERENCE ON NATURAL LANGUAGE PROCESSING: PROCEEDINGS OF THE STUDENT RESEARCH WORKSHOP, 2020, : 101 - 108
  • [44] Text-to-SQL Error Correction with Language Models of Code
    Chen, Ziru
    Chen, Shijie
    White, Michael
    Mooney, Raymond
    Payani, Ali
    Srinivasa, Jayanth
    Su, Yu
    Sun, Huan
    61ST CONFERENCE OF THE THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS, ACL 2023, VOL 2, 2023, : 1359 - 1372
  • [45] Multitask Pretraining with Structured Knowledge for Text-to-SQL Generation
    Giaquinto, Robert
    Zhang, Dejiao
    Kleiner, Benjamin
    Li, Yang
    Tan, Ming
    Bhatia, Parminder
    Nallapati, Ramesh
    Ma, Xiaofei
    PROCEEDINGS OF THE 61ST ANNUAL MEETING OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS (ACL 2023): LONG PAPERS, VOL 1, 2023, : 11067 - 11083
  • [46] Bridging the Generalization Gap in Text-to-SQL Parsing with Schema Expansion
    Zhao, Chen
    Su, Yu
    Pauls, Adam
    Platanios, Emmanouil Antonios
    PROCEEDINGS OF THE 60TH ANNUAL MEETING OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS (ACL 2022), VOL 1: (LONG PAPERS), 2022, : 5568 - 5578
  • [47] A Heterogeneous Graph to Abstract Syntax Tree Framework for Text-to-SQL
    Cao, Ruisheng
    Chen, Lu
    Li, Jieyu
    Zhang, Hanchong
    Xu, Hongshen
    Zhang, Wangyou
    Yu, Kai
    IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, 2023, 45 (11) : 13796 - 13813
  • [48] Synthesizing Text-to-SQL Data from Weak and Strong LLMs
    Yang, Jiaxi
    Hui, Binyuan
    Yang, Min
    Yang, Jian
    Lin, Junyang
    Zhou, Chang
    PROCEEDINGS OF THE 62ND ANNUAL MEETING OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS, VOL 1: LONG PAPERS, 2024, : 7864 - 7875
  • [49] Evaluating Cross-Domain Text-to-SQL Models and Benchmarks
    Pourreza, Mohammadreza
    Rafiei, Davood
    2023 CONFERENCE ON EMPIRICAL METHODS IN NATURAL LANGUAGE PROCESSING, EMNLP 2023, 2023, : 1601 - 1611
  • [50] Text-to-SQL Empowered by Large Language Models: A Benchmark Evaluation
    Gao, Dawei
    Wang, Haibin
    Li, Yaliang
    Sun, Xiuyu
    Qian, Yichen
    Ding, Bolin
    Zhou, Jingren
    PROCEEDINGS OF THE VLDB ENDOWMENT, 2024, 17 (05): : 1132 - 1145