Patent Document ID: 9348848
Application ID: 13871862
Patent Status: 1

Claim One:
1. A method for identifying a table in a digital file, comprising: extracting lines from a layout of the digital file, the lines comprising horizontal lines and vertical lines; identifying intersected line groups, each intersected line group comprising a horizontal line of the extracted horizontal lines and a vertical line of the extracted vertical lines, the horizontal line and the vertical line intersecting with each other; and determining whether the number of intersected lines in each intersected line group is larger than a first threshold, and if it is determined that the number of intersected lines in each intersected line group is larger than the first threshold, identifying an area in which the intersected line groups are located as a table area; if it is determined that the number of intersected lines in each intersected line group is not larger than the first threshold: performing vertical projection on characters in the area; and identifying the area as a table area based on a result of the vertical projection, wherein performing vertical projection on the characters comprises: obtaining a distance between any two characters in the area; identifying neighboring characters based on the distance; combining the neighboring characters to form a text block; and performing vertical projection on the combined text block; and wherein identifying the area as the table area based on the result of the vertical projection comprises: determining an interval range of each projected text block in a column direction; determining the number of rows in each column based on the determined interval range; and determining whether the number of rows is larger than or equal to 2, and if it is determined that the number of rows is larger than or equal to 2, determining the area to be a table area.