Non-transitory computer readable medium for generating a target program source using software specification written in a natural language
A non-transitory computer readable medium storing a program that causes a processor to function as an information processing apparatus. The information processing apparatus includes a receiving unit configured to receive an input of a natural sentence that describes the content of a process for a process target, a generator configured to generate a series of processes including the process in accordance with the received natural sentence, and a display controller configured to perform control so as to display content information indicating contents of the generated series of processes.
1. A non-transitory computer readable medium storing a program that causes a processor to:
perform a first function to receive an input of a natural sentence that describes content of a process for a process target;
perform a second function to receive an operation of arranging graphical representations on a display in accordance with the process;
switch which one of (i) the first function and (ii) the second function is enabled;
generate a series of processes in accordance with the natural sentence or an operation received by performing the first function or the second function which is enabled;
when the natural sentence received by the first function does not satisfy a predetermined criterion, perform control to display a screen for switching between the first function and the second function; and
when the first function does not receive the input of the natural sentence within a predetermined time, the processor performs the control to display the screen for switching between the first function and the second function.
2. The non-transitory computer readable medium according to claim 1 , wherein the processor switches which one of the first function and the second function is enabled in accordance with an operation by an operator.
3. The non-transitory computer readable medium according to claim 2 , wherein the processor switches from a state in which the first function is enabled to a state in which the second function is enabled in accordance with an index indicating a state of the generated series of processes.
4. The non-transitory computer readable medium according to claim 3 , wherein when the index is equal to or less than a predetermined value, the processor switches from the state in which the first function is enabled to the state in which the second function is enabled.