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 the steps of:
- (i) analysing the input statement for its semantic content, so as to extract first semantically meaningful elements from the input statement;
(ii) analysing the one or more predefined functions for their semantic content, so as to extract one or more sets of second semantically meaningful elements from the one or more predefined functions;
(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 so as 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) so as to generate corresponding condition variables;
(vi) combining functions and condition variables identified at steps (iv) and (v) according to a set of predetermined rules in order to generate the software.
1 Assignment
0 Petitions
Accused Products
Abstract
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 the steps of:
(i) analysing the input statement for its semantic content, so as to extract first semantically meaningful elements from the input statement;
(ii) analysing the one or more predefined functions for their semantic content, so as to extract one or more sets of second semantically meaningful elements from the one or more predefined functions;
(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 so as 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) so as to generate corresponding condition variables;
(vi) combining functions and condition variables identified at steps (iv) and (v) according to a set of predetermined rules in order to generate the software.
-
Citations
13 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 the steps of:
-
(i) analysing the input statement for its semantic content, so as to extract first semantically meaningful elements from the input statement;
(ii) analysing the one or more predefined functions for their semantic content, so as to extract one or more sets of second semantically meaningful elements from the one or more predefined functions;
(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 so as 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) so as to generate corresponding condition variables;
(vi) combining functions and condition variables identified at steps (iv) and (v) according to a set of predetermined rules in order to generate the software. - View Dependent Claims (2, 3, 4)
-
-
5. 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;
(ii) identifying means for identifying any or all of conditions, actions and/or statements in the input statement;
(iii) comparing means for comparing first semantically meaningful elements with second semantically meaningful elements so as to identify one or more predefined functions that correspond to one or more 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 the conditions identified by identifying means (ii) so as to generate corresponding condition variables;
(v) second comparing means for combining the condition variables and predefined functions identified by means (iii) and (iv) according to a set of predetermined rules in order to generate the software. - View Dependent Claims (6, 7, 8, 9)
-
-
10. 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 operations and one or more logical operators from received instructions;
c) means for storing a plurality of code instructions for controlling the equipment to carry out activities;
d) means for processing stored code instructions so as to identify a code instruction relevant to an operation extracted from a received instruction;
e) means for translating extracted logical operators into code; 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