Speech Recognizer Grammar Parsing and Syllable Network Minimization

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current local speech recognition technologies are inflexible, limited to singular vocabulary and grammar formats, and lack support for multi-grammar construction and class models, making them unsuitable for environments with limited network connectivity, such as vehicle-mounted systems where quick and adaptable speech recognition is needed.

Innovation Solution

A method and system for building a speech recognizer that involves parsing grammar files, deploying syllable networks, performing merge minimization operations, and integrating an acoustic model and language model, specifically using pre-trained DNN models and N-Gram language models to enable flexible and extensible speech recognition.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If cloud-based speech recognition is used, then recognition accuracy is improved, but network dependency increases and response time worsens in environments with limited network connectivity

Engineering Contradiction:
Improverecognition accuracyVSAvoidresponse time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent extracts the core speech recognition engine from the cloud-based system and deploys it locally on the terminal device. This allows the system to maintain high recognition accuracy while eliminating network dependency and reducing response time, as the recognition process no longer requires cloud server communication.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent introduces an intermediate local recognition model that bridges the gap between cloud-based accuracy and local speed. This local model processes speech data on-device, serving as a mediator that provides both the accuracy of sophisticated recognition and the speed of local processing, without requiring network connectivity.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If traditional local speech recognition is used, then network dependency is reduced, but flexibility and extensibility worsen due to singular vocabulary and grammar formats

Engineering Contradiction:
Improvenetwork independenceVSAvoidflexibility
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The patent implements a universal grammar file format that can accommodate multiple grammar types (phrase structure grammar, context-free grammar, regular expression grammar) within a single standardized framework. This allows the local recognition system to maintain network independence while achieving high flexibility and extensibility through unified grammar management.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The patent introduces dynamic grammar loading and switching capabilities that allow the recognition system to adapt to different application scenarios in real-time. Grammar files can be dynamically loaded, modified, and switched without system reconfiguration, enabling the local system to maintain both reliability and adaptability.

Inventive Principle:
Principle #15Dynamics

3Adaptability or versatility

If multiple grammar files are integrated, then recognition coverage is improved, but system complexity increases

Engineering Contradiction:
Improverecognition coverageVSAvoidsystem complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent merges multiple grammar files into a unified grammar structure through automated integration algorithms. The system automatically resolves conflicts, optimizes grammar rules, and consolidates vocabulary across multiple files, achieving comprehensive recognition coverage while maintaining manageable system complexity through unified management.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The patent performs preliminary grammar validation, conflict detection, and optimization during the grammar file integration process. By pre-processing and preparing grammar files before they are loaded into the recognition system, the patent reduces the complexity of real-time grammar management and ensures smooth integration of multiple grammars.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS11164561B2Method and system for building speech recognizer, and speech recognition method and system
Publication Date: 2021.11.02 BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
  • US11164561B2 patent drawing
  • US11164561B2 patent drawing
  • US11164561B2 patent drawing

AI summary

A method and system for building a speech recognizer, and a speech recognition method and system are proposed. The method for building a speech recognizer includes: reading and parsing each grammar file, and building a network of each grammar; reading an acoustic syllable mapping relationship table, and deploying the network of each grammar as a syllable network; performing a merge minimization operation for each syllable network to form a sound element decoding network; forming the speech recognizer by using the sound element decoding network and a language model. The technical solutions of the present disclosure may be applied to exhibit strong extensibility, support an N-Gram language model, support a class model, present flexible use, and adapt for an embedded recognizer in a vehicle-mounted environment.