Natural language processing utilizing grammar templates
First Claim
Patent Images
1. A method comprising:
- receiving, by a computing device, a natural language input indicative of an operation to be performed;
parsing, by the computing device, the natural language input into at least one part-of-speech;
locating, by the computing device, at least one grammar template of a plurality of grammar templates that corresponds to the at least one part-of-speech, each of the plurality of grammar templates defining a sentence expression;
detecting, by the computing device, an arbitrary term in the at least one part-of-speech based on the located grammar template;
identifying, by the computing device, a known operational term in the at least one part-of-speech, the known operational term corresponding to the operation to be performed;
determining, by the computing device, a term that is related to the arbitrary term based on matching the sentence expression of the at least one grammar template against the known operational term, the term describing a modification for the operation to be performed and selected from a set of base terms corresponding to the known operational term; and
initiating performance, by the computing device, of the operation as including the modification described by the term.
2 Assignments
0 Petitions
Accused Products
Abstract
Natural language input processing utilizing grammar templates are described. In one or more implementations, a natural language input indicating an operation to be performed is parsed into at least one part-of-speech, a grammar template corresponding to the part-of-speech is located, an arbitrary term in the part-of-speech is detected based on the located grammar template, a term related to the arbitrary term and describing a modification for the operation is determined based on the sentence expression of the grammar template, and the indicated operation is performed with the described modification.
-
Citations
20 Claims
-
1. A method comprising:
-
receiving, by a computing device, a natural language input indicative of an operation to be performed; parsing, by the computing device, the natural language input into at least one part-of-speech; locating, by the computing device, at least one grammar template of a plurality of grammar templates that corresponds to the at least one part-of-speech, each of the plurality of grammar templates defining a sentence expression; detecting, by the computing device, an arbitrary term in the at least one part-of-speech based on the located grammar template; identifying, by the computing device, a known operational term in the at least one part-of-speech, the known operational term corresponding to the operation to be performed; determining, by the computing device, a term that is related to the arbitrary term based on matching the sentence expression of the at least one grammar template against the known operational term, the term describing a modification for the operation to be performed and selected from a set of base terms corresponding to the known operational term; and initiating performance, by the computing device, of the operation as including the modification described by the term. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A system comprising:
-
a speech-to-text engine implemented at least partially in hardware of a computing device to receive a natural language input indicative of an operation to be performed and to convert the natural language input into text; and a natural language processing module implemented at least partially in hardware of the computing device to; parse the text into at least one part-of-speech; locate at least one grammar template of a plurality of grammar templates that correspond to the at least one part-of-speech by matching the part-of-speech against a sentence expression defined by each of the plurality of grammar templates, the at least one grammar template selected based on a scoring mechanism; detect an arbitrary term in the at least one part-of-speech based on the located grammar template; identify a known operational term in the at least one part-of-speech, the known operational term corresponding to the operation to be performed; determine a term that is related to the arbitrary term based on matching the sentence expression of the at least one grammar template against the known operational term, the term describing a modification for the operation to be performed and selected from a set of base terms corresponding to the known operational term; and initiate performance of the operation as including the modification described by the term. - View Dependent Claims (13, 14, 15, 16)
-
-
17. One or more computer-readable storage media comprising instructions stored thereon that, responsive to execution by a computing device, causes the computing device to perform operations comprising:
-
parsing, by the computing device, a natural language input into at least one part-of-speech; identifying, by the computing device, a known operational term in the at least one part-of-speech, the known operational term corresponding to an operation to be performed; locating, by the computing device, at least one grammar template of a plurality of grammar templates that corresponds to the at least one part-of-speech, each of the plurality of grammar templates defining a sentence expression; detecting, by the computing device, an arbitrary term in the at least one part-of-speech based on the located grammar template; determining, by the computing device, a term that is related to the arbitrary term based on matching the sentence expression of the at least one grammar template against the known operational term, the term describing a modification for the operation to be performed; and initiating performance, by the computing device, of the operation as including the modification described by the term. - View Dependent Claims (18, 19, 20)
-
Specification