Method, electronic device and storage medium for semantic parsing

US2022350972A1 · US · A1

Patent metadata
FieldValue
Publication numberUS-2022350972-A1
Application numberUS-202117519515-A
CountryUS
Kind codeA1
Filing dateNov 4, 2021
Priority dateApr 29, 2021
Publication dateNov 3, 2022
Grant date

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

Methods, electronic device, and non-transitory computer-readable storage mediums are provided for semantic parsing. The equipment may obtain a first recognition result of a target statement. The first recognition result may include a first intention recognition result and a first entity recognition result. The first entity recognition result may correspond to a plurality of vertical domains. The equipment may also determine one of the plurality of vertical domains corresponding to the first entity recognition result as a target vertical domain corresponding to the target statement according to the first intention recognition result. The equipment may further convert the first entity recognition result into a second entity recognition result in the target vertical domain. The equipment may also parse an intention of the target statement according to the second entity recognition result.

First claim

Opening claim text (preview).

What is claimed is: 1 . A method for semantic parsing, comprising: obtaining a first recognition result of a target statement, wherein the first recognition result comprises a first intention recognition result and a first entity recognition result, and wherein the first entity recognition result corresponds to a plurality of vertical domains; determining one of the plurality of vertical domains corresponding to the first entity recognition result as a target vertical domain corresponding to the target statement according to the first intention recognition result; converting the first entity recognition result into a second entity recognition result in the target vertical domain; and parsing an intention of the target statement according to the second entity recognition result. 2 . The method according to claim 1 , further comprising: establishing, before obtaining the first recognition result of the target statement, at least one first slot and a first intention corresponding to the at least one first slot; performing mapping of the target vertical domain to the first slots and establishing an association relationship between second slots and the first slots in the target vertical domain, wherein each of the second slots corresponds to one first slot, wherein each of the first slots corresponds to at least one second slot, and wherein a total quantity of the first slots is smaller than or equal to that of the second slots, and associating the target vertical domain to the first intention. 3 . The method according to claim 2 , further comprising: generating training samples according to the first slots and the first intention, wherein the training samples comprise positive samples and negative samples of the target vertical domain; and training a first recognition model by using the training samples. 4 . The method according to claim 3 , wherein obtaining the first recognition result of the target statement comprises: inputting the target statement into the first recognition model so as to obtain the first recognition result. 5 . The method according to claim 4 , further comprising: collecting a recognition result of the first recognition model; and adding the recognition result into the training samples. 6 . The method according to claim 2 , wherein the first entity recognition result comprises an entity recognition result of at least one first slot, and wherein converting the first entity recognition result into the second entity recognition result in the target vertical domain comprises: obtaining a corresponding relation between all the second slots and the first slots in the target vertical domain; and determining an entity recognition result of the corresponding second slots according to the entity recognition result of the first slots so as to generate the second entity recognition result in the target vertical domain. 7 . The method according to claim 1 , wherein parsing the intention of the target statement according to the second entity recognition result comprises: parsing the intention of the target statement according to the second entity recognition result and keywords of the target statement. 8 . The method according to claim 1 , further comprising: generating and outputting, after parsing the intention of the target statement according to the second entity recognition result, a query statement for the target statement according to the second entity recognition result in the target vertical domain and the intention of the target statement. 9 . An electronic device, comprising: one or more processors; and a non-transitory computer readable storage medium, configured to store instructions executable by the one or more processors; wherein the one or more processors are configured to: obtain a first recognition result of a target statement, wherein the first recognition result comprises a first intention recognition result and a first entity recognition result, and wherein the first entity recognition result corresponds to a plurality of vertical domains; determine one of the plurality of vertical domains corresponding to the first entity recognition result as a target vertical domain corresponding to the target statement according to the first intention recognition result; convert the first entity recognition result into a second entity recognition result in the target vertical domain; and parse an intention of the target statement according to the second entity recognition result. 10 . The electronic device according to claim 9 , wherein the one or more processors are further configured to: establish at least one first slot and a first intention corresponding to the at least one first slot; perform mapping of the target vertical domain to the first slots and establish an association relationship between second slots and the first slots in the target vertical domain, wherein each of the second slots corresponds to one first slot, each of the first slots corresponds to at least one second slot, and a total quantity of the first slots is smaller than or equal to that of the second slots; and associate the target vertical domain to the first intention. 11 . The electronic device according to claim 10 , wherein the one or more processors are further configured to: generate training samples according to the first slots and the first intention, wherein the training samples comprise positive samples and negative samples of the target vertical domain; and train a first recognition model by using the training samples. 12 . The electronic device according to claim 11 , wherein the one or more processors configured to obtain the first recognition result of the target statement are further configured to: input the target statement into the first recognition model so as to obtain the first recognition result. 13 . The electronic device according to claim 12 , wherein the one or more processors are further configured to: collect a recognition result of the first recognition model; and add the recognition result into the training samples. 14 . The electronic device according to claim 10 , wherein the first entity recognition result comprises an entity recognition result of at least one first slot, and wherein the one or more processors configured to convert the first entity recognition result into the second entity recognition are further configured to: obtain a corresponding relation between all the second slots and the first slots in the target vertical domain; and determine an entity recognition result of the corresponding second slots according to the entity recognition result of the first slots so as to generate the second entity recognition result in the target vertical domain. 15 . The electronic device according to claim 9 , wherein the one or more processors configured to parse the intention of the target statement according to the second entity recognition are further configured to: parse the intention of the target statement according to the second entity recognition result and keywords of the target statement. 16 . The electronic device according to claim 9 , wherein the one or more processors are further configured to: generate and output a query statement for the target statement according to the second entity recognition result in the target vertical domain and the intention of the target statement after parsing the intention of the target statement according to the second entity recognition result. 17 . A non-transitory computer readable storage medium, having stored therein in

Assignees

Inventors

Classifications

  • Recurrent networks, e.g. Hopfield networks · CPC title

  • G06F40/30Primary

    Semantic analysis · CPC title

  • Parsing · CPC title

  • G06F40/295Primary

    Named entity recognition · CPC title

  • Learning methods · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US2022350972A1 cover?
Methods, electronic device, and non-transitory computer-readable storage mediums are provided for semantic parsing. The equipment may obtain a first recognition result of a target statement. The first recognition result may include a first intention recognition result and a first entity recognition result. The first entity recognition result may correspond to a plurality of vertical domains. Th…
Who is the assignee on this patent?
Beijing Xiaomi Mobile Software Co Ltd, Beijing Xiaomi Pinecone Electronics Co Ltd
What technology area does this patent fall under?
Primary CPC classification G06F40/30. Mapped technology areas include Physics.
When was this patent published?
Publication date Thu Nov 03 2022 00:00:00 GMT+0000 (Coordinated Universal Time) (A1). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 9 related publications on this page (citations in our corpus or others sharing the same primary CPC).