A Pilot Study for Chinese SQL Semantic Parsing

Qingkai Min, Yuefeng Shi, Yue Zhang
9/29/2019
cs.CL

Official code: taolusi/chisp (207 stars, last commit 2021-03-12).

Abstract

The task of semantic parsing is highly useful for dialogue and question answering systems. Many datasets have been proposed to map natural language text into SQL, among which the recent Spider dataset provides cross-domain samples with multiple tables and complex queries. We build a Spider dataset for Chinese, which is currently a low-resource language in this task area. Interesting research questions arise from the uniqueness of the language, which requires word segmentation, and also from the fact that SQL keywords and columns of DB tables are typically written in English. We compare character- and word-based encoders for a semantic parser, and different embedding schemes. Results show that word-based semantic parser is subject to segmentation errors and cross-lingual word embeddings are useful for text-to-SQL.

View on arXivView PDF

Code Implementations(1)

taolusi/chispOfficial100%

scripts and baselines for CSpider: Chinese semantic parsing and text-to-SQL challenge

20721Shell, PythonAug 14, 20195 years ago

Similar Papers

Cite this paper

@article{min2019pilot,
  title  = {A Pilot Study for Chinese SQL Semantic Parsing},
  author = {Qingkai Min and Yuefeng Shi and Yue Zhang},
  year   = {2019},
  eprint = {1909.13293},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1909.13293}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1909.13293.svg)](https://codeofpaper.com/paper/1909.13293)

Discussion