Method and system for converting natural language into structured query language

A structured query and natural language technology, applied in the field of data processing, can solve problems such as algorithm generalization and flexibility limitations, achieve the advantages of flexibility and generalization, and lower the access threshold

Active Publication Date: 2020-09-11
ORIENTAL MIND (WUHAN) COMPUTING TECH CO LTD
View PDF11 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Most of the existing similar works are based on traditional language rules or template matching methods, and the generalization and flexibility of the algorithm have certain limitations.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and system for converting natural language into structured query language
  • Method and system for converting natural language into structured query language
  • Method and system for converting natural language into structured query language

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings.

[0042] See figure 1 , figure 1 It is a conversion method from natural language to structured query language provided by the embodiment of this application. The method can be run on a certain computer, such as a smart phone, a notebook computer, a server, etc. The method includes but is not limited to the following steps:

[0043] Step S101, acquiring the natural language question text input by the user.

[0044] Specifically, the natural language question text is a natural language question for querying the contents of a specific database.

[0045]Step S102 , according to the similarity between the input natural language question text and the natural language questions in the preset dataset, determine a conversion result of converting the input natural language question text into a structured query language.

[0046] Specificall...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the invention discloses a method and system for converting a natural language into a structured query language. The method comprises the steps of obtaining a natural language question text input by a user; determining a conversion result of converting the input natural language question text into a structured query language according to the similarity between the input natural language question text and a natural language question in a preset data set; and if the target natural language problem does not exist in the preset data set, converting the input natural language problem text into a structured query language through a conversion algorithm model. By adopting the method of the invention, the access threshold of the structured database can be reduced, and non-technical personnel can conveniently and directly inquire and use the structured database.

Description

technical field [0001] The present application relates to the technical field of data processing, in particular to a conversion method and system from natural language to structured query language. Background technique [0002] In recent years, the deep learning industry has developed rapidly. Deep learning technology has not only made remarkable progress in the fields of computer vision, speech recognition, and automatic driving, but also has made great progress in the field of Natural Language Processing (NLP). The performance of neural network models in deep learning has surpassed traditional methods in tasks such as named entity recognition, part-of-speech tagging, sentiment analysis, reading comprehension, and machine translation in the field of natural language processing. [0003] Today, with the rapid development of information technology, a large amount of data is generated every day and stored in various databases. Typically, querying data in a database requires i...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/242G06F16/2452G06K9/62
CPCG06F16/243G06F16/24522G06F18/22G06F40/35G06F40/44G06F40/216G06F40/289G06F40/55Y02D10/00G06F40/40
Inventor 徐驰罗明宇林健
Owner ORIENTAL MIND (WUHAN) COMPUTING TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products