Auto-generation of parsing grammars from a concept ontology
First Claim
Patent Images
1. A method comprising:
- receiving, by a computing device, an audio input based on an utterance by a user, wherein the audio input is received through an automatic speech recognition (ASR) application;
converting, by the computing device, the audio input into a string of words;
determining, by the computing device, a concept from the string of words by;
querying a predefined ontology for one or more ludes that comprise at least one word of the string of words, wherein the predefined ontology describes a plurality of hierarchically organized concepts related to a domain of the ASR application, and wherein the predefined ontology stores instance information comprising respective one or more ludes corresponding to each of the plurality of hierarchically organized concepts;
determining that one of the respective one or more ludes comprises at least one word of the string of words, wherein the one of the respective one or more ludes corresponds to the concept; and
identifying a prelude-postlude pair for the respective one or more ludes comprising the at least one word of the string of words;
generating, by the computing device and based on the predefined ontology, a speech understanding grammar associated with the concept by;
receiving a user selection of the concept determined from the string of words;
generating a grammar skeleton with one or more rule groups, wherein each rule group includes one or more rules with one or more placeholders for a prelude-postlude pair; and
automatically populating at least one placeholder of the one or more placeholders of the one or more rules with the identified prelude-postlude pair from the predefined ontology for the respective one or more ludes comprising the at least one word of the string of words;
sending, by the computing device, the speech understanding grammar to the ASR application.
2 Assignments
0 Petitions
Accused Products
Abstract
An ontology stores information about a domain of an automatic speech recognition (ASR) application program. The ontology is augmented with information that enables subsequent automatic generation of a speech understanding grammar for use by the ASR application program. The information includes hints about how a human might talk about objects in the domain, such as preludes (phrases that introduce an identification of the object) and postludes (phrases that follow an identification of the object).
19 Citations
21 Claims
-
1. A method comprising:
-
receiving, by a computing device, an audio input based on an utterance by a user, wherein the audio input is received through an automatic speech recognition (ASR) application; converting, by the computing device, the audio input into a string of words; determining, by the computing device, a concept from the string of words by; querying a predefined ontology for one or more ludes that comprise at least one word of the string of words, wherein the predefined ontology describes a plurality of hierarchically organized concepts related to a domain of the ASR application, and wherein the predefined ontology stores instance information comprising respective one or more ludes corresponding to each of the plurality of hierarchically organized concepts; determining that one of the respective one or more ludes comprises at least one word of the string of words, wherein the one of the respective one or more ludes corresponds to the concept; and identifying a prelude-postlude pair for the respective one or more ludes comprising the at least one word of the string of words; generating, by the computing device and based on the predefined ontology, a speech understanding grammar associated with the concept by; receiving a user selection of the concept determined from the string of words; generating a grammar skeleton with one or more rule groups, wherein each rule group includes one or more rules with one or more placeholders for a prelude-postlude pair; and automatically populating at least one placeholder of the one or more placeholders of the one or more rules with the identified prelude-postlude pair from the predefined ontology for the respective one or more ludes comprising the at least one word of the string of words; sending, by the computing device, the speech understanding grammar to the ASR application. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A method comprising:
-
receiving, by a computing device, an audio input associated with a user utterance; converting, by the computing device, the audio input into a string of words; performing, by the computing device, natural language processing on the string of words by; comparing at least one word from the string of words to a prelude and a postlude, wherein the prelude and the postlude are a pair configured to determine one or more concepts from a predefined ontology, wherein the prelude is a phrase introducing identification of an instance of the concept and the postlude is a phrase that follows an identification of the instance of the concept; determining a plurality of grammars associated with the plurality of prelude and postlude pairs by; causing display of the one or more concepts based on determining that the at least one word corresponds to the prelude or the postlude pair; receiving a user selection of a concept; in response to the receiving the user selection, determining, at least one of a sub-concept and a super-concept corresponding to the concept, wherein the at least one of the sub-concept and the super-concept have a hierarchical relationship to the concept; determining, based on the concept and the at least one of the sub-concept and the super-concept, a plurality of preludes and postludes, wherein each of the plurality of prelude and postlude are pairs configured to identify one of the concept and the at least one of the sub-concept and the super-concept; and generating a grammar skeleton with one or more rule groups, wherein each rule group includes one or more rules with one or more placeholders for a prelude and postlude pair; and automatically populating at least one placeholder of the one or more placeholders of the one or more rules with the prelude and postlude pair from the concept of the predefined ontology and the at least one of the sub-concept and the super-concept; and transmitting, by the computing device, the plurality of grammars to an application program of a user device. - View Dependent Claims (13, 14, 15)
-
-
16. A method comprising:
-
receiving, by a computing device, an audio input associated with a user utterance; converting, by the computing device, the audio input into a string of words; performing, by the computing device, natural language processing on the string of words comprising; determining that the string of words comprises a stored prelude and postlude pair of a predefined ontology based on comparing each word from the string of words to the stored prelude and postlude pair of the predefined ontology, wherein the prelude is a phrase introducing identification of an instance of the concept and the postlude is a phrase that follows an identification of the instance of the concept; determining, based on the stored prelude and postlude pair, a concept; determining, based on the stored prelude and postlude pair, a rule configured to parse at least one word from the string of words as a sub-concept; determining, based on the rule, the sub-concept; determining a super-concept associated with the concept and the sub-concept; determining a plurality of grammars by; receiving a user selection of the concept; generating a grammar skeleton with one or more rule groups, wherein each rule group includes one or more rules with one or more placeholders for a prelude and postlude pair, wherein each rule refers to at least one of the concept, the sub-concept, the super-concept, and the stored prelude and postlude pair; and automatically populating at least one placeholder of the one or more placeholders of the one or more rules with the stored prelude and postlude pair of the predefined ontology based upon, at least in part, the user selection of the concept; and transmitting, by the computing device, the plurality of grammars to an application program of a user device. - View Dependent Claims (17, 18, 19, 20, 21)
-
Specification