Natural language conversion method and system oriented to time sequence database
By combining time extraction algorithm and semantic analysis with machine learning methods, a time series data query corpus is constructed, which solves the problems of diversity of time expressions and inaccurate semantic analysis in the natural language interface of time series database, realizes efficient and accurate time series data query, and improves the efficiency of time series data query. Operational efficiency for non-professional users.
CN118780247APending Publication Date: 2024-10-15NANJING UNIV OF AERONAUTICS & ASTRONAUTICS
Patent Information
- Application Number
- CN202410916312.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-09
- Publication Date
- 2024-10-15
Smart Images

Figure CN118780247A_ABST
Abstract
The invention discloses a time sequence database-oriented natural language conversion method and system. The method comprises the following steps: performing text and time preprocessing on a natural language query text to generate a new natural language query text; processing the new natural language query text by using a natural language processing tool to generate a preliminary entity recognition result, and combining the preliminarily recognized entity information with the time sequence data knowledge base to obtain a semantic analysis result; constructing a time series data query corpus, building a neural network, training by using the time series data query corpus, generating a time series data query type recognition model, recognizing a new natural language query text by using the model, and confirming a time series data query type; and pre-defining a query template rule, selecting a query template corresponding to the time sequence data query type, and generating an executable statement executed in the time sequence database by using a mapping method in combination with a semantic analysis result. The semantic accuracy in natural language conversion is high, and various time expressions can be extracted.
Need to check novelty before this filing date? Find Prior Art
Citation Information
Cited By
Correction method and system for time type generation accuracy in Text2SQL (Structured Query Language) task
CN121144331A
