Systems and methods for translating natural language sentences into database queries
Abstract
Described systems and methods allow an automatic translation from a natural language (e.g., English) into an artificial language such as a structured query language (SQL). In some embodiments, a translator module includes an encoder component and a decoder component, both components comprising recurrent neural networks. Training the translator module comprises two stages. A first stage trains the translator module to produce artificial language (AL) output when presented with an AL input. For instance, the translator is first trained to reproduce an AL input. A second stage of training comprises training the translator to produce AL output when presented with a natural language (NL) input.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 40 · Forward citations: 4.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method comprising employing at least one hardware processor of a computer system to train an automatic natural language (NL) to artificial language (AL) translator, wherein training the NL-to-AL translator comprises: performing a first stage of training; determining whether a first stage training termination condition is satisfied according to at least one performance criterion in the first stage of training; and in response, when the first stage training termination condition is satisfied, performing a second stage of training; wherein performing the first stage of training comprises: execu
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (4 of 4 total)
References Cited — Backward Prior Art (40)
Non-Patent Literature (5)
- Brad et al., "Dataset for a Neural Natural Language Interface for Databases (NNLIDB)," https://arxiv.org/abs/1707.03172, Cornell University Library, Ithaca, NY, USA, Jul. 11, 2017.
- Cai et al., "An Encoder-Decoder Framework Translating Natural Language to Database Queries," https://arxiv.org/abs/1711.06061, v. 2, Cornell University Library, Ithaca, NY, USA, Jun. 9, 2018.
- European Patent Office, International Search Report and Written Opinion dated Oct. 1, 2019 for PCT International Application No. PCT/EP2019/066794, international filing date Jun. 25, 2019, priority date Jun. 27, 2018.
- Guo et al., "Bidirectional Attention for SQL Generation," https://arxiv.org/abs/1801.00076, v. 6, Cornell University Library, Ithaca, NY, USA, Jun. 21, 2018.
- Hu et al., "CodeSum: Translate Program Language to Natural Language," https://arxiv.org/abs/1708.01837, v. 1, Cornell University Library, Ithaca, NY, USA, Aug. 6, 2017.