Apparatus for automatically generating source code
First Claim
1. A method of automatically generating software from one or more predefined functions in accordance with an input statement entered in natural language, the method comprising:
- (i) analyzing an input statement for semantic content to extract first semantically meaningful elements using an analysis algorithm;
(ii) analyzing one or more predefined functions for semantic content to extract one or more sets of second semantically meaningful elements using the same analysis algorithm as in step (i);
(iii) identifying at least one of a condition, an action and/or a statement in the input statement;
(iv) comparing the first semantically meaningful elements with the second semantically meaningful elements to identify one or more predefined functions that correspond to one or more action and/or statement of the input statement;
(v) combining at least some of the first semantic elements in accordance with any conditions identified at step (iii) to generate corresponding condition variables;
(vi) combining functions and condition variables identified at steps (iv) and (v) according to a set of predetermined rules to generate software.
1 Assignment
0 Petitions
Accused Products
Abstract
Software is automatically generated from one or more predefined functions in accordance with an input statement entered in natural language. Semantically meaningful elements are extracted from the input statement and one or more sets of second semantically meaningful elements are extracted from the predefined functions. At least one of a condition, an action and/or a statement is identified in the input statement. The first semantically meaningful elements are compared with the second semantically meaningful elements to identify predefined functions that correspond to action(s) and/or statement(s) of the input statement. At least some of the first semantic elements are combined in accordance with identified conditions to generate corresponding condition variables. Identified functions and condition variables are combined according to a set of predetermined rules to generate software.
86 Citations
15 Claims
-
1. A method of automatically generating software from one or more predefined functions in accordance with an input statement entered in natural language, the method comprising:
-
(i) analyzing an input statement for semantic content to extract first semantically meaningful elements using an analysis algorithm; (ii) analyzing one or more predefined functions for semantic content to extract one or more sets of second semantically meaningful elements using the same analysis algorithm as in step (i); (iii) identifying at least one of a condition, an action and/or a statement in the input statement; (iv) comparing the first semantically meaningful elements with the second semantically meaningful elements to identify one or more predefined functions that correspond to one or more action and/or statement of the input statement; (v) combining at least some of the first semantic elements in accordance with any conditions identified at step (iii) to generate corresponding condition variables; (vi) combining functions and condition variables identified at steps (iv) and (v) according to a set of predetermined rules to generate software. - View Dependent Claims (2, 3, 4, 14)
-
-
5. Computer apparatus for automatically generating software from one or more predefined functions in accordance with an input statement entered in natural language, the apparatus comprising:
-
(i) extracting means for extracting first semantically meaningful elements from the input statement and for extracting one or more sets of second semantically meaningful elements from the one or more predefined functions using a common extraction algorithm for both said extraction processes; (ii) identifying means for identifying conditions, actions and/or statements in the input statement; (iii) comparing means for comparing said first semantically meaningful elements with said second semantically meaningful elements to identify one or more predefined functions that correspond to an action and/or statement in the input statement; (iv) first combining means for combining at least some of the first semantic elements in accordance with conditions identified by the identifying means to generate corresponding condition variables; (v) second comparing means for combining the condition variables and predefined functions according to a set of predetermined rules to generate software. - View Dependent Claims (6, 7, 8, 9, 15)
-
-
10. Computer apparatus for generating code instructions for controlling equipment to carry out one or more activities, said apparatus comprising:
-
a) an input for receiving instructions for use in controlling the equipment; b) received instruction processing means for extracting one or more semantically meaningful elements describing operations and extracting one or more semantically meaningful elements describing logical operators from received instructions using a common extraction algorithm for both said extraction processes; c) means for storing a plurality of code instructions for controlling the equipment to carry out activities; d) means for processing stored code instructions to identify a code instruction relevant to an operation extracted from a received instruction by identifying extracted elements from the input instructions and comparing the extracted elements with each other; e) means for translating extracted logical operators into code by identifying extracted elements from the input instructions and comparing the extracted elements with each other; and f) code generating means for selecting at least one identified code instruction and combining it with at least one translated logical operator to generate said code instructions for controlling the equipment to carry out the one or more activities. - View Dependent Claims (11, 12, 13)
-
Specification