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.
CN111382253BActive Publication Date: 2022-07-15AISPEECH CO LTD

Patent Information

Authority / Receiving Office
CN ยท China
Patent Type
Patents(China)
Current Assignee / Owner
AISPEECH CO LTD
Publication Date
2022-07-15

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

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.
Need to check novelty before this filing date? Find Prior Art

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