Table narration using narration templates
First Claim
1. A method for narrating a table using at least one narration template, wherein the table is extracted from a data source, the 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 method for narrating a table using at least one narration template, wherein the table is extracted from a data source is provided. The method may include parsing the extracted table. The method may also include performing structural analysis on the parsed extracted table. The method may further include selecting at least one structural template based on the structural analysis of the parsed extracted table. Additionally, the method may include selecting the at least one narration template based on the at least one selected structural template. The method may also include applying the at least one selected narration template to the extracted table. The method may further include narrating the extracted table based on the applying of the at least one selected narration template to the extracted table.
-
Citations
8 Claims
-
1. A method for narrating a table using at least one narration template, wherein the table is extracted from a data source, the 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)
-
Specification