Multimodal input processing
First Claim
1. A non-transitory computer readable medium storing instructions, the instructions comprising:
- one or more instructions that, when executed, cause a processor to;
receive an input, the input comprising a plurality of input elements;
parse the input to identify;
a first element from among the plurality of input elements, the first element represented according to a formalism type that identifies having a syntax for organizing elements of the formalism type, anda second element from among the plurality of input elements, the second element represented according to the formalism type;
access a library comprising entries for different formalism types, the formalism type included in the different formalism types;
determine a likelihood that the first element and the second element coexist in a selected formalism type from among the different types of formalisms in the library, andselect, based on the determining, the selected formalism type that is consistent with a coexistence of the first element and the second element;
wherein the selected formalism type is one of the following;
an equation, a state diagram, a plot, a chart, a table, a Unified Modeling Language (UML) diagram, a chemical formula, a block diagram model, a type of diagram, a multi-body modeling formalism, a computer-aided design formalism, a physical modeling formalism or source code,generate an output, the output;
comprising the first element and the second element, andat least partly represented in a format corresponding to the selected formalism type; and
wherein if the selected formalism type is an equation, the format is a solution to the equation or a source code function representing the equation;
wherein if the selected formalism type is a state diagram, the format is a state chart model representing the state diagram;
wherein if the selected formalism type is a plot, the format is a source code command that when executed generates the plot or a table of data represented in the plot;
wherein if the selected formalism type is a table, the format is a plot or a chart representing the table;
wherein if the selected formalism type is a chart, the format is a table of data represented in the chart;
wherein if the selected formalism type is a UML diagram, the format is a source code class representing the UML diagram;
wherein if the selected formalism type is a chemical formula, the format is a name of a chemical represented by the chemical formula;
wherein if the selected formalism type is a block diagram model, the format is a source code representation of the block diagram model; and
wherein if the selected formalism type represents source code, the format is a block diagram model.
1 Assignment
0 Petitions
Accused Products
Abstract
Exemplary embodiments described herein provide methods, mediums, and systems for recognizing a formalism type present in an input and generating an output that is consistent with the formalism type. In order to generate an output that is consistent with the formalism type, exemplary embodiments analyze elements of the input together. Such a holistic analysis determines or uses a likelihood that the different elements coexist together in a given formalism type. Based on this holistic analysis, an appropriate formalism type that is consistent with the coexistence of the elements may be selected. After the appropriate formalism type is selected, the input may be processed to generate an output consistent with the formalism type. The output may be computer-based representations of the input defined according to a program associated with the identified formalism type, and/or the input may be translated or transformed into another representation.
7 Citations
16 Claims
-
1. A non-transitory computer readable medium storing instructions, the instructions comprising:
one or more instructions that, when executed, cause a processor to; receive an input, the input comprising a plurality of input elements; parse the input to identify; a first element from among the plurality of input elements, the first element represented according to a formalism type that identifies having a syntax for organizing elements of the formalism type, and a second element from among the plurality of input elements, the second element represented according to the formalism type; access a library comprising entries for different formalism types, the formalism type included in the different formalism types; determine a likelihood that the first element and the second element coexist in a selected formalism type from among the different types of formalisms in the library, and select, based on the determining, the selected formalism type that is consistent with a coexistence of the first element and the second element; wherein the selected formalism type is one of the following;
an equation, a state diagram, a plot, a chart, a table, a Unified Modeling Language (UML) diagram, a chemical formula, a block diagram model, a type of diagram, a multi-body modeling formalism, a computer-aided design formalism, a physical modeling formalism or source code,generate an output, the output; comprising the first element and the second element, and at least partly represented in a format corresponding to the selected formalism type; and wherein if the selected formalism type is an equation, the format is a solution to the equation or a source code function representing the equation; wherein if the selected formalism type is a state diagram, the format is a state chart model representing the state diagram; wherein if the selected formalism type is a plot, the format is a source code command that when executed generates the plot or a table of data represented in the plot; wherein if the selected formalism type is a table, the format is a plot or a chart representing the table; wherein if the selected formalism type is a chart, the format is a table of data represented in the chart; wherein if the selected formalism type is a UML diagram, the format is a source code class representing the UML diagram; wherein if the selected formalism type is a chemical formula, the format is a name of a chemical represented by the chemical formula; wherein if the selected formalism type is a block diagram model, the format is a source code representation of the block diagram model; and wherein if the selected formalism type represents source code, the format is a block diagram model. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
15. A method comprising:
-
receiving, using a processor of a computing device, an input, the input comprising a plurality of input elements; parsing the input, the parsing; performed using the processor, identifying a first element from among the plurality of input elements, and identifying a second element from among the plurality of input elements, wherein the first element and the second element are represented according to a formalism type defining a syntax for organizing elements of the formalism type; access a library comprising entries for different formalism types; evaluating a likelihood that the first element and the second element coexist together in a selected formalism type from among the different formalism types in the library, and selecting, based on the evaluating, the selected formalism type that is consistent with a coexistence of the first element and the second element; wherein the selected formalism type is one of the following;
an equation, a state diagram, a plot, a chart, a table, a Unified Modeling Language (UML) diagram, a chemical formula, a block diagram model, a type of diagram, a multi-body modeling formalism, a computer aided design formalism, a physical modeling-formalism or source code,generating, using the processor, an output, the output; representing a translation of at least part of the input into an output type that is associated with the selected formalism type; and wherein if the selected formalism type is an equation, the translation is a solution to the equation or a source code function representing the equation; wherein if the selected formalism type is a state diagram, the translation is a state chart model representing the state diagram; wherein if the selected formalism type is a plot, the translation is a source code command that when executed generates the plot or a table of data represented in the plot; wherein if the selected formalism type is a table, the translation is a plot or a chart representing the table; wherein if the selected formalism type is a chart, the translation is a table of data represented in the chart; wherein if the selected formalism type is a UML diagram, the translation is a source code class representing the UML diagram; wherein if the selected formalism type is a chemical formula, the translation is a name of a chemical represented by the chemical formula; wherein if the selected formalism type is a block diagram model, the translation is a source code representation of the block diagram model; and wherein if the selected formalism type represents source code, the format is a block diagram model.
-
-
16. A system comprising:
-
a non-transitory computer readable medium storing an input, the input; comprising a plurality of input elements, and being uninterpretable by an engine associated with a selected formalism type; and a processor programmed with instructions that, when executed, cause the processor to; parse the input to identify; a first element from among the plurality of input elements, and a second element from among the plurality of input elements, wherein the first element and the second element are represented according to a formalism type defining a syntax for organizing elements of the formalism type; access a library comprising entries for different formalism types, the different formalism types comprising the selected formalism type associated with the engine; analyze the first element and the second element, the analyzing; examining the first element in context with the second element to evaluate a likelihood that the first element and the second element coexist together in the selected formalism type, and selecting, based on the examining, the selected formalism that is consistent with a coexistence of the first element and the second element; wherein the selected formalism type is one of the following;
an equation, a state diagram, a plot, a chart, a table, a Unified Modeling Language (UML) diagram, a chemical formula, a block diagram model, a type of diagram, a multi-body modeling formalism, a computer-aided design formalism, a physical formalism or source code,generate an output, the output; comprising the first element and the second element, and at least partly represented in a format corresponding to the selected formalism type, wherein the output is interpretable by the engine associated with the selected formalism; and wherein if the selected formalism type is an equation, the format is a solution to the equation or a source code function representing the equation; wherein if the selected formalism type is a state diagram, the format is a state chart model representing the state diagram; wherein if the selected formalism type is a plot, the format is a source code command that when executed generates the plot or a table of data represented in the plot; wherein if the selected formalism type is a table, the format is a plot or a chart representing the table; wherein if the selected formalism type is a chart, the format is a table of data represented in the chart; wherein if the selected formalism type is a UML diagram, the format is a source code class representing the UML diagram; wherein if the selected formalism type is a chemical formula, the format is a name of a chemical represented by the chemical formula; wherein if the selected formalism type is a block diagram model, the format is a source code representation of the block diagram model; and wherein if the selected formalism type represents source code, the format is a block diagram model.
-
Specification