Text generator with an automated decision tree for creating text based on changing input data
First Claim
1. A computer-based method for generating text, comprising:
- selecting a model of a text, the model being a decision tree with a node having one or more buckets including a conditional element and a sentence element;
processing a set of raw data selected based on the selected model to determine a model variable;
evaluating the selected text model to identify a set of the sentence elements to include in the generated text, wherein the evaluating includes processing the conditional element of a bucket and when the conditional element is satisfied including the sentence element for the bucket in the identified set of the sentence elements; and
combining the sentence elements in the identified set to form the generated text;
wherein the processing of one of the conditional elements includes retrieving the model variable determined from the processed set of raw data and comparing a value of the model variable with a predefined conditional value for the bucket and wherein each of the nodes of the selected text model include a set of concatenation rules for the sentence elements of the particular node and wherein the combining of the sentence elements includes concatenating the sentence elements for each of the nodes based on the sets of concatenation rules, the concatenation rules including definitions of connectors to be inserted between the sentence elements.
5 Assignments
0 Petitions
Accused Products
Abstract
A method for generating text using a computer system. The method includes selecting a model for generating a text that is based on a decision tree with nodes having one buckets or elements that include a conditional element and a sentence element or a pointer to a child node. The method includes processing a set of raw data selected for the particular model and then determining values of model variables. Evaluation of the model is performed to identify a set of the sentence elements to include in the text. The evaluating includes processing the conditional element of the buckets and when the conditional element is satisfied including the bucket'"'"'s sentence element in the set of identified sentence elements. The method continues with combining the identified sentence elements to generate the text. The combining is completed based on concatenation rules provided in or linked to each node.
-
Citations
17 Claims
-
1. A computer-based method for generating text, comprising:
-
selecting a model of a text, the model being a decision tree with a node having one or more buckets including a conditional element and a sentence element; processing a set of raw data selected based on the selected model to determine a model variable; evaluating the selected text model to identify a set of the sentence elements to include in the generated text, wherein the evaluating includes processing the conditional element of a bucket and when the conditional element is satisfied including the sentence element for the bucket in the identified set of the sentence elements; and combining the sentence elements in the identified set to form the generated text; wherein the processing of one of the conditional elements includes retrieving the model variable determined from the processed set of raw data and comparing a value of the model variable with a predefined conditional value for the bucket and wherein each of the nodes of the selected text model include a set of concatenation rules for the sentence elements of the particular node and wherein the combining of the sentence elements includes concatenating the sentence elements for each of the nodes based on the sets of concatenation rules, the concatenation rules including definitions of connectors to be inserted between the sentence elements. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A text generation system, comprising:
-
means for storing a set of text models, each of the text models being decision tree based and including a parent node and a plurality of child nodes each having one or more bucket elements, wherein at least some of the bucket elements include conditional elements and a sentence element; means for storing a model database including retrieved raw data and model variables for a selected one of the text models; a generator engine configured for identifying the selected one of the text models, for processing the retrieved raw data to determine the model variables, and for generating a text by processing the conditional elements to identify a set of the sentence elements and combining the identified sentence elements, wherein at least some of the buckets include multiple text strings and one of the text strings is randomly selected for inclusion in the text by the generator engine. - View Dependent Claims (8, 9, 10, 11)
-
-
12. A computer-based method for generating text, comprising:
-
receiving user input requesting that text be built, wherein the user input comprises a key and a model selection; selecting a text model based on the model selection, the text model being a decision tree with nodes comprising buckets having a conditional element and a corresponding sentence element; retrieve a set of raw data from a data source based on the key and on the text model; processing the set of raw data to determine model variables defined by the text model; evaluating the selected text model to identify a set of the sentence elements to include in the text, wherein the evaluating includes processing the conditional elements of at least some of the buckets using the determined model variables and when the conditional elements are satisfied including the corresponding sentence elements for the buckets in the identified set of the sentence elements; and combining the sentence elements in the identified set to form the text; wherein at least some of the buckets include multiple text strings and one of the text strings is randomly selected for inclusion in the text. - View Dependent Claims (13, 14, 15, 16, 17)
-
Specification