Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Natural language processing method and device and electronic equipment

A technology of natural language and query statements, which is applied in digital data processing, special data processing applications, instruments, etc., can solve problems such as insufficient conversion accuracy, database execution language deviation, and inaccurate information search results, so as to improve accuracy Effect

Active Publication Date: 2021-05-14
杭州汇数智通科技有限公司
View PDF6 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this method only requires one conversion process, which often has the problem of insufficient conversion accuracy, which may lead to deviations in the converted database execution language, which in turn leads to inaccurate information search results

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
  • Natural language processing method and device and electronic equipment
  • Natural language processing method and device and electronic equipment
  • Natural language processing method and device and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029]The technical solutions of the present application will be clearly and completely described below in conjunction with the embodiments. Apparently, the described embodiments are part of the embodiments of the present application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0030] In the process of information search based on natural language input by users, the existing processing idea is often to establish a mapping relationship directly from pure natural language to database (such as: SQL) execution language through a certain algorithm, through which the mapping relationship is Natural language can be directly converted into database execution language to complete information search. However, this method only requires one conversion process, which often has the problem of insufficient conversio...

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 invention provides a natural language query statement processing method and device and electronic equipment. The method comprises the steps of obtaining a natural language query statement of a user; according to a preset data table and a preset keyword table, performing target word extraction and identifier labeling on the natural language query statement to obtain a target word combination, namely a plurality of target words and attribute identifiers and position identifiers corresponding to the target words; according to the attribute identifiers and the position identifiers corresponding to the multiple target words, performing text reconstruction on the multiple target words by utilizing a target text reconstruction rule corresponding to the target word combination to obtain a target query statement; and converting the target query statement into a database execution language so as to carry out information query. According to the method and device, the natural language query statement of the user can be converted into the target query statement through the target word extraction and the rule-based text reconstruction process, then the target query statement is converted into the database execution language, and the accuracy of information query can be greatly improved through two times of conversion.

Description

technical field [0001] The present application relates to the technical field of natural language processing, in particular to a natural language processing method, device and electronic equipment. Background technique [0002] In the process of information search based on natural language input by users, the existing processing idea is often to establish a mapping relationship directly from pure natural language to database (such as: SQL) execution language through a certain algorithm, through which the mapping relationship is Natural language can be directly converted into database execution language to complete information search. However, this method only requires one conversion process, which often has the problem of insufficient conversion accuracy, which may lead to deviations in the converted database execution language, which in turn leads to inaccurate information search results. Contents of the invention [0003] The purpose of this application is to provide a ...

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
IPC IPC(8): G06F16/332G06F16/33G06F16/335
CPCG06F16/3329G06F16/3334G06F16/335Y02D10/00
Inventor 王碧波孙闯
Owner 杭州汇数智通科技有限公司
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
Eureka Blog
Learn More
PatSnap group products