Integrating Question Answering and Text-to-SQL in Portuguese

Marcos Menon José, Marcelo Archanjo José, Denis Deratani Mauá, Fábio Gagliardi Cozman

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

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.

Original languageEnglish
Title of host publicationComputational Processing of the Portuguese Language - 15th International Conference, PROPOR 2022, Proceedings
EditorsVládia Pinheiro, Pablo Gamallo, Raquel Amaro, Carolina Scarton, Fernando Batista, Diego Silva, Catarina Magro, Hugo Pinto
PublisherSpringer Science and Business Media Deutschland GmbH
Pages278-287
Number of pages10
ISBN (Print)9783030983048
DOIs
StatePublished - 2022
Externally publishedYes
Event15th International Conference on the Computational Processing of Portuguese, PROPOR 2022 - Fortaleza, Brazil
Duration: 21 Mar 202223 Mar 2022

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume13208 LNAI
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference15th International Conference on the Computational Processing of Portuguese, PROPOR 2022
Country/TerritoryBrazil
CityFortaleza
Period21/03/2223/03/22

Keywords

  • Natural language interfaces to databases
  • Natural language processing in portuguese
  • Question answering
  • Transformers networks

Fingerprint

Dive into the research topics of 'Integrating Question Answering and Text-to-SQL in Portuguese'. Together they form a unique fingerprint.

Cite this