Aligning natural language to linking code snippets to perform a complicated task
First Claim
Patent Images
1. A computer-implemented method for linking a set of executable code snippets to perform a complicated task, comprising:
- decomposing a natural language statement into a plurality of decomposed natural language components, the natural language statement relating to a complicated task, the complicated task comprising a plurality of sub-tasks, each of the plurality of sub-tasks corresponding to a respective decomposed natural language component, the decomposing comprising parsing the natural language statement into terms and parts of speech;
searching a repository of code snippets to identify code snippets corresponding to each of the plurality of sub-tasks corresponding to the respective decomposed natural language components; and
,ordering execution of the code snippets based upon the sub-tasks corresponding to the plurality of decomposed natural language components,wherein each of the plurality of sub-tasks corresponding to respective decomposed natural language statement components are identified based upon a subject-verb-object (SVO) operation, a term identification operation, input/output identification operation, an action identification operation and a goal identification operation.
1 Assignment
0 Petitions
Accused Products
Abstract
A method, system and computer-usable medium for linking a set of executable code snippets to perform a complicated task, comprising: decomposing a natural language statement into a plurality of decomposed natural language components; searching a repository of code snippets to identify code snippets corresponding to each of the decomposed natural language components; ordering execution of the code snippets based upon the plurality of decomposed natural language components; and, executing the code snippets in order of the natural language statement requests until a final outcome is achieved.
-
Citations
5 Claims
-
1. A computer-implemented method for linking a set of executable code snippets to perform a complicated task, comprising:
-
decomposing a natural language statement into a plurality of decomposed natural language components, the natural language statement relating to a complicated task, the complicated task comprising a plurality of sub-tasks, each of the plurality of sub-tasks corresponding to a respective decomposed natural language component, the decomposing comprising parsing the natural language statement into terms and parts of speech; searching a repository of code snippets to identify code snippets corresponding to each of the plurality of sub-tasks corresponding to the respective decomposed natural language components; and
,ordering execution of the code snippets based upon the sub-tasks corresponding to the plurality of decomposed natural language components, wherein each of the plurality of sub-tasks corresponding to respective decomposed natural language statement components are identified based upon a subject-verb-object (SVO) operation, a term identification operation, input/output identification operation, an action identification operation and a goal identification operation. - View Dependent Claims (2, 3, 4, 5)
-
Specification