IP Library Granted Patent US 11,151,329
Granted Patent B2
US 11,151,329 · App. 16/563,783 · Granted Oct 19, 2021

Support for grammar inflections within a software development framework

Inventors: Bernard Mont-Reynaud (Sunnyvale, CA); Seth Taron (Sunnyvale, CA)
Assignee: SoundHound, Inc.
G06F40/30G06F8/42G06F40/205G06F40/253G10L15/1822G10L15/197
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,151,329
App. No.
16/563,783
Granted
Oct 19, 2021
Kind
B2
Abstract

A natural language understanding server includes grammars specified in a modified extended Backus-Naur form (MEBNF) that includes an agglutination metasymbol not supported by conventional EBNF grammar parsers, as well as an agglutination preprocessor. The agglutination preprocessor applies one or more sets of agglutination rewrite rules to the MEBNF grammars, transforming them to EBNF grammars that can be processed by conventional EBNF grammar parsers. Permitting grammars to be specified in MEBNF form greatly simplifies the authoring and maintenance of grammars supporting inflected forms of words in the languages described by the grammars.

Claims (49)

1. A computer-implemented method of transforming modified Extended Backus-Naur Form (MEBNF) phrase grammars, the computer-implemented method comprising:

obtaining, from a software developer, a MEBNF grammar whose rules contain at least one agglutination metasymbol distinct from standard EBNF metasymbols;

storing a plurality of agglutination rewrite rules, each agglutination rewrite rule when applied to a MEBNF expression producing a transformed MEBNF expression, while preserving the language generated by the MEBNF grammar;

transforming the MEBNF grammar to an equivalent EBNF grammar by applying the agglutination rewrite rules to rules of the MEBNF grammar one or more times, wherein each application of an agglutination rewrite rule to a rule of the MEBNF grammar:

removes an agglutination metasymbol from the grammar rule;

adds zero or more agglutination metasymbols to the grammar rule;

wherein the rules of the transformed MEBNF grammar no longer contain an agglutination metasymbol;

receiving a natural language query of a user;

parsing the natural language query using the equivalent EBNF grammar; and

performing an action on behalf of the user based on a result of the parsing.

2. The computer-implemented method of claim 1 , wherein the agglutination rewrite rules specify that the agglutination of two terminal strings is their string concatenation.

3. The computer-implemented method of claim 1 , wherein all instances of an agglutination metasymbol in a rewrite rule are followed by a terminal suffix or preceded by a terminal prefix.

4. The computer-implemented method of claim 1 , further comprising parsing the transformed MEBNF grammar with a conventional EBNF parser.

5. The computer-implemented method of claim 1 , wherein the received rules of the MEBNF grammar specify possessive forms for nouns.

6. The computer-implemented method of claim 1 , wherein the received rules of the MEBNF specify plurals for nouns.

7. The computer-implemented method of claim 1 , wherein the received rules of the MEBNF specify conjugations of verbs.

8. The computer-implemented method of claim 1 , wherein the received rules of the MEBNF specify prefix articles of nouns.

9. A non-transitory computer-readable storage medium storing executable program instructions that when executed by a computer processor perform actions comprising:

obtaining, from a software developer, a modified Extended Backus-Naur Form (MEBNF) grammar whose rules contain at least one agglutination metasymbol distinct from standard EBNF metasymbols;

storing a plurality of agglutination rewrite rules, each agglutination rewrite rule when applied to a MEBNF expression producing a transformed MEBNF expression, while preserving the language generated by the MEBNF grammar;

transforming the MEBNF grammar to an equivalent EBNF grammar by applying the agglutination rewrite rules to rules of the MEBNF grammar one or more times, wherein each application of an agglutination rewrite rule to a rule of the MEBNF grammar:

removes an agglutination metasymbol from the grammar rule;

adds zero or more agglutination metasymbols to the grammar rule;

wherein the rules of the transformed MEBNF grammar no longer contain an agglutination metasymbol;

receiving a natural language query of a user;

parsing the natural language query using the equivalent EBNF grammar; and

performing an action on behalf of the user based on a result of the parsing.

10. The non-transitory computer-readable storage medium of claim 9 , wherein the agglutination rewrite rules specify that the agglutination of two terminal strings is their string concatenation.

11. The non-transitory computer-readable storage medium of claim 9 , wherein all instances of an agglutination metasymbol in a rewrite rule are followed by a terminal suffix or preceded by a terminal prefix.

12. The non-transitory computer-readable storage medium of claim 9 , the actions further comprising parsing the transformed MEBNF grammar with a conventional EBNF parser.

13. The non-transitory computer-readable storage medium of claim 9 , wherein the received rules of the MEBNF grammar specify possessive forms for nouns.

14. The non-transitory computer-readable storage medium of claim 9 , wherein the received rules of the MEBNF specify plurals for nouns.

