paper-with-me

홈 › Papers

Text-to-SQL Error Correction with Language Models of Code

2023-05-22 · Ziru Chen, Shijie Chen, Michael White, Raymond Mooney, Ali Payani, Jayanth Srinivasa, Yu Su, Huan Sun

Despite recent progress in text-to-SQL parsing, current semantic parsers are still not accurate enough for practical use. In this paper, we investigate how to build automatic text-to-SQL error correction models. Noticing that token-level edits are out of context and sometimes ambiguous, we propose building clause-level edit models instead. Besides, while most language models of code are not specifically pre-trained for SQL, they know common data structures and their operations in programming languages such as Python. Thus, we propose a novel representation for SQL queries and their edits that adheres more closely to the pre-training corpora of language models of code. Our error correction model improves the exact set match accuracy of different parsers by 2.4-6.5 and obtains up to 4.3 point absolute improvement over two strong baselines. Our code and data are available at https://github.com/OSU-NLP-Group/Auto-SQL-Correction.

📄 PDF Abstract BibTeX arXiv:2305.13073

Code (1)

osu-nlp-group/auto-sql-correction 공식 구현

Tasks

SQL ParsingText to SQLText-To-SQL

Similar Papers 제목 키워드 기반

Improving Grammatical Error Correction for Multiword Expressions

2022-06-01 · LREC (MWE) 2022 6 · Shiva Taslimipoor, Christopher Bryant, Zheng Yuan

Grammatical error correction (GEC) is the task of automatically correcting errors in text. It has mainly been developed to assist language learning, but can also be applied to native text. This paper reports on prelimina…

DecoderGrammatical Error Correction

Hierarchical Character Tagger for Short Text Spelling Error Correction

2021-09-29 · WNUT (ACL) 2021 11 · Mengyi Gao, Canran Xu, Peng Shi

State-of-the-art approaches to spelling error correction problem include Transformer-based Seq2Seq models, which require large training sets and suffer from slow inference time; and sequence labeling models based on Tran…

Language ModelingLanguage Modelling

Towards Minimal Supervision BERT-based Grammar Error Correction

2020-01-10 · Yiyuan Li, Antonios Anastasopoulos, Alan W. black

Current grammatical error correction (GEC) models typically consider the task as sequence generation, which requires large amounts of annotated data and limit the applications in data-limited settings. We try to incorpor…

Grammatical Error CorrectionLanguage ModelingLanguage Modelling

Towards Lithuanian grammatical error correction

2022-03-18 · Lukas Stankevičius, Mantas Lukoševičius

Everyone wants to write beautiful and correct text, yet the lack of language skills, experience, or hasty typing can result in errors. By employing the recent advances in transformer architectures, we construct a grammat…

Grammatical Error Correction

Leveraging Fine-grained Error Correction in Korean Speech Recognition for Consultation Services

2026-09-09 · Yonghyun Jun, Jimin Lee, Hwan Chang, Dongho Shin 외 arxiv

Automatic Speech Recognition (ASR) technology is fundamental to customer service automation and large-scale transcription. However, even advanced ASR models exhibit inevitable errors in complex real-world environments su…

Speech Recognition