Configurable method and system for converting natural language into sql
A natural language and semantic technology, applied in semantic analysis, special data processing applications, instruments, etc., can solve problems such as single database and business scenarios, fixed sql structure, and inability to advanced sql, so as to improve business scope, fast response, and maintenance simple effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0052] In this embodiment, a configurable natural language to sql method is characterized in that it includes the following steps:
[0053] Step 1. Construct the sql structure to preprocess the question text;
[0054] Step 2. Discrimination of aggregation conditions through semantic component matching;
[0055] Step 3, using the time element to extract the text time period;
[0056] Step 4. Extract conditions other than the time element through the condition element.
[0057] In a further embodiment, to determine the sql structure in the step 1, firstly, the question text is preprocessed, unimportant words are removed, and some expressions are converted into vocabulary, and then, through the matching of semantic components, it is determined sql template;
[0058] The process steps of preprocessing the question text are as follows:
[0059] Step 11, segment and sentence the input text, and decompose the text into short sentences. The first step of the semantic-based preproc...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 
