Table narration using narration templates
First Claim
1. A computer system for narrating a table using at least one narration template, wherein the table is extracted from a data source, the computer system comprising:
- one or more processors, one or more computer-readable memories, one or more computer-readable tangible storage devices, and program instructions stored on at least one of the one or more storage devices for execution by at least one of the one or more processors via at least one of the one or more memories, wherein the computer system is capable of performing a method comprising;
parsing, by a computing device, the extracted table;
performing, by the computing device, structural analysis on the parsed extracted table, wherein performing the structural analysis comprises determining a table layout and schema associated with the extracted table, and wherein determining the table layout comprises determining a number of rows, a number of columns, a number of headers, a number of sub-headers, a number of categories and a size and a span associated each of the determined number of rows, the determined number of columns, the determined number of headers, the determined number of sub-headers, and the number of categories;
selecting, by the computing device, at least one structural template associated with a plurality of stored structural templates based on the structural analysis of the parsed extracted table, wherein the selected at least one structural template is associated with the determined table layout and schema;
selecting, by the computing device, the at least one narration template associated with a plurality of stored narration templates based on the at least one selected structural template;
applying, by the computing device, the at least one selected narration template to the extracted table, wherein applying the at least one selected narration template to the extracted table comprises applying a plurality of narration formulas specified in the selected narration template, and wherein the plurality of narration formulas comprise a plurality of natural language words, phrases, and sentences that is static as specified within a narration formula or dynamic based on a plurality of content associated with the extracted table, and wherein the plurality of narration formulas continue to be created, updated, and maintained separately, in a repository on a server;
resolving, by the computing device, a plurality of variables associated with the extracted table, wherein the resolving comprises comparing at least one row of the extracted table with at least one other row of the extracted table;
narrating, by the computing device, the extracted table based on the applying of the at least one selected narration template to the extracted table and based on the resolving of the plurality of variables associated with the extracted table; and
displaying, by the computing device, a narrative output, the narrative output being a natural language output, based on a horizontal narration with comparison of the at least one row of the extracted table with the at least one other row of the extracted table, wherein the displayed narrative output comprises displaying a first table narration output of the at least one row as compared to a displayed second narration output of the at least one other row.
1 Assignment
0 Petitions
Accused Products
Abstract
A computer system for narrating a table using at least one narration template, wherein the table is extracted from a data source is provided. The computer system may include parsing the extracted table. The computer system may also include performing structural analysis on the parsed extracted table. The computer system may further include selecting at least one structural template based on the structural analysis of the parsed extracted table. Additionally, the computer system may include selecting the at least one narration template based on the at least one selected structural template. The computer system may also include applying the at least one selected narration template to the extracted table. The computer system may further include narrating the extracted table based on the applying of the at least one selected narration template to the extracted table.
-
Citations
12 Claims
-
1. A computer system for narrating a table using at least one narration template, wherein the table is extracted from a data source, the computer system comprising:
-
one or more processors, one or more computer-readable memories, one or more computer-readable tangible storage devices, and program instructions stored on at least one of the one or more storage devices for execution by at least one of the one or more processors via at least one of the one or more memories, wherein the computer system is capable of performing a method comprising; parsing, by a computing device, the extracted table; performing, by the computing device, structural analysis on the parsed extracted table, wherein performing the structural analysis comprises determining a table layout and schema associated with the extracted table, and wherein determining the table layout comprises determining a number of rows, a number of columns, a number of headers, a number of sub-headers, a number of categories and a size and a span associated each of the determined number of rows, the determined number of columns, the determined number of headers, the determined number of sub-headers, and the number of categories; selecting, by the computing device, at least one structural template associated with a plurality of stored structural templates based on the structural analysis of the parsed extracted table, wherein the selected at least one structural template is associated with the determined table layout and schema; selecting, by the computing device, the at least one narration template associated with a plurality of stored narration templates based on the at least one selected structural template; applying, by the computing device, the at least one selected narration template to the extracted table, wherein applying the at least one selected narration template to the extracted table comprises applying a plurality of narration formulas specified in the selected narration template, and wherein the plurality of narration formulas comprise a plurality of natural language words, phrases, and sentences that is static as specified within a narration formula or dynamic based on a plurality of content associated with the extracted table, and wherein the plurality of narration formulas continue to be created, updated, and maintained separately, in a repository on a server; resolving, by the computing device, a plurality of variables associated with the extracted table, wherein the resolving comprises comparing at least one row of the extracted table with at least one other row of the extracted table; narrating, by the computing device, the extracted table based on the applying of the at least one selected narration template to the extracted table and based on the resolving of the plurality of variables associated with the extracted table; and displaying, by the computing device, a narrative output, the narrative output being a natural language output, based on a horizontal narration with comparison of the at least one row of the extracted table with the at least one other row of the extracted table, wherein the displayed narrative output comprises displaying a first table narration output of the at least one row as compared to a displayed second narration output of the at least one other row. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A computer program product for narrating a table using at least one narration template, wherein the table is extracted from a data source, the computer program product comprising:
-
one or more computer-readable storage devices and program instructions stored on at least one of the one or more tangible storage devices, the program instructions executable by a processor, the program instructions comprising; program instructions to parse, by a computing device, the extracted table; program instructions to perform, by the computing device, structural analysis on the parsed extracted table, wherein performing the structural analysis comprises determining a table layout and schema associated with the extracted table, and wherein determining the table layout and schema comprises determining a number of rows, a number of columns, a number of headers, a number of sub-headers, a number of categories and a size and a span associated each of the determined number of rows, the determined number of columns, the determined number of headers, the determined number of sub-headers, and the number of categories; program instructions to select, by the computing device, at least one structural template based on the structural analysis of the parsed extracted table, wherein the selected at least one structural template is associated with the determined table layout and schema; program instructions to select, by the computing device, the at least one narration template based on the at least one selected structural template; program instructions to apply, by the computing device, the at least one selected narration template to the extracted table, wherein applying the at least one selected narration template to the extracted table comprises applying a plurality of narration formulas specified in the selected narration template, and wherein the plurality of narration formulas comprise a plurality of natural language words, phrases, and sentences that is static as specified within a narration formula or dynamic based on a plurality of content associated with the extracted table, and wherein the plurality of narration formulas continue to be created, updated, and maintained separately, in a repository on a server; program instructions to resolve, by the computing device, a plurality of variables associated with the extracted table, wherein the resolving comprises comparing at least one row of the extracted table with at least one other row of the extracted table; program instructions to narrate, by the computing device, the extracted table based on the applying of the at least one selected narration template to the extracted table and based on the resolving of the plurality of variables associated with the extracted table; and program instructions to display, by the computing device, a narrative output, the narrative output being a natural language output, based on a horizontal narration with comparison of the at least one row of the extracted table with the at least one other row of the extracted table, wherein the displayed narrative output comprises displaying a first table narration output of the at least one row as compared to a displayed second narration output of the at least one other row. - View Dependent Claims (10, 11, 12)
-
Specification