15. The non-transitory computer-readable storage medium of claim 9 , wherein the received rules of the MEBNF specify conjugations of verbs.

16. The non-transitory computer-readable storage medium of claim 9 , wherein the received rules of the MEBNF specify prefix articles of nouns.

17. A computer system comprising:

a computer processor; and

a non-transitory computer-readable storage medium storing executable program instructions that when executed by the computer processor perform actions comprising:

obtaining, from a software developer, a modified Extended Backus-Naur Form (MEBNF) grammar whose rules contain at least one agglutination metasymbol distinct from standard EBNF metasymbols;

storing a plurality of agglutination rewrite rules, each agglutination rewrite rule when applied to a MEBNF expression producing a transformed MEBNF expression, while preserving the language generated by the MEBNF grammar;

transforming the MEBNF grammar to an equivalent EBNF grammar by applying the agglutination rewrite rules to rules of the MEBNF grammar one or more times, wherein each application of an agglutination rewrite rule to a rule of the MEBNF grammar:

removes an agglutination metasymbol from the grammar rule;

adds zero or more agglutination metasymbols to the grammar rule;

wherein the rules of the transformed MEBNF grammar no longer contain an agglutination metasymbol;

receiving a natural language query of a user;

parsing the natural language query using the equivalent EBNF grammar; and

performing an action on behalf of the user based on a result of the parsing.

18. The computer system of claim 17 , wherein the agglutination rewrite rules specify that the agglutination of two terminal strings is their string concatenation.

19. The computer system of claim 17 , wherein all instances of an agglutination metasymbol in a rewrite rule are followed by a terminal suffix or preceded by a terminal prefix.

20. The computer system of claim 17 , the actions further comprising parsing the transformed MEBNF grammar with a conventional EBNF parser.

Assignments (12)
TERMINATION AND RELEASE OF SECURITY INTEREST IN PATENTS Recorded Dec 3, 2024
From: MONROE CAPITAL MANAGEMENT ADVISORS, LLC, AS COLLATERAL AGENT
To: SOUNDHOUND, INC.
Reel/Frame 069480/0312 →
SECURITY INTEREST Recorded Aug 9, 2024
From: SOUNDHOUND, INC.
To: MONROE CAPITAL MANAGEMENT ADVISORS, LLC, AS COLLATERAL AGENT
Reel/Frame 068526/0413 →
RELEASE OF SECURITY INTEREST Recorded Jun 11, 2024
From: ACP POST OAK CREDIT II LLC, AS COLLATERAL AGENT
To: SOUNDHOUND, INC.; SOUNDHOUND AI IP, LLC
Reel/Frame 067698/0845 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 27, 2023
From: SOUNDHOUND AI IP HOLDING, LLC
To: SOUNDHOUND AI IP, LLC
Reel/Frame 064205/0676 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 23, 2023
From: SOUNDHOUND, INC.
To: SOUNDHOUND AI IP HOLDING, LLC
Reel/Frame 064083/0484 →
RELEASE OF SECURITY INTEREST Recorded Apr 21, 2023
From: FIRST-CITIZENS BANK & TRUST COMPANY, AS AGENT
To: SOUNDHOUND, INC.
Reel/Frame 063411/0396 →
RELEASE OF SECURITY INTEREST Recorded Apr 19, 2023
From: OCEAN II PLO LLC, AS ADMINISTRATIVE AGENT AND COLLATERAL AGENT
To: SOUNDHOUND, INC.
Reel/Frame 063380/0625 →
SECURITY INTEREST Recorded Apr 17, 2023
From: SOUNDHOUND, INC.; SOUNDHOUND AI IP, LLC
To: ACP POST OAK CREDIT II LLC
Reel/Frame 063349/0355 →
CORRECTIVE ASSIGNMENT TO CORRECT THE COVER SHEET PREVIOUSLY RECORDED AT REEL: 056627 FRAME: 0772. ASSIGNOR(S) HEREBY CONFIRMS THE SECURITY INTEREST. Recorded Apr 12, 2023
From: SOUNDHOUND, INC.
To: OCEAN II PLO LLC, AS ADMINISTRATIVE AGENT AND COLLATERAL AGENT
Reel/Frame 063336/0146 →
SECURITY INTEREST Recorded Jun 18, 2021
From: OCEAN II PLO LLC, AS ADMINISTRATIVE AGENT AND COLLATERAL AGENT
To: SOUNDHOUND, INC.
Reel/Frame 056627/0772 →
SECURITY INTEREST Recorded Apr 1, 2021
From: SOUNDHOUND, INC.
To: SILICON VALLEY BANK
Reel/Frame 055807/0539 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 16, 2019
From: MONT-REYNAUD, BERNARD; TARON, SETH
To: SOUNDHOUND, INC.
Reel/Frame 050737/0520 →