System and method for automatically filling in a table and generating table data according to data extension
By converting the data into a document format and using a recognition algorithm to fill the table title and content, combined with the cross-positioning method to realize the filling of table data and repair the content, the problems of confusing data arrangement and matching errors in the existing technology are solved, and the table is improved. Filling efficiency and accuracy.
Patent Information
- Application Number
- CN202410840378.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-27
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2044-06-27
AI Technical Summary
In the existing table filling technology, the data arrangement is chaotic, cell data matching errors are prone to occur, and spaces or data type errors cannot be effectively processed, resulting in low filling efficiency and poor accuracy.
Convert the data into document format through the data source receiving module, use the table component module to form the initial table template, combine the recognition algorithm to complete the filling of row titles and column titles, and realize the filling of table data through the cross-positioning method, and perform content inspection and repair , ensuring the regularity and accuracy of data.
It improves the regularity and filling accuracy of table data, reduces the impact of repeated data filling, and improves filling efficiency and accuracy.
Smart Images

Figure CN118378602B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of form filling, and in particular to a system and method for automatically filling a form according to data extension to generate form data. Background Art
[0002] Reference patent name: A system and method for automatically filling in data tables (patent publication number: CN111191429A, patent publication date: 2020-05-22), including the acquisition of source data, the identification and extraction of data, the bidirectional matching and filling of the extracted data with the data table to be filled, and the storage and export of filled data table objects; the user uploads or inputs the source data through the source data acquisition module; the source data parsing module parses the source data and presents the parsing results; the target data table parsing module identifies the meaning of the cells in the target data table provided by the user; the bidirectional matching module bidirectionally matches the source data parsing results with the target data table and automatically fills in the data, and then with the assistance of user confirmation, the data table export module exports the filled data or parsed result data.
[0003] Based on the description in the above-mentioned document, in the existing table filling operation, although the table data is formed after the data is filled, the arrangement in the table data is relatively chaotic, and the problem of data matching errors in cells is prone to occur. At the same time, it fails to handle space or data type errors, and requires personnel to actively complete the repair later, resulting in low efficiency and poor accuracy of the table data filling operation. For this reason, the present invention provides a system and method for automatically filling a table according to data expansion to generate table data. Summary of the invention
[0004] In view of the deficiencies in the prior art, the present invention provides a system and method for generating tabular data by automatically filling in a table according to data expansion, which solves the problem that in the existing table filling operation, although tabular data is formed after the data is filled, the arrangement of the table data is relatively chaotic, and data matching errors in cells are prone to occur. At the same time, it fails to handle spaces or data type errors, and requires personnel to actively complete the repairs later, resulting in low efficiency and poor accuracy of the table data filling operation.
[0005] To achieve the above objectives, the present invention is implemented by the following technical solutions: A system for automatically filling in a table and generating table data according to data expansion includes:
[0006] The data source receiving module is used to receive various source data for generating table data, including the data source format of pictures, documents, recordings or videos;
[0007] The table filling system converts the data source into a document format, realizes the component operation of the table by matching the data, and forms the table data to be fed back to the database for storage, including:
[0008] The data acquisition module, after acquiring the initial data from the data source, completes the conversion of the data source format into a document format, makes a preliminary screening based on the content in the document, and transmits it to the table component module for processing;
[0009] The table component module forms a table title according to the document content, and forms an initial table template according to the structure and type of the content data. Then, based on the initial table template, the row and column titles are filled in through a recognition algorithm, and the corresponding data of the row and column titles are matched to realize the component of the table data.
[0010] A data feedback module saves the formed tabular data in a required format and transmits it to a data repository;
[0011] Data monitoring module, used to monitor data changes in the data source and complete real-time replacement of table data;
[0012] The data repository stores the data source, converted data, and matched tabular data to facilitate computer tracing and use of data.
[0013] Preferably, the operation of converting the data source format into the document format in the data acquisition module is:
[0014] A1. For the processing of the image data source, after marking and extracting the features of the image, the preprocessing of the image features is completed, and the corresponding data content is output based on the feature part content recognition;
[0015] A2. Processing the recording data source, retaining valid language segments, converting text into corresponding data content according to the content of voice transmission;
[0016] A3: For the processing of the video data source, the video is first processed into frames to form a picture data set with text content, and then the corresponding data content is output according to the operation of A1.
[0017] Preferably, the data acquisition module performs a preliminary screening operation based on the text content in the document:
[0018] B1. First, compare the data content in each document and filter out the duplicate data content;
[0019] B2. Then, based on the filtered data content, the structure and type of a category data is arbitrarily selected as a data sorting feature, and the remaining category data is adjusted and integrated based on the data sorting feature to form an initial data set M with the structure and type characteristics of the content data.
[0020] Preferably, the table component module marks the lexical feature content that appears multiple times in the initial data set, and finds the marked lexical features related to all the content in combination with the data content, and then forms the title of the table based on the processing operations fed back by the content, and places the title in the first row of the table, and at the same time merges and centers it in the first row based on the number of column items.
[0021] Preferably, the steps of forming the initial table template in the table component module are:
[0022] C1. First, select an initial data subset from the initial data set M and filter it according to the data content of the initial data subset;
[0023] C2. Determine that the first column excluding the first row is a numerical feature of the sequence of the marked initial data subset or a text content feature corresponding to the initial data subset, and determine that the second row excluding the first column is a text content feature that is the same in all initial data subsets;
[0024] C3. The subsequent determination is made when filling in the row and column headers, and the filled content features must conform to the restricted feature categories in C2.
[0025] Preferably, the recognition algorithm completes the filling operation of the row header and the column header as follows:
[0026] D1. Determine the type of column header based on the initial table template. If the first column except the first row is a numerical feature in the order of the marked initial data subset, fill it in according to the marked order of the data subset. Conversely, if the first column except the first row is a text content feature corresponding to the initial data subset, fill it with the main content feature in the initial data subset;
[0027] D2. Determine the type of row header based on the initial table template, and fill it in with the category content features in the initial data subset in turn;
[0028] D3. And the non-common category content features in the subsequent initial data subset are filled in through the table number expansion operation.
[0029] Preferably, the method of expanding the number of tables in D3 is:
[0030] d31. After completing the operation of filling the category content features in the previous initial data subset, the category content features of the next initial data subset to be filled are compared with the category content features in the previous initial data subset;
[0031] d32. If the category content features of the latter initial data subset completely belong to the category content features of the former initial data subset, the number of tables will not be expanded, and there is no need to fill in the table row headers;
[0032] d33. If the category content feature part of the latter initial data subset belongs to the category content feature in the former initial data subset, the shared category content feature part is removed, and the number of tables is expanded by filling in the order of the non-shared category content feature part adjacent to the filled table row header.
[0033] Preferably, the matching and filling operation of the row header and column header corresponding data in the table component module is as follows:
[0034] E1. Based on the initial table template filled with row and column headers, the initial data set M is input and the data is filled by the cross-positioning method;
[0035] E2. The cross positioning method is to locate in any initial data subset, first determine the column header position of the initial data subset, and determine the row header type in the initial data subset based on the column header position, and the cross cell in the vertical table path based on the row header type and the horizontal table path of the column header position is the area corresponding to the data content;
[0036] E3. After the category content data in one initial data subset is filled, switch to another initial data subset for identification and filling. After the table data is filled, check the table data and repair the problematic data.
[0037] Preferably, the operation of checking and repairing the table data in E3 is:
[0038] e31. Format the content features after filling in the table data to complete the unification of font, font size, font color, alignment and border;
[0039] e32. Check whether there are null values or wrong data types in the table content by traversing the table data content from left to right and switching to the next row in sequence;
[0040] When there is a cell with a null value, the row and column headers of the null value cell are fed back to the initial data set M for data tracing. If there is data content, it is inserted into the null value cell. If there is no corresponding data content, the null value cell is skipped and the next null value cell is switched for inspection.
[0041] When there is an error data type, first determine whether the vertical path of the cell located in the error data type contains other error data types, compare the content lengths corresponding to the error data types in the same vertical path, select the longest error data type and mark it as R, and calculate the length that the cell needs to be extended according to the column cell length of the error data type, and complete the cell expansion and data content switching, and the calculation formula is: ;
[0042] Among them, L is the length that the cell needs to be expanded, l R The content length of the wrong data type, l H is the distance between the content and the cell border, H is the margin distance, l S is the initial length of the cell where the longest error data type is located, and S represents the additional initial cell for the longest error data type;
[0043] e33. Save the checked and repaired table data and convert it into the required format for transmission.
[0044] The present invention also discloses a method for automatically filling in a table according to data expansion to generate a table data system, which specifically comprises the following steps:
[0045] F1. After receiving the data source, convert all data source formats into document formats, and perform feature extraction on the content in the document format;
[0046] F2. After obtaining the initial data of the data source, a template with a table title, a row title of a category, and a column title of a category is formed according to the structure and type of the content data. Each cell is located and the data content is matched based on the template. After matching, the table data is checked and the table data is constructed after the repair process is completed.
[0047] F3. Store the table data in the data repository in the required format, and replace the corresponding data in the table in real time according to the data changes in the data source.
[0048] The present invention provides a system and method for automatically filling in a table according to data expansion to generate table data. Compared with the prior art, it has the following beneficial effects:
[0049] (1) The system and method for automatically filling in a table according to data expansion to generate table data, by providing a table filling system, uniformly converts the data source into a document format, forms a table title according to the document content, and forms an initial table template according to the structure and type of the content data, and then completes the filling of row titles and column titles based on the initial table template through a recognition algorithm, completes the matching of the row titles and column titles corresponding to the data, realizes the construction of table data, thereby completing the unification of data, and realizes the filling of table data according to the cross positioning method, thereby improving the filling efficiency, making the table data more regular, and also improving the accuracy of data filling.
[0050] (2) The system and method for automatically filling in a table according to data expansion to generate table data completes the filling operation of row headers and column headers through a recognition algorithm, and after the gradual introduction of an initial data subset, the number of row header and column header cells is expanded in sequence, thereby achieving the integrity of the table component and reducing the impact of repeated data filling, thereby improving the efficiency of filling operations and data processing.
[0051] (3) The system and method for automatically filling in a table according to data expansion to generate table data, by checking and repairing the table data, traversing the table data content from left to right and switching to the next row in sequence, checking whether there are null values or wrong data types in the table content, and tracing data based on null value cells to confirm spaces or fill in data, and based on the wrong data type, expanding the cell length calculation to complete the content conversion operation of the wrong data type, thereby realizing the filled data table component, and effectively improving the accuracy of the table component. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] Figure 1 It is a functional block diagram of the table filling system of the present invention;
[0053] Figure 2 It is a principle flow chart of the table filling method of the present invention;
[0054] Figure 3 This is a logic judgment diagram for the table checking operation of the present invention. DETAILED DESCRIPTION
[0055] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0056] See also Figure 1-Figure 3, the present invention provides two technical solutions:
[0057] Embodiment 1: A system for automatically filling in a table and generating table data according to data extension, comprising:
[0058] The data source receiving module is used to receive various source data for generating table data, including the data source format of pictures, documents, recordings or videos;
[0059] The table filling system converts the data source into a document format, realizes the component operation of the table by matching the data, and forms the table data to be fed back to the database for storage, including:
[0060] The data acquisition module, after acquiring the initial data from the data source, completes the conversion of the data source format into a document format, makes a preliminary screening based on the content in the document, and transmits it to the table component module for processing;
[0061] The table component module forms a table title according to the document content, and forms an initial table template according to the structure and type of the content data. Then, based on the initial table template, the row and column titles are filled in through a recognition algorithm, and the corresponding data of the row and column titles are matched to realize the component of the table data.
[0062] A data feedback module saves the formed tabular data in a required format and transmits it to a data repository;
[0063] Data monitoring module, used to monitor data changes in the data source and complete real-time replacement of table data;
[0064] The data repository stores the data source, converted data, and matched tabular data to facilitate computer tracing and use of data.
[0065] Among them, by setting up a table filling system, the data source is uniformly converted into a document format, the table title is formed according to the document content, and the initial table template is formed according to the structure and type of the content data. Then, based on the initial table template, the row title and column title are filled through the recognition algorithm, the row title and the column title corresponding data are matched, and the table data is constructed, thereby completing the unification of the data, and the filling of the table data is realized according to the cross-positioning method, so as to improve the filling efficiency, make the table data more regular, and also improve the accuracy of data filling.
[0066] Data tracing is to trace back the row and column headers processed by the cell after a problem occurs in the table data, to find out whether the row header in the corresponding column header exists and whether it contains data.
[0067] In the embodiment of the present invention, the operation of converting the data source format into the document format in the data acquisition module is:
[0068] A1. For the processing of the image data source, after marking and extracting the features of the image, the preprocessing of the image features is completed, and the corresponding data content is output based on the feature part content recognition;
[0069] A2. Processing the recording data source, retaining valid language segments, converting text into corresponding data content according to the content of voice transmission;
[0070] A3: For the processing of the video data source, the video is first processed into frames to form a picture data set with text content, and then the corresponding data content is output according to the operation of A1.
[0071] The processing of the image data source, the audio data source and the video data source are all conversion operations of the prior art, which are intended to convert the expressed content data to form a content part with text or numerical values, so as to facilitate the subsequent unification when completing the data filling of the table.
[0072] In the embodiment of the present invention, the data acquisition module performs the preliminary screening operation based on the text content in the document as follows:
[0073] B1. First, compare the data content in each document and filter out the duplicate data content;
[0074] B2. Then, based on the filtered data content, the structure and type of a category data is arbitrarily selected as a data sorting feature, and the remaining category data is adjusted and integrated based on the data sorting feature to form an initial data set M with the structure and type characteristics of the content data.
[0075] In an embodiment of the present invention, the table component module marks the lexical feature content that appears multiple times in the initial data set, and finds the marked lexical features related to all the content in combination with the data content, and then forms the title of the table based on the processing operations fed back by the content, and places the title in the first row of the table, and at the same time merges and centers it according to the number of column items and is located in the first row.
[0076] Among them, the cells where the titles are located are merged into one cell, and the length of the cell before merging is the total length of the row title cells plus the cell in the first column and second row, as shown in Table 1:
[0077] Table 1 Title table
[0078]
[0079] In the embodiment of the present invention, the steps of forming the initial table template in the table component module are:
[0080] C1. First, select an initial data subset from the initial data set M and filter it according to the data content of the initial data subset;
[0081] C2. Determine that the first column excluding the first row is a numerical feature of the sequence of the marked initial data subset or a text content feature corresponding to the initial data subset, and determine that the second row excluding the first column is a text content feature that is the same in all initial data subsets;
[0082] C3. The subsequent determination is made when filling in the row and column headers, and the filled content features must conform to the restricted feature categories in C2.
[0083] In the embodiment of the present invention, the recognition algorithm completes the filling operation of the row header and the column header as follows:
[0084] D1. Determine the type of column header based on the initial table template. If the first column except the first row is a numerical feature in the order of the marked initial data subset, fill it in according to the marked order of the data subset. Conversely, if the first column except the first row is a text content feature corresponding to the initial data subset, fill it with the main content feature in the initial data subset;
[0085] D2. Determine the type of row header based on the initial table template, and fill it in with the category content features in the initial data subset in turn;
[0086] D3. And the non-common category content features in the subsequent initial data subset are filled in through the table number expansion operation.
[0087] In the embodiment of the present invention, the method of expanding the number of tables in D3 is:
[0088] d31. After completing the operation of filling the category content features in the previous initial data subset, the category content features of the next initial data subset to be filled are compared with the category content features in the previous initial data subset;
[0089] d32. If the category content features of the latter initial data subset completely belong to the category content features of the former initial data subset, the number of tables will not be expanded, and there is no need to fill in the table row headers;
[0090] d33. If the category content feature part of the latter initial data subset belongs to the category content feature in the former initial data subset, the shared category content feature part is removed, and the number of tables is expanded by filling in the order of the non-shared category content feature part adjacent to the filled table row header.
[0091] Among them, the filling operation of row headers and column headers is completed through the recognition algorithm, and after the gradual introduction of the initial data subset, the number of row header and column header cells is expanded in turn, thereby achieving the integrity of the table component and reducing the impact of repeated data filling, thereby improving the efficiency of filling operations and data processing.
[0092] In the embodiment of the present invention, the matching and filling operation of the data corresponding to the row header and the column header in the table component module is as follows:
[0093] E1. Based on the initial table template filled with row and column headers, the initial data set M is input and the data is filled by the cross-positioning method;
[0094] E2. The cross positioning method is to locate in any initial data subset, first determine the column header position of the initial data subset, and determine the row header type in the initial data subset based on the column header position, and the cross cell in the vertical table path based on the row header type and the horizontal table path of the column header position is the area corresponding to the data content;
[0095] E3. After the category content data in one initial data subset is filled, switch to another initial data subset for identification and filling. After the table data is filled, check the table data and repair the problematic data.
[0096] Among them, the table after completing the title filling and the corresponding title content filling is shown in Table 2:
[0097] Table 2 Schematic diagram of components
[0098]
[0099] In the embodiment of the present invention, the operation of checking and repairing the table data in E3 is:
[0100] e31. Format the content features after filling in the table data to complete the unification of font, font size, font color, alignment and border;
[0101] e32. Check whether there are null values or wrong data types in the table content by traversing the table data content from left to right and switching to the next row in sequence;
[0102] When there is a cell with a null value, the row and column headers of the null value cell are fed back to the initial data set M for data tracing. If there is data content, it is inserted into the null value cell. If there is no corresponding data content, the null value cell is skipped and the next null value cell is switched for inspection.
[0103] When there is an error data type, first determine whether the vertical path of the cell located in the error data type contains other error data types, compare the content lengths corresponding to the error data types in the same vertical path, select the longest error data type and mark it as R, and calculate the length that the cell needs to be extended according to the column cell length of the error data type, and complete the cell expansion and data content switching, and the calculation formula is: ;
[0104] Among them, L is the length that the cell needs to be expanded, l R The content length of the wrong data type, l H is the distance between the content and the cell border, H is the margin distance, l S is the initial length of the cell where the longest error data type is located, and S represents the additional initial cell for the longest error data type;
[0105] e33. Save the checked and repaired table data and convert it into the required format for transmission.
[0106] Among them, by checking and repairing the table data, the table data content is traversed from left to right and switched to the next row in sequence, to check whether there are empty values or wrong data types in the table content, and to trace the data based on the empty value cells, to confirm spaces or fill in data, and to expand the length of the cell based on the wrong data type, to complete the content conversion operation of the wrong data type, thereby realizing the filled data table component and effectively improving the accuracy of the table component.
[0107] Embodiment 2 is different from Embodiment 1 in that: the present invention further discloses a method for automatically filling in a table according to data expansion to generate a table data system, which specifically includes the following steps:
[0108] F1. After receiving the data source, convert all data source formats into document formats, and perform feature extraction on the content in the document format;
[0109] F2. After obtaining the initial data of the data source, a template with a table title, a row title of a category, and a column title of a category is formed according to the structure and type of the content data. Each cell is located and the data content is matched based on the template. After matching, the table data is checked and the table data is constructed after the repair process is completed.
[0110] F3. Store the table data in the data repository in the required format, and replace the corresponding data in the table in real time according to the data changes in the data source.
[0111] Meanwhile, the contents not described in detail in this specification belong to the prior art known to those skilled in the art.
[0112] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.
[0113] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. A system for automatically filling in a table to generate table data according to data extension, characterized in that: include: The data source receiving module is used to receive various source data for generating table data, including the data source format of pictures, documents, recordings or videos; The table filling system converts the data source into a document format, realizes the component operation of the table by matching the data, and forms the table data to be fed back to the database for storage, including: The data acquisition module, after acquiring the initial data from the data source, completes the conversion of the data source format into a document format, makes a preliminary screening based on the content in the document, and transmits it to the table component module for processing; The table component module forms a table title according to the document content, and forms an initial table template according to the structure and type of the content data. Then, based on the initial table template, the row and column titles are filled in through a recognition algorithm, and the corresponding data of the row and column titles are matched to realize the component of the table data. A data feedback module saves the formed tabular data in a required format and transmits it to a data repository; Data monitoring module, used to monitor data changes in the data source and complete real-time replacement of table data; Data repository, which stores data sources, converted data, and matched tabular data, making it easier for computers to trace and use data; The matching and filling operation of the row header and column header corresponding data in the table component module is as follows: E1. Based on the initial table template filled with row and column headers, the initial data set M is input and the data is filled by the cross-positioning method; E2. The cross positioning method is to locate in any initial data subset, first determine the column header position of the initial data subset, and determine the row header type in the initial data subset based on the column header position, and the cross cell in the vertical table path based on the row header type and the horizontal table path of the column header position is the area corresponding to the data content; E3. After the category content data in one initial data subset is filled, switch to another initial data subset for identification and filling, and after the form data is filled, check the form data and repair the problematic data; The operations for checking and repairing the table data in E3 are: e31. Format the content features after filling in the table data to complete the unification of font, font size, font color, alignment and border; e32. Check whether there are null values or wrong data types in the table content by traversing the table data content from left to right and switching to the next row in sequence; When there is a cell with a null value, the row and column headers of the null value cell are fed back to the initial data set M for data tracing. If there is data content, it is inserted into the null value cell. If there is no corresponding data content, the null value cell is skipped and the next null value cell is switched for inspection. When there is an error data type, first determine whether the vertical path of the cell located in the error data type contains other error data types, compare the content lengths corresponding to the error data types in the same vertical path, select the longest error data type and mark it as R, and calculate the length that the cell needs to be extended according to the column cell length of the error data type, and complete the cell expansion and data content switching, and the calculation formula is: L=l R +2*l H -l S ; Among them, L is the length that the cell needs to be expanded, l R The content length of the wrong data type, l H is the distance between the content and the cell border, H is the margin distance, l S is the initial length of the cell where the longest error data type is located, and S represents the additional initial cell for the longest error data type; e33. Save the checked and repaired table data and convert it into the required format for transmission.
2. The system for automatically filling in a table and generating table data according to data expansion according to claim 1, characterized in that: The operation of converting the data source format into a document format in the data acquisition module is: A1. For the processing of the image data source, after marking and extracting the features of the image, the preprocessing of the image features is completed, and the corresponding data content is output based on the feature part content recognition; A2. Processing the recording data source, retaining valid language segments, converting text into corresponding data content according to the content of voice transmission; A3: For the processing of the video data source, the video is first processed into frames to form a picture data set with text content, and then the corresponding data content is output according to the operation of A1.
3. The system for automatically filling in a table and generating table data according to data expansion according to claim 1, characterized in that: The data acquisition module performs preliminary screening operations based on the text content in the document: B1. First, compare the data content in each document and filter out the duplicate data content; B2. Then, based on the filtered data content, the structure and type of a category data is arbitrarily selected as a data sorting feature, and the remaining category data is adjusted and integrated based on the data sorting feature to form an initial data set M with the structure and type characteristics of the content data.
4. The system for automatically filling in a table and generating table data according to data expansion according to claim 1, characterized in that: The table component module marks the lexical feature content that appears multiple times in the initial data set, and finds the marked lexical features related to all the content in combination with the data content, and then forms the title of the table based on the processing operations fed back by the content, and places the title in the first row of the table. At the same time, it is merged and centered in the first row based on the number of column items.
5. The system for automatically filling in a table and generating table data according to data expansion according to claim 1, characterized in that: The steps of forming the initial table template in the table component module are: C1. First, select an initial data subset from the initial data set M and filter it according to the data content of the initial data subset; C2. Determine that the first column excluding the first row is a numerical feature of the sequence of the marked initial data subset or a text content feature corresponding to the initial data subset, and determine that the second row excluding the first column is a text content feature that is the same in all initial data subsets; C3. The subsequent determination is made when filling in the row and column headers, and the filled content features must conform to the restricted feature categories in C2.
6. The system for automatically filling in a table and generating table data according to data expansion according to claim 1, characterized in that: The recognition algorithm completes the filling operation of row headers and column headers as follows: D1. Determine the type of column header based on the initial table template. If the first column except the first row is a numerical feature in the order of the marked initial data subset, fill it in according to the marked order of the data subset. Conversely, if the first column except the first row is a text content feature corresponding to the initial data subset, fill it with the main content feature in the initial data subset; D2. Determine the type of row header based on the initial table template, and fill it in with the category content features in the initial data subset in turn; D3. And the non-common category content features in the subsequent initial data subset are filled in through the table number expansion operation.
7. The system for automatically filling in a table and generating table data according to data expansion according to claim 6, characterized in that: The method of expanding the number of tables in D3 is: d31. After completing the operation of filling the category content features in the previous initial data subset, the category content features of the next initial data subset to be filled are compared with the category content features in the previous initial data subset; d32. If the category content features of the latter initial data subset completely belong to the category content features of the former initial data subset, the number of tables will not be expanded, and there is no need to fill in the table row headers; d33. If the category content feature part of the latter initial data subset belongs to the category content feature in the former initial data subset, the shared category content feature part is removed, and the number of tables is expanded by filling in the order of the non-shared category content feature part adjacent to the filled table row header.
8. The method for generating a table data system by automatically filling in a table according to data expansion according to any one of claims 1 to 7, characterized in that: The specific steps include: F1. After receiving the data source, convert all data source formats into document formats, and perform feature extraction on the content in the document format; F2. After obtaining the initial data of the data source, a template with a table title, a row title of a category, and a column title of a category is formed according to the structure and type of the content data. Each cell is located and the data content is matched based on the template. After matching, the table data is checked and the table data is constructed after the repair process is completed. F3. Store the table data in the data repository in the required format, and replace the corresponding data in the table in real time according to the data changes in the data source.
