Method, apparatus, and system for auto-registration of nested tables from unstructured cell association for table-based documentation

JP2022155490A5Active Publication Date: 2024-10-01KONICA MINOLTA BUSINESS SOLUTIONS USA INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
JP2022021143
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2021-03-30
Filing Date
2022-02-15
Publication Date
2024-10-01
Estimated Expiration
2042-02-15

AI Technical Summary

Technical Problem

Existing technologies face challenges in accurately associating keywords and content in complex, non-uniform forms due to irregular arrangements, leading to difficulties in applying modified rules without breaking the initial working case.

Method used

A method and system utilizing deep learning models, particularly convolutional neural networks, to extract table cells, form hierarchies, and automatically associate keywords with content by identifying geometric and semantic distances, enabling robust registration of nested tables from unstructured cell associations.

Benefits of technology

Enables accurate and efficient automatic registration of keywords and content in complex forms, even with multiple tabular formats, by constructing hierarchical data structures and using deep learning techniques to identify and associate keywords and content based on their relationships.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2022155490000001
    Figure 2022155490000001
  • Figure 2022155490000002
    Figure 2022155490000002
Patent Text Reader

Abstract

To provide a method, apparatus and system for automatic association between keywords and content by finding relations between them in a given form.SOLUTION: A method is as follows. In some forms containing keywords and content, there may be nested levels of keywords, also referred to as a hierarchy. Content in the forms may be associated with one or more keywords in one or more of the nested levels, or in the hierarchy. Identifying keywords in adjacent cells in a table (with a nested keyword being either to the right of or below another keyword) enables distinguishing between keywords and content in filled forms, and enables correct association of content with keywords.SELECTED DRAWING: Figure 3
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] This invention relates to a method, apparatus, and system for automatically creating nested tables from the association of unstructured cells for table-based documents. (See related applications for cross-reference)

