-
公开(公告)号:US11615247B1
公开(公告)日:2023-03-28
申请号:US17830786
申请日:2022-06-02
Applicant: ZHEJIANG LAB
Inventor: Hongsheng Wang , Hujun Bao , Guang Chen , Chao Ma , Qing Liao
IPC: G06F40/30 , G06N3/08 , G06F40/295 , G06F40/242 , G06N3/047
Abstract: Disclosed are a labeling method and apparatus for named entity recognition of a legal instrument. The method includes steps: step S1: acquiring a legal text, and transforming the legal text into an index table; step S2: outputting a sentence feature encoding result; step S3: performing training and prediction; step S4: obtaining a set; step S5: obtaining a multi-head score transfer matrix; step S6: obtaining a score transfer matrix corresponding to the legal text; step S7: determining a recognized nested entity; and S8: constructing an entity labeling template by using the recognized nested entity. According to the present disclosure, a user tries to complete recognition of nested entity labeling by changing an input of the BERT model, and a multi-head selection matrix labeling thought of the present disclosure is used to relieve the difficulty in recognizing a long text and a nested entity in an NER task to a larger extent.