Form extraction method and electronic equipment
Патент · CN B
Полный текст
The embodiment of the application provides a table extraction method and electronic equipment, which comprise the steps of obtaining a document of a table to be extracted, processing the document to obtain a plurality of text blocks and text block information corresponding to the text blocks, wherein the text block information comprises semantic vectors, position information and type vectors, obtaining a table start pointer sequence, a table content pointer sequence and a table end pointer sequence according to the text block information, and obtaining a table according to the text blocks, the table start pointer sequence, the table content pointer sequence and the table end pointer sequence. When the electronic forms in the document are extracted, the extraction is not performed based on the lines existing in the document, but is performed by utilizing the information of the text blocks in the document, so that the defect that the forms cannot be identified due to frame missing can be effectively avoided, the generalization performance is stronger, and the effect of extracting the forms with few lines or no lines can be improved.