[0002] This application relates to U.S. Patent Application No. 17 / 218,026 (Attorney's Docket No. 116538.00037), filed on 30 March 2021, entitled “Method, Apparatus, and System for Automated Form Registration Using Virtual Table Generation and Association.” This application incorporates, by reference, all of the related applications. [Background technology]

[0003] Automated form registration can be challenging, particularly when it comes to identifying and associating keywords with content. Here, keywords may be text associated with a specific field in a form, and a particular type of data (content) may be expected to fill that field. Keywords can be thought of as the header for a field, or for that purpose, while content is the data that goes into that field. Content may occupy one or more fields if it constitutes multiple lines in a completed form.

[0004] When there is an empty (blank) form or template, keywords (field headers) can be identified fairly easily. Seeing the keywords makes it easier to associate them with each other, for example, in spatial relationships (left-right, up-down), or even geometric relationships. [Overview of the Initiative] [Problems that the invention aims to solve]

[0005] There are rules that allow keyword associations from left to right or top to bottom without using tabular information. These rules can be implemented relatively easily for fixed forms, such as forms with regular rows and columns in a certain type of tabular format. However, the more complex the form, the more difficult such associations become. For example, in so-called floating forms, keywords may not appear in a unified or regular position. For instance, keywords may not appear in a single table or in a consistent position within the form. In one embodiment, keywords may appear in multiple tabular formats throughout the form. In another embodiment, these multiple tabular formats may not all be the same and may be different from one another. Thus, different tabular formats may exist within a single form. Because keywords are irregularly placed, exceptions may arise to the rules that would normally be fixed regarding keyword-content associations. As a result, it may not be possible to accurately associate keywords with content.

[0006] When considering floating forms and modifying existing fixed rules, problems may arise when applying those modified rules to previous examples (such as fixed forms). It is not easy to change these rules without breaking the working cases that were tested early on. The pending application mentioned above seeks to address these issues by providing a more robust and unified algorithm and extending the algorithm to what is considered a complete free-form registration of keywords and content, i.e., keywords can appear anywhere on the form and content can appear to the right or below the keywords.

[0007] It is desirable to be able to extract core information from structured forms that contain multiple keyword-content pairs, find the relationships between keywords and content within the given form, and automatically associate them. [Means for solving the problem]

[0008] To solve the above and other problems, aspects of the present invention enable the design of an automatic registration function in a table by utilizing the cell structure in the table. In other aspects, it is also possible to construct a hierarchical data structure that represents the relationship between keywords and content. Furthermore, in other aspects, it is possible to automatically associate nested keywords and content based on input, and to solve problems arising from multiple levels of keywords in the database.

[0009] One aspect of the present invention provides a design for automatic registration within a table using a table cell structure. Another aspect can construct a hierarchical data structure to represent the relationship between keywords and associated content. A further aspect automatically associates nested keywords with content based on input and resolves multi-level instances of keywords in the database. [Brief explanation of the drawing]

[0010] [Figure 1] Figure 1A shows an example of an empty form, Figure 1B shows the input image with the information filled in the empty form, and Figure 1C shows an example of a target image. [Figure 2] Figure 2A shows an enlarged portion of Figure 1C, and Figure 2B shows an example of a hierarchy or tree formed from the fields in Figure 2. [Figure 3] Figure 3 is a flowchart showing the higher-level flow of the operation sequence according to the embodiment. [Figure 4] Figures 4A to 4E show the organization of words and cells in the table according to the embodiment. [Figure 5] Figure 5A is an example of a tree according to an embodiment, and Figure 5B is a diagram of Figure 5A with specific nodes highlighted. [Figure 6] Figure 6A is an example of a tree according to an embodiment, and Figure 6B is a diagram of Figure 6A with specific nodes highlighted. [Figure 7] Figure 7 is a top-level block diagram of a system for implementing an embodiment of the present invention. [Figure 8] FIG. 8 is a high-level block diagram of the system configuration of FIG. 7. [Figure 9] FIG. 9 is a flowchart showing the operation sequence of keyword and content determination according to the embodiment. MODE FOR CARRYING OUT THE INVENTION

[0011] As will be described in more detail herein, aspects of the present invention relate to a form automatic registration method and a form automatic registration system employing the method. In one embodiment, the form automatic registration system includes one or more processors, one or more non-temporary memory devices, and a deep learning system that executes a deep learning model.

[0012] In one embodiment, when one or more programs are executed in the form automatic registration system, in response to an input of a form, extracting one or more features from the form; using a deep learning model to identify and extract a plurality of lines from other features of the form; using the deep learning model to identify and extract a plurality of connected regions using the extracted plurality of lines; using the deep learning model to identify a table from the plurality of connected regions; extracting a plurality of cells from the identified table; grouping the plurality of cells of the identified table using the positions and sizes of adjacent cells in the identified table; forming a plurality of rows and a plurality of columns in the identified table; forming a hierarchy with the plurality of cells in the identified table using one of the grouped and formed plurality of rows and the formed plurality of columns; Using the formed hierarchy to identify a plurality of adjacent keywords of the identified table; Using the formed hierarchy to identify the content of the identified table; Store one or more programs including instructions to associate each identified adjacent keyword with each content.

[0013] In one embodiment, the formed hierarchy of the identified table is a column hierarchy, and each identified content is displayed under a plurality of identified adjacent keywords.

[0014] In one embodiment, the formed hierarchy of the identified table is a row hierarchy, and each identified content is displayed on the right side of a plurality of identified adjacent keywords.

[0015] In one embodiment, the deep learning model may be selected from the group consisting of convolutional neural networks.

[0016] In one embodiment, the feature may be selected from the group consisting of single color, multiple colors, and grayscale, and the identification and extraction of the plurality of lines include identifying one or more shading regions of the form as single color, multiple colors, or grayscale.

[0017] In one embodiment, the extraction of the cells may include extracting one or more cells from the one or more shading regions.

[0018] In one embodiment, the extraction of one or more cells from the one or more shading regions may further use the extracted lines.

[0019] In one embodiment, the formed hierarchy may be displayed in a format selected from the group consisting of JavaScript Object Notation (JSON), Hypertext Markup Language (HTML), and Extensible Markup Language (XML).

[0020] In one embodiment, the association is such that the content has the lowest cost value C ij It is equipped with the ability to determine that a specific keyword is associated with it by identifying C ij This can be calculated using the following formula.

number

[0021] In one embodiment, the semantic distance S ij This distance may be calculated as a distance selected from the group consisting of geometric distance, forward rank (FR), backward rank (BR), arithmetic mean of FR and BR, geometric mean of FR and BR, harmonic mean of FR and BR, Euclidean distance, word mover distance, or cosine distance.

[0022] Figure 1A shows an empty form according to an embodiment. In this example, the empty form potentially has two tables, labeled 101 at the top of the figure and 151 at the bottom of the figure. In Figure 1A, in table 101, block 115 will contain content related to keyword 110, and block 125 will contain content related to keyword 120. Keywords 130, 140, 150, 160, and 170 will be associated with the content of blocks 135A-D, 145A-D, 155A-D, 165A-D, and 175A-D, respectively, so that multiple contents are associated with a given keyword. Keyword 180 will be associated with the content of block 181.

[0023] Near the bottom of Figure 1A, in Table 151, there is what could be called nested content. Blocks 187A-C will contain content related to each of the keywords 186A-C and will be associated with keyword 185. Similarly, blocks 196-198 will contain content related to each of the keywords 191-193 and will be associated with keyword 190.

[0024] Figures 1B and 1C show examples of input and target images, respectively. Figure 1B is the same as Figure 1A, but with added content. The arrows in the target image in Figure 1C indicate the direction in which to identify content and associate it with the corresponding keyword. In the types of multi-dimensional tables shown in Figures 1B and 1C, there may be multiple pieces of content associated with a single keyword in a given column or row, as in Table 101, for example. Also, as in Table 151, there may be a so-called nested structure where multiple keywords are associated with multiple pieces of content to the left of the content or above the content.

[0025] Looking at Figure 1B in more detail, the handwritten-style text can be considered the content, and the remaining text can be considered keywords. In one embodiment, a bounding box can be placed around the keywords to help identify the keywords in a particular section of the form. Comparing Figure 1B and Figure 1C, keyword 110 is associated with content 115, and keyword 120 is associated with content 125. Keywords 130, 140, 150, 160, and 170 are associated with content 135A-D, 145A-D, 155A-D, 165A-D, and 175A-D, respectively, so that multiple contents are associated with a given keyword. Keyword 180 is associated with content 181.

[0026] Near the bottom of Figures 1A and 1B, there is what could be called nested content. Comparing Figures 1A and 1B again, content 187A-C is related to keywords 186A-C, respectively, and is associated with keyword 185. Similarly, content 196-198 is related to keywords 191-193, respectively, and is associated with keyword 190.

[0027] According to aspects of the present invention, it is possible to provide automatic registration within a table using the cell structure of a table. In other aspects, a hierarchical data structure can be constructed to represent the relationship between keywords and associated content. In further aspects, nested keywords are automatically associated with content based on input, and multi-level instances of keywords in the database are resolved.

[0028] Next, an example of a hierarchical data structure according to the embodiment will be explained below using Figures 2A and 2B. Figure 2A is the lower part of Figure 1C. Figure 2B is a decomposition of the structure of Figure 2A, changing it from a table to a tree structure. In Figure 2B, order 185 is at the top of the tree, as it is on the left side of Figure 2A. Furthermore, three keywords, average price 186A, discount 186B, and net price 186C, are located below order 185 in the tree in Figure 2B and to the right of order 185 in the table in Figure 2A. Content in the format of 50,000 (average price 187A), 5,000 (discount 186B), and 45,000 (net price 186C) is associated with keywords 186A-C, similar to keyword 185.

[0029] Keyword 190 (shipping fee) is associated with keyword 185 (order). Keywords 191-193 (standard, express, next day) are associated with keyword 185. Content items 196-198 (100, 200, 400) are associated with keywords 191-193, respectively, similar to keyword 190.

[0030] Figure 3 shows a top-down view of the workflow according to an embodiment. In step 310, a raw image is input. In one embodiment, the raw image may be an RGB image, but other formats are also possible. In step 320, a deep learning-based network is constructed, which can enable line extraction in the given input image. According to a different embodiment, the deep learning network enables the extraction of table boundaries, which may be color blocks, polylines, or dashed lines. In one embodiment, the network may be a convolutional neural network (CNN). In another embodiment, the network may be a deep convolutional neural network (DCNN) or a fully convolutional neural network (FCN or FCNN).

[0031] In 330, the extracted table lines can be used to identify and extract connected regions. In one embodiment, the form on which the input image was taken may contain one or more colors, shades of color, or grayscale. Using the extracted table lines, regions having the same color or grayscale can be identified as having connected regions. In 340, the connected regions may be used to extract the cells themselves, or they may be shown to be divided by the extracted table lines. A connected region may have one or more cells, depending on the information provided by the extracted table lines. In 350, the extracted cells can be sorted or grouped either from left to right (rows) or from top to bottom (columns). Sorting and grouping may be performed in cooperation with adjacent cells. After sorting and grouping, in 360, the columns and rows of the table are formed. In one embodiment, for example, as described above with respect to Figures 1A to 1C showing tables 101 and 151 of the same form, multiple tables can be identified in the virtual form.

[0032] In 370, geometric arrangement information can be used to form a hierarchical structure from grouped columns and rows. In 380, it is possible to identify specific cells as containing either keywords or content from input types that can be handwritten or printed. In 390, when the hierarchical structure is viewed as a tree, corresponding content from leaf or branching nodes is associated with or connected to the keyword root node. This overall process enables table registration, automatic extraction of useful information, and output of keyword / content pairs.

[0033] The following explanation will focus on Figures 3 through 330.

[0034] As mentioned above, table lines can be extracted using a deep learning-based model. Where there are colored cells, their color is input. Depending on the size and contents of the cells, the colored region may be identified as a single cell or as multiple cells. Line extraction provides lines (black and white lines in the embodiment) as boundaries of the table's connected regions, and these connected regions are used for extracting table cells. Thus, in one embodiment, table lines can be manually labeled at the pixel level.

[0035] Instead of inputting by color, the input form may include line breaks, or tables with lighter colors, or tables composed of cells of different shades or colors. In all of these examples, the deep learning-based model used to recognize and handle these different possible inputs may be a semantic segmentation network, and in one embodiment, an FCN segmentation network to handle pixel-level inputs and outputs. In some embodiments, FCN segmentation can map the input image to a binary mask. By providing the deep learning-based model with an appropriate training set, the appearance of these various tables becomes easily distinguishable, and keywords and content in the appropriate fields can be appropriately identified.

[0036] Tables can be extracted and formed from either conventional table structures (such as those with a single or monolithic regular structure) or non-traditional table structures (such as those with multiple table structures within a form). Using the linked region information from 330 in Figure 3 and the discussion above, it is possible to extract individual table cells from separated regions, as shown in 340 in Figure 3. In one embodiment, individual cells may be marked and labeled from left to right and top to bottom.

[0037] Figures 4A–4E illustrate one approach to extracting individual cells. Figure 4A shows a setup with multiple words, from word 1 to word 7. Figure 4B shows an example of highlighting the potential root of the tree. This type of highlighting is explained in more detail in Figures 5A, 5B, 6A, and 6B.

[0038] Figure 4C shows a nested table (N-dimension table) containing keywords at multiple levels. In Figure 4C, individual cells are labeled from left to right, row by row, C1 to CN (N=14 in this example). Comparing Figure 4A and Figure 4C, for example, word 1 corresponds to cell C0, word 5 corresponds to cell C1, words 2 and 3 together correspond to cell C2, word 6 corresponds to cell C3, word 7 corresponds to cell C4, and word 4 corresponds to cell C9.

[0039] Figures 4D and 4E illustrate nesting at different keyword levels. Figure 4D shows column-based nesting. Cells C0, C1, C4, C7, and C8 are highlighted in bold, indicating they are keyword cells. C0 and C1 are keywords, C4 is a keyword below C1, and C7 and C8 are keywords below C4. All cells below the highlighted boxes (C2, C3, C5, C6, C9-C14) represent content. Because Figure 4D is column-based nesting, if C1 is identified as a keyword, and for some reason the identification of C0 becomes ambiguous, then C0 will be determined to be a keyword based on its relative position to C1. Similarly, if C4 is identified as a keyword and the identification of C1 becomes ambiguous for some reason, then C1 will be identified as a keyword based on its relative position to C4, and then C0 will be identified as a keyword. Finally, if either C7 or C8 is determined to be a keyword, and for some reason the identification of C4 or C1 is ambiguous, then C4, then C1, and then C0 will be identified as keywords based on their respective positions relative to each other and to C7 and C8.

[0040] Figure 4E shows row-based nesting. Cells C0, C2, C9, C3, and C5 are shown with darkened boxes, indicating they are keyword cells. C0 is a keyword, C2 is a keyword, C3 and C5 are keywords to the right of C2, and C9 is a keyword. All cells to the right of the darkened boxes (C1, C4, C6-C8, C10-C14) represent content. Because Figure 4E is row-based nesting, if C3 is identified as a keyword, and for some reason the identification of C2 becomes ambiguous, then C2 will be identified as a keyword due to its relative position to C3. Similarly, since C0 is located relative to the keyword C2, C0 will also be identified as a keyword. Likewise, if C5 is identified as a keyword and the identification of C2 becomes ambiguous for some reason, then C2 will be identified as a keyword due to its relative position to C5, and then C0 will be identified as a keyword.

[0041] First, a tree can be formed using the column size information. Figure 5A shows such a tree. In one embodiment, the width of individual cells from left to right and top to bottom may be used to form the tree. If the sum of the widths of subcells is equal to the width of the corresponding root cell, the node of the tree can be divided into two. For example, looking at Figure 5A, in the first row, the width of the entire table is equal to the sum of the widths of cells C0 and C1. In the second level or row, the width of cell C4 is the sum of the widths of cells C7 and C8, i.e., W C4 ≒W C7 +W C8 This is almost the same. Therefore, it is possible to form two subnodes C7 and C8 that connect directly to cell C4. Also, the heights of cells C3 and C4 are almost the same, i.e., H C3 ≒H C4 Therefore, C3 and C4 can be arranged as trees with root nodes at the same level.

[0042] Therefore, in Figure 5B, which also shows a column-based hierarchical tree structure, each block in the tree represents an individual cell from a grouped and sorted table cell. Nodes connected to other nodes are highlighted. The depth of the tree structure indicates the maximum number of rows in the column structure (in Figure 5B, the depth is 4, corresponding to 4 rows in Figure 5B). In Figure 5B, cells C0 and C1 in the top row of the table are first-level nodes, and cells C3 and C4 in the next row are second-level nodes. Cells C7 and C8 in the third row are third-level nodes.

[0043] Similarly, Figure 6A shows a row-based hierarchical tree structure employing a similar concept to that of Figure 5A. As with Figure 5A, in Figure 6A, each block of the tree represents an individual cell from a grouped and sorted table cell. The depth of the tree structure indicates the maximum number of columns in the row structure (in Figure 6A, the depth is 6, corresponding to 6 columns in Figure 6A). In Figure 6A, the leftmost cells C0, C2, and C9 are first-level nodes, while the cells C1, C3, C5, and C10, immediately to the right of cells C0, C2, and C9, are second-level nodes. In Figure 6B, as with Figure 5B, nodes that connect to other nodes are highlighted.

[0044] The tree structure of the table cells has been revealed, making it possible to identify the characteristics of cells using handwritten and printed input within the table. In this embodiment, printed cells can be treated as containing keywords, and handwritten cells can be treated as content. In Figures 5B and 6B, keyword nodes are boxes with dark borders and content nodes are boxes with light borders, respectively, corresponding to Figures 4D and 4E. It should be noted that in a one-dimensional table, either a column tree or a row tree can be used to identify and associate content cells and keyword cells from each branch of the tree.

[0045] In one embodiment, the tree-based representations in Figures 5A and 5B, and Figures 6A and 6B, can be converted to hierarchical text using formats such as JavaScript Object Notation (JSON), Hypertext Markup Language (HTML), or Extensible Markup Language (XML). Those skilled in the art will understand that other formats are also possible.

[0046] In the following structure, the item before the colon represents a keyword, and the item after the colon represents the content. Therefore, for example, the column-based structure in Figures 5A and 5B can be represented as the following data structure.

number

[0047] Looking at a specific example in Figure 5B and referring to the aforementioned discussion in Figure 4D, C0 is a keyword, and C2 and C9 are content below C0. C1 is also a keyword. Below that are further keywords C3 and C4. Below C3 is content C5, below content C5 is content C10, and below content C6 is content C11. Below C4 are further keywords C7 and C8. Below keyword C7 are content C12 and C13, and below keyword C8 is content C14.

[0048] Similarly, the row-based structures in Figures 6A and 6B can be represented as the following data structures.

number

[0049] Looking at a specific example in Figure 6B and referring to the aforementioned discussion in Figure 4E, C0 is a keyword, and C1 is the content to the right of C0. C2 is also a keyword, with keywords C3 and C5 to its right. Keyword C3 has content C4 to its right. Keyword C5 has content C6, C7, and C8 to its right. Finally, C9 is a keyword with content C10, C11, C12, C13, and C14 to its right.

[0050] Figure 7 is a top-level block diagram of a system for carrying out the method described herein. In Figure 7, the input form 710 is input via a scanner 720 and may be connected directly to a computing system 750 via another computing device 730. When the input form 710 is scanned, an input image is generated from which the computing system 750 identifies keywords. As previously stated, the input image may be an RGB image. In embodiments, the input image may be a grayscale image or a black and white image.

[0051] The computing system 750 will include one or more processors, one or more storage devices, and one or more solid memory systems (which, unlike storage devices, may include both non-transient and transient memory). In embodiments, the computing system 750 may also include a deep learning system 800, which will be described in more detail below.

[0052] If the deep learning system 800 is involved, the training set may include an empty form that allows the deep learning system 800 to identify the location of keywords. Once the deep learning system 800 can determine the location of keywords, it can be input with different empty forms and still be able to determine the location of keywords. The system 800 can also be trained with filled-in forms where the location of keywords is known. If text is provided adjacent to keywords in the filled-in form, the system 800 can be trained to recognize that text as content. Once the system 800 is trained, when different filled-in forms are input, it may then be able to identify the location of content associated with each keyword based on the content's location relative to the keyword (e.g., immediately below or immediately to the right of the keyword). Storage 775 may store the scanned filled-in image, referred to above as the target image.

[0053] In one embodiment, if the form is as shown in Figures 1A and 1C, additional keywords may be located next to other keywords (for example, immediately below or immediately to the right of other keywords), including those having a bottom as shown in Figures 2A and 2B. In Figure 2A, the keywords "average price," "discount," and "net price" are displayed to the right of the keyword "order." To the right of the keywords "average price," "discount," and "net price," the content "50,000," "5,000," and "45,000" are displayed, respectively. Also, to the right of the keyword "shipping fee," the keywords "standard," "express," and "next day" are displayed. Below the keywords "standard," "express," and "next day," the content "100," "200," and "400" are displayed, respectively.

[0054] As part of keyword and content positioning, the computing system 750 may use a bounding box generation system 760 to generate bounding boxes around text. In embodiments, the computing system 750 may include a bounding box alignment system 765 for aligning bounding boxes that are determined to be misaligned. In embodiments, storage 775 may store input images processed by the deep learning system 800. Storage 775 can also store processed output from the deep learning system 800, which may include a training set and / or identified keywords and content associated with a particular input form. As mentioned above, storage 775 may also store a completed form, previously referred to as a target image.

[0055] The computing system 750 may be located in a single location, and the network 755 enables communication between the various elements of the computing system 750. Furthermore, or alternatively, one or more parts of the computing system 750 may be remote from other parts, in which case the network 755 may represent a cloud system for communication. In embodiments, even if the various elements are co-located, the network 755 may be a cloud-based system.

[0056] Furthermore, or alternatively, a processing system 790, which may include one or more of the processors, storage systems, and memory systems mentioned above, may implement the regression algorithms mentioned herein to resolve keywords and the locations of their corresponding content. In an embodiment, the processing system 790 communicates with the deep learning system 800 to assist, for example, in weighting nodes in the system 800.

[0057] Figure 8 is a somewhat detailed diagram of the deep learning system 800. Generally, the deep learning system 800 will have a processor, storage, and memory structure as recognized by those skilled in the art. A neural network such as a CNN or DCNN will have multiple nodes arranged in layers 820-1 to 820-N, as depicted. Layer 820-1 is the input layer, and layer 820-N is the output layer. According to different embodiments, N may be 2 or more. If N is 3 or more, there will be at least one hidden layer (e.g., layer 820-2). If N is 2, there is no hidden layer.

[0058] Nodes of the neural network are first weighted. The weighting is adjusted as the necessary correction to accommodate the various situations presented to the system by the training set, as would be understood by one of ordinary skill in the art. When the system 800 identifies the keywords and content, the output layer 820-N can provide the keywords and content to the keyword / content database 850. The database 850 may also store a classification in the form that includes the positions of the keywords and, in some cases, the positions of the content related to the keywords.

[0059] In an embodiment, when identifying keywords and content patterns, including in some cases, the keywords and content of each group may be paired, for example, using a linear assignment solver. According to an embodiment, a constraint programming (CP) solver, an integer programming (IP) solver, or a mixed integer programming (MIP) solver may be used. In other embodiments, a satisfiability (SAT) solver, or a CP-SAT solver may be used. The cost value between each keyword and the corresponding content within the group may be calculated using both geometric information and semantic information. In one embodiment, a cost C ij indicating the proximity of keyword (i) and content (j) to each other may be calculated. The lower C ij is, the higher the likelihood that the keyword and content are associated. An exemplary equation is as follows.

Number

[0060] Those skilled in the art will understand that semantic distance can be measured directly by geometric distance, but can also be measured, for example, by forward adjacency rank, backward adjacency rank, or by the arithmetic mean, geometric mean, or harmonic mean of two elements. In the above formula, semantic distance is measured as Euclidean distance. In one embodiment, semantic distance may also be measured by a distance measurement known as word mover distance, which is applicable when there are no words common to the respective texts. Cosine distance may also be a type of semantic distance.

[0061] The calculated pair distances can form a cost matrix where the columns and rows correspond to keywords and content. Distance is an element of the matrix. For example, a linear sum assignment algorithm can be used to find the pair with the smallest distance in the matrix. Linear sum assignment has the constraint that each row is assigned to a column only once. Therefore, each keyword can be assigned to only one corresponding content or content group.

[0062] Using a linear summation assignment algorithm to solve keyword-content problems makes it possible to obtain the minimum cost of paired distances. The advantage of linear summation assignment is that for each keyword, the constraint is not limited to the association of a single piece of content. This algorithm finds all possible pairs that reach a global minimum and best match. In one embodiment, the assignment problem may be a so-called "unbalanced" problem, in which case the solver employed can handle an unbalanced linear assignment problem.

[0063] One application of this type of cost calculation can be understood by referring to Figure 2A, which shows the keyword hierarchy as mentioned above. Looking at the keywords and content in this figure, each piece of content in blocks 187A-C is associated with keywords 186A-C, and the cost calculation will show these keyword-content pairs as being the closest. On the right side of Figure 2A, the cost calculation shows that the content in blocks 196-198 is closest to keywords 191-193. The content in block 196 could also be shown as being close to keyword 190. However, because the keyword hierarchy has been identified, the content in blocks 196-198 is appropriately associated with keywords 191-193, respectively.

[0064] Figure 9 summarizes the process described above. In step 905, text items (keywords or content) are transformed into word vectors via a word embedding matrix, which can be trained by a deep learning model using a sufficiently large dataset. The matrix can be very large, and it can be trained in small increments, for example, by working only on relevant rows in a particular training step, so those skilled in the art can understand the required machine learning training. In step 910, the geometric distance obtained from the word vectors determined via the learned word embedding matrix is ​​calculated. In step 915, the semantic distance obtained from the word vectors determined via the learned word embedding matrix is ​​calculated.

[0065] In step 920, weights are assigned. As previously mentioned, the geometric distance can be determined from the learned word embedding matrix using the Euclidean distance and semantic distance. It is necessary to balance the two distance values ​​using appropriate weights. For example, if the Euclidean distance is greater than the semantic distance, a smaller weight can be used to balance the values. In this regard, in one embodiment, the parameters are determined empirically. In step 925, the calculated distance and the weights assigned in the previous step are used to calculate C ijThis is calculated. Those skilled in the art will understand that other types of solvers may present different types of formulas to calculate the minimum distance, including the same, similar, or different weights as above, or none of such weights at all.

[0066] In step 930, the calculated distance and determined similarity are used to flag the text item. This flag can represent either a "keyword" or "content." In step 940, if the calculation is satisfactory, the process terminates. If the calculation is unsatisfactory, the weights are adjusted in step 945, and the flow returns to step 925.

[0067] From the above, it can be understood that embodiments of the present invention can recognize keyword patterns in an empty form and the positioning of content around the keywords (e.g., to the right of the keyword or below the keyword) by utilizing deep learning techniques and mechanisms such as neural networks, more specifically convolutional neural networks (CNNs), and even more specifically deep convolutional neural networks (DCNNs) or fully convolutional neural networks (FCNNs). Given an appropriate training set of empty forms and forms filled in, it is possible to appropriately train the system to recognize a particular empty form and provide appropriate content fields corresponding to the keywords in the empty form.

[0068] Although embodiments of the present invention have been described above, the present invention should not be considered limited to these embodiments or embodiments. Those skilled in the art will understand modifications of the present invention within the scope and spirit of the appended claims.

Claims

1. extracting one or more features from the form in response to the input of the form; using a deep learning model to identify a plurality of lines from other features of the form and extract the lines; using the deep learning model to identify and extract a plurality of connected regions using the extracted lines; and identifying a table from the plurality of connected regions using the deep learning model; and extracting a number of cells from the identified table; grouping cells of the identified table using positions and sizes of adjacent cells in the identified table; forming a plurality of rows and a plurality of columns in the identified table; forming a hierarchy with the cells in the identified table using the grouping and one of the formed rows and the formed columns; identifying adjacent keywords in the identified table using the formed hierarchy; and identifying the contents of the identified table using the formed hierarchy; and associating each identified adjacent keyword with each identified piece of content.

2. 2. The method for automatic form registration of claim 1, wherein the formed hierarchy of the identified table is a column hierarchy, and each identified content is displayed under a plurality of identified adjacent keywords.

3. The method for automatically registering forms according to claim 1 , wherein the formed hierarchy of the identified table is a row hierarchy, and each identified content is displayed to the right of a plurality of identified adjacent keywords.

4. The method for automatic form registration according to any one of claims 1 to 3, wherein the deep learning model is selected from the group consisting of convolutional neural networks.

5. 5. The method for automated form registration according to claim 1, wherein the features are selected from the group consisting of monochromatic, multi-colored, and grayscale, and wherein identifying and extracting the lines comprises identifying one or more light and dark regions of the form as monochromatic, multi-colored, or grayscale.

6. The method of claim 5 , wherein extracting the plurality of cells comprises extracting one or more cells from the one or more shaded regions.

7. The method of claim 6, further comprising the step of: extracting one or more cells from the one or more shaded regions using the extracted lines.

8. The method for automatically registering a form according to any one of claims 1 to 7, wherein the formed hierarchy is expressed in a format selected from the group consisting of JavaScript Object Notation (JSON), Hypertext Markup Language (HTML), and Extensible Markup Language (XML).

9. The associating step determines whether the content is associated with a particular keyword by using a minimum cost value C ij by identifying C ij The method for automatically registering a form according to any one of claims 1 to 8, wherein: [0010]

10. The semantic distance S ij 10. The method of claim 9, wherein R is calculated as a distance selected from the group consisting of a geometric distance, a front rank (FR), a back rank (BR), an arithmetic mean of FR and BR, a geometric mean of FR and BR, a harmonic mean of FR and BR, a Euclidean distance, a Word Mover distance, or a cosine distance.

11. one or more processors; one or more non-transitory memory devices; and a deep learning system that executes a deep learning model, The automated form registration system includes one or more programs stored in the one or more non-transitory memory devices, the one or more programs including instructions that, when executed, extracting one or more features from the form in response to the input of the form; using a deep learning model to identify and extract a plurality of lines from other features of the form; and using the deep learning model to identify and extract a plurality of connected regions using the extracted lines; and identifying a table from the plurality of connected regions using the deep learning model; and extracting a number of cells from the identified table; grouping cells of the identified table using positions and sizes of adjacent cells in the identified table; forming a plurality of rows and a plurality of columns in the identified table; forming a hierarchy with the cells in the identified table using the grouping and one of the formed rows and the formed columns; using the formed hierarchy to identify adjacent keywords in the identified table; identifying the contents of the identified table using the formed hierarchy; and An automated form registration system that associates each identified adjacent keyword with each piece of content.

12. The automated form registration system of claim 11, wherein the formed hierarchy of the identified table is a column hierarchy, and each identified content is displayed under a plurality of identified adjacent keywords.

13. The automated form registration system of claim 11, wherein the formed hierarchy of the identified table is a row hierarchy, with each identified content being displayed to the right of a plurality of identified adjacent keywords.

14. The automated form registration system of any one of claims 11 to 13, wherein the deep learning model is selected from the group consisting of convolutional neural networks.

15. The automated form registration system of any one of claims 11 to 14, wherein the features are selected from the group consisting of single color, multiple colors, and grayscale, and the identifying and extracting of the multiple lines includes identifying one or more shaded areas of the form as single color, multiple colors, or grayscale.

16. The extracting of cells includes extracting one or more cells from the one or more shaded regions.

16. The automated form registration system of claim 15, comprising:

17. 17. The system of claim 16, wherein the extraction of one or more cells from the one or more shaded regions further uses the extracted lines.

18. The automated form registration system according to any one of claims 11 to 17, wherein the formed hierarchy is expressed in a format selected from the group consisting of JavaScript Object Notation (JSON), Hypertext Markup Language (HTML), and Extensible Markup Language (XML).

19. The associating step determines whether the content is associated with a particular keyword by using a minimum cost value C ij by identifying C ij The automatic form registration system according to any one of claims 11 to 18, wherein is calculated by the following formula: [0025]

20. The semantic distance S ij 20. The automated form registration system of claim 19, wherein R is calculated as a distance selected from the group consisting of a geometric distance, a front rank (FR), a back rank (BR), an arithmetic mean of FR and BR, a geometric mean of FR and BR, a harmonic mean of FR and BR, a Euclidean distance, a Word Mover distance, or a cosine distance.