Semantic parsing method and semantic parser

A technology of semantic parsing and decoder, applied in the field of semantic parsing method and semantic parser, which can solve the problems of poor generalization performance and poor effect.

Active Publication Date: 2022-07-15
AISPEECH CO LTD
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] However, because only the corpus generated by template rules is used, and due to the obvious difference in data distribution between canonical sentences and natural sentences, the trained naive semantic parser is less effective on real questions (natural language questions), and the generalization performance not good

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
  • Semantic parsing method and semantic parser
  • Semantic parsing method and semantic parser
  • Semantic parsing method and semantic parser

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] In order to make the purposes, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments These are some embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention. It should be noted that the embodiments in the present application and the features of the embodiments may be combined with each other in the case of no conflict.

[0040] In the present invention, "module", "device", "system", etc. refer to relevant entities applied to a computer, such as hardware, a combination of hardware and softw...

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 discloses a semantic parsing method and a semantic parser. The method comprises: receiving a natural sentence to be parsed; determining a canonical sentence corresponding to the natural sentence to be parsed; inputting the canonical sentence into a pre-trained naive semantic parser to obtain a logical expression corresponding to the canonical statement. In the embodiment of the present invention, the natural sentences are converted into canonical sentences with the same meaning before parsing, and the naive semantic parser (trained from the canonical sentence-logical form sample set in advance) is used for parsing, so that the The parsing of natural sentences is transformed into the parsing of canonical sentences with the same meaning, which solves the problem of poor generalization performance that directly uses naive semantic parser to parse natural sentences.

Description

technical field [0001] The invention relates to the technical field of artificial intelligence, in particular to a semantic parsing method and a semantic parser. Background technique [0002] Semantic parsing refers to the task of converting natural language questions into logical forms. Logical form is a structured semantic expression, usually an executable statement, such as Lambda expression and SQL query language, which can be directly executed by the program, retrieved from the database and return the answer. Due to the tight coupling with knowledge bases, semantic parsing is often used in the field of automatic question answering based on knowledge graphs or databases. [0003] To build a semantic parser in an entirely new domain, researchers need to first acquire a large amount of training data, usually starting from writing template rules for tuples (canonical questions, logical forms). [0004] Template rules: Grammar rules manually written by researchers that map...

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 Patents(China)
IPC IPC(8): G06F16/332G06F16/33G06F40/30
CPCG06F16/3329G06F16/3344
Inventor 俞凯曹瑞升
Owner AISPEECH 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