| CPC G06F 40/279 (2020.01) [G06F 16/3344 (2019.01); G06F 40/174 (2020.01); G06F 40/186 (2020.01)] | 18 Claims |

|
1. A method of entity recognition for a data table, comprising:
obtaining a to-be-processed query statement described in a natural language;
encoding the to-be-processed query statement according to entity information of a to-be-query data table for each to-be-query data table in at least one to-be-query data table, to acquire at least one encoded result, wherein the at least one encoded result comprises an encoded result respectively corresponding to each to-be-query data table;
after encoding the to-be-processed query statement according to entity information of the to-be-query data table for each to-be-query data table in at least one to-be-query data table, to acquire at least one encoded result, respectively inputting the at least one encoded result into an entity recognition model, to acquire at least one entity prediction result, wherein the at least one entity prediction result comprises an entity prediction result respectively corresponding to each encoded result in the at least one encoded result, and the entity recognition model is configured to predict an entity included in input information according to the input information; and
determining a target entity prediction result corresponding to the to-be-processed query statement according to the at least one entity prediction result, wherein the target entity prediction result indicates the entity included in the to-be-processed query statement, and the target entity prediction result corresponds to a queried data table,
the encoding the to-be-processed query statement according to the entity information of the to-be-query data table comprises:
encoding a first word segmentation that is completely matched with an entity in the to-be-query data table in the to-be-processed query statement by using a first encoding manner; and/or
encoding a second word segmentation that is partially matched with the entity in the to-be-query data table in the to-be-processed query statement by using a second encoding manner, wherein the second encoding manner is different from the first encoding manner.
|