METHOD FOR GENERATING QUERY STATEMENT, ELECTRONIC DEVICE AND STORAGE MEDIUM

    公开(公告)号:US20220179889A1

    公开(公告)日:2022-06-09

    申请号:US17652314

    申请日:2022-02-24

    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