SEMANTIC UNDERSTANDING METHOD, ELECTRONIC DEVICE, AND STORAGE MEDIUM

    公开(公告)号:US20230089268A1

    公开(公告)日:2023-03-23

    申请号:US18060692

    申请日:2022-12-01

    Abstract: A semantic understanding method, includes: acquiring a query statement and a preceding dialogue; rewriting the query statement based on a preset rule to generate a target query statement if it is recognized that the query statement meets a rule rewriting condition according to the query statement and the preceding dialogue; rewriting the query statement based on a rewriting model to generate the target query statement if it is recognized that the query statement does not meet the rule rewriting condition according to the query statement and the preceding dialogue; and performing intention recognition according to the target query statement to generate an intention recognition result.

    Method for generating query statement, electronic device and storage medium

    公开(公告)号:US12038955B2

    公开(公告)日:2024-07-16

    申请号:US17652314

    申请日:2022-02-24

    CPC classification number: G06F16/3329 G06F16/3347

    Abstract: The disclosure provides a method for generating a query statement. The method includes: determining a first vector representation based on known nodes in a first syntax tree corresponding to a query statement to be generated; determining a target generation strategy corresponding to a target node to be generated based on the first vector representation and a preset copy reference matrix; generating the target node based on the first vector representation or a second vector representation by performing the target generation strategy, in which the second vector representation is a vector representation corresponding to an adjacent query statement prior to the query statement to be generated; and generating the query statement based on the known nodes and a terminator in response to the target node being the terminator.

Patent Agency Ranking