Integrated programming framework for speech and text understanding with meaning parsing
AssigneeSoundHound, Inc.
InventorsKeyvan Mohajer, Seyed Majid Emami, Chris Wilson, Bernard Mont-Reynaud
Life of this patent
Estimating the term…
Abstract
The technology disclosed relates to authoring of vertical applications of natural language understanding (NLU), which analyze text or utterances and construct their meaning. In particular, it relates to new programming constructs and tools and data structures implementing those new applications.
Claims48
An automated method of accurately recognizing a speaker's meaning, the method including:
- producing and scoring partial transcriptions of a spoken phrase at intervals as the phrase is spoken using at least one acoustic-language recognition stage and a meaning parser stage, including, at the acoustic-language stage:
- generating a multiplicity of token recognition hypotheses;
- and
- selecting a set of the token recognition hypotheses using at least an acoustic-language score of the token recognition hypotheses at a present interval;
- at the meaning parser stage:
- processing particular token recognition hypotheses in the set of the token recognition hypotheses;
- scoring and returning at least a meaning score for a particular token recognition hypothesis;
- pruning from continued processing at least one token recognition hypothesis, the at least one token recognition hypothesis selected for pruning using a combined score that incorporates at least the acoustic-language score and the meaning score.
An automated method of accurately recognizing an intended meaning of a complete phrase, the method including:
- invoking an interpretation pattern that expresses a complete phrase with a meaning as a sequence of elements that include one or more words from a natural language and a table element that invokes an extended pattern table;
- receiving a text string of tokens that express an intended meaning, wherein the token include a combination of at least one ambiguously expressed element and a dependent element that correlates with the ambiguously expressed element, and further including one or more supplemental elements;
- generating a plurality of alternative interpretations of the combination of the ambiguously expressed element and the dependent element;
- and
- processing and scoring at least some tokens in the alternative interpretations against multiple rows of the extended pattern table, at least some of the rows declaratively expressing weighted alternative expressions of a particular ambiguously expressed element.
A system for recognizing a speaker's meaning, the system including:
- at least one processor, memory coupled to the processor, and computer instructions in the memory that, when executed, cause the processor to take actions including:
- producing and scoring partial transcriptions of a spoken phrase at intervals as the phrase is spoken using at least one acoustic-language recognition stage and a meaning parser stage, including, at the acoustic-language stage:
- generating a multiplicity of token recognition hypotheses;
- and
- selecting a set of the token recognition hypotheses using at least an acoustic-language score of the token recognition hypotheses at a present interval;
- at the meaning parser stage:
- processing particular token recognition hypotheses in the set of the token recognition hypotheses;
- and
- scoring and returning at least a meaning score for a particular token recognition hypothesis;
- pruning from continued processing at least one token recognition hypothesis, the at least one token recognition hypothesis selected for pruning using a combined score that incorporates at least the acoustic-language score and the meaning score.
An automated method of producing a transcription of a spoken phrase, the method comprising:
- generating and pruning partial transcriptions of the spoken phrase at intervals as the phrase is spoken, further comprising:
- generating a multiplicity of second partial transcriptions for a second interval by extending at least one of a multiplicity of first partial transcriptions for a first interval, each partial transcription comprising one or more words;
- wherein a partial transcription is eliminated from further consideration by an incremental meaning parser when it fails to meet a definition of recognizable partial transcriptions;
- assigning combined scores to recognizable second partial transcriptions for pruning before further extension for a third interval or for selection of a completed recognition;
- calculating the combined score of a recognizable partial transcription by combining an acoustic score of the partial transcription, and a meaning score of the partial transcription;
- wherein the acoustic score of a partial transcription is determined incrementally by a speech recognizer;
- and
- wherein the meaning score of a partial transcription is determined incrementally by the meaning parser.
A non-transitory computer-readable recording medium having computer instructions recorded thereon for accurately recognizing an intended meaning of a complete phrase, the computer instructions, when executed on one or more processors, causing the one or more processors to implement operations comprising:
- invoking an interpretation pattern that expresses a complete phrase with a meaning as a sequence of elements that includes one or more words from a natural language and a table element that invokes an extended pattern table;
- receiving a text string of tokens that expresses an intended meaning, wherein the tokens include a combination of at least one ambiguously expressed element and a dependent element that correlates with the ambiguously expressed element, and further including one or more supplemental elements;
- generating a plurality of alternative interpretations of the combination of the ambiguously expressed element and the dependent element;
- and
- processing and scoring at least some tokens in the alternative interpretations against multiple rows of the extended pattern table, at least some of the rows declaratively expressing weighted alternative expressions of a particular ambiguously expressed element.
A non-transitory computer-readable recording medium having computer instructions recorded thereon for producing a transcription of a spoken phrase, the computer instructions, when executed on one or more processors, causing the one or more processors to implement operations comprising
- generating and pruning partial transcriptions of the spoken phrase at intervals as the phrase is spoken, further comprising:
- generating a multiplicity of second partial transcriptions for a second interval by extending at least one of a multiplicity of first partial transcriptions for a first interval, each partial transcription comprising one or more words;
- wherein a partial transcription is eliminated from further consideration by an incremental meaning parser when the partial transcription fails to meet a definition of recognizable partial transcriptions;
- assigning combined scores to recognizable second partial transcriptions for pruning before further extension for a third interval or for selection of a completed recognition;
- calculating the combined score of a recognizable partial transcription by combining an acoustic score of the partial transcription, and a meaning score of the partial transcription;
- wherein the acoustic score of a partial transcription is determined incrementally by a speech recognizer;
- and
- wherein the meaning score of a partial transcription is determined incrementally by the meaning parser.
Dependencies are inferred from the claim text.