System for realizing multi-language intelligent voice quality inspection based on large model
Through the multi-language intelligent voice quality inspection system based on large models, the existing technology problems of being unable to implement multiple types of voice quality inspection and poor voice quality inspection results are solved, and multi-language voice quality inspection and user experience improvement are achieved. Through the learning module Continuously improve system performance to detect grammatical errors and emotional biases in speech.
Patent Information
- Application Number
- CN202410850491.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2024-09-10
AI Technical Summary
The existing voice quality inspection system cannot implement multi-type voice quality inspection, and the voice quality inspection effect is poor, and it cannot analyze the user's emotions when speaking.
A multilingual intelligent speech quality inspection system based on large models is adopted, including speech collection, speech recognition, quality inspection and feedback modules. It supports speech input in multiple languages, performs grammar checking, sentiment analysis and keyword extraction, and calculates local parts through sentiment scores. Emotion, and continuously improve the accuracy of recognition and detection through learning modules.
It has realized speech quality detection in multiple national languages, improved the accuracy of speech recognition and quality detection, helped users improve speech quality and user experience, and continuously improved system performance through the learning module to effectively detect grammatical errors and emotional deviations in speech. and missing keywords.
Smart Images

Figure CN118629432A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of speech quality inspection, and in particular to a multi-language intelligent speech quality inspection system based on a large model. Background Art
[0002] The traditional voice quality inspection system is an efficient tool that collects voice files and business data from the upstream system, and then uses automatic or manual case classification to perform system operations to ensure excellent voice quality and accurate business operations. Such a system can not only greatly improve work efficiency, but also reduce problems caused by human errors.
[0003] A Chinese patent with publication number CN118072764A discloses an intelligent voice quality inspection management system, a voice quality inspection model component management module, which is provided with multiple voice quality inspection model components, each of which is provided with multiple quality inspection rules corresponding to the business to which it belongs and constructed according to the business keywords. The voice quality inspection module is used to call the voice quality inspection model component of the business to which it belongs in real time to perform voice quality inspection on the voice text data to be inspected, and output the quality inspection results. Compared with the prior art, the present invention has high applicability in quality inspection scenarios and high quality inspection accuracy.
[0004] However, the above-mentioned publicly available solutions have the following shortcomings: they can only be applied to a single type of voice input and cannot realize multi-category voice quality inspection. In addition, the voice quality inspection model component performs quality inspection through keywords, and the quality inspection method is single and cannot analyze the user's emotions when speaking, resulting in poor voice quality inspection results. Summary of the invention
[0005] The purpose of the present invention is to propose a multi-language intelligent speech quality inspection system based on a large model to address the problems that multiple types of speech quality inspection cannot be implemented in the background technology and the speech quality inspection effect is poor.
[0006] The technical solution of the present invention is a multi-language intelligent speech quality inspection system based on a large model, comprising:
[0007] A voice acquisition module is used to acquire voice signals from a voice input device, where the voice signals are voice signals in multiple languages;
[0008] The speech recognition module is used to receive the speech signal collected by the speech collection module, perform preprocessing, and convert it into corresponding text data. The speech recognition module supports recognition of multiple languages;
[0009] The quality inspection module is used to receive the text data converted by the speech recognition module and perform quality inspection, which includes grammar inspection, sentiment analysis and keyword extraction. Grammar inspection is used to check the grammatical errors of the text, sentiment analysis is to analyze the sentiment of the text, and keyword extraction is to extract keywords from the text; the sentiment score ES is obtained through sentiment analysis, and then the local sentiment of the current speech text is obtained according to the sentiment score value; the sentiment score calculation formula is ES = (EVS + EES + TFS) / TL, where EVS is the sum of the sentiment vocabulary scores, EES is the sentiment expression score, TFS is the text feature score, and TL is the text length;
[0010] And the feedback module is used to feed back the detection results of the quality inspection module to the user to help the user improve the quality of speech.
[0011] Preferably, a learning module is also included; through learning, the ability of speech recognition and quality detection is continuously improved; the learning module also learns from user feedback received by the feedback module to improve the accuracy of recognition and detection.
[0012] Preferably, the voice acquisition module uses voice signal processing technology, including voice signal acquisition, preprocessing and feature extraction. The acquisition obtains the voice signal through a microphone or other voice input device. The preprocessing includes noise reduction and normalization operations. The feature extraction is to extract the characteristic parameters of the voice signal.
[0013] Preferably, the speech recognition module uses deep learning technology to convert speech signals into text data, and these models need to be trained.
[0014] Preferably, in the quality inspection module, the sum of the sentiment vocabulary scores is the sum of the scores of the sentiment vocabulary in the text calculated based on the sentiment dictionary; the sentiment expression score is scored based on the sentiment expression in the text; and the text feature score is scored based on the contribution of the extracted text features to the sentiment analysis.
[0015] Preferably, the sum of the sentiment vocabulary scores is calculated as follows: EVS = Σ(speech sentiment value × speech weight); wherein the speech sentiment value is a value given according to the sentiment polarity of each vocabulary in the sentiment dictionary, and the speech weight is adjusted according to the importance of the vocabulary in the text.
[0016] Preferably, the emotion expression pattern score is calculated as EES=Σ(emotion expression pattern weight×emotion expression pattern matching degree); wherein the emotion expression pattern weight is a value given according to the significance of different emotion expression patterns, and the emotion expression pattern matching degree refers to the degree of matching between the emotion expression pattern in the text and the emotion expression pattern defined in the emotion dictionary.
[0017] Preferably, the text feature score is calculated as TFS=Σ(feature importance×feature value); wherein feature importance is a value given according to the contribution of the text feature to sentiment analysis, and feature value is a feature value extracted from the text according to a feature extraction algorithm.
[0018] Compared with the prior art, the present invention has the following beneficial technical effects: it can realize voice quality detection in multiple languages, improve the accuracy of voice recognition and the accuracy of quality detection, and at the same time, through the feedback module, it can help users improve the quality of voice and enhance user experience. In addition, through the learning module, the system can continuously learn and improve to improve the performance of the system. In addition, in terms of voice quality detection, the present invention can effectively detect grammatical errors, emotional deviations, missing keywords and other problems in the voice, thereby improving the voice quality inspection effect. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 A schematic diagram of the structure of an embodiment of the present invention;
[0020] Figure 2 Workflow diagram for sentiment analysis;
[0021] Figure 3 This is a workflow diagram of the speech quality inspection method proposed in the present invention. DETAILED DESCRIPTION
[0022] Embodiment 1
[0023] like Figure 1 As shown, the present invention proposes a multi-language intelligent speech quality inspection system based on a large model, comprising:
[0024] The voice acquisition module is used to collect voice signals from various voice input devices. The voice signals are voice signals in multiple languages. The voice acquisition module uses voice signal processing technology, including voice signal acquisition, preprocessing and feature extraction. The voice signal is acquired through a microphone or other voice input device. The preprocessing includes noise reduction, normalization and other operations. The feature extraction is to extract the characteristic parameters of the voice signal, such as Mel Frequency Cepstral Coefficient (MFCC).
[0025] The speech recognition module is used to receive the speech signal collected by the speech acquisition module, perform some preprocessing, such as noise elimination, volume adjustment, etc., and convert it into corresponding text data. The speech recognition module supports the recognition of multiple languages, and requires the model to be able to handle the characteristics of multiple languages. It may be necessary to conduct special training on the model, or use multiple models specifically for different languages. The speech recognition module mainly uses deep learning technologies, such as recurrent neural networks (RNN), long short-term memory networks (LSTM), etc., to convert speech signals into text data. These models usually need to be trained, and the training data usually includes a large amount of speech data and corresponding text data. At the same time, classic speech recognition algorithms may also be used, such as hidden Markov models (HMM), Gaussian mixture models (GMM), etc. These algorithms are usually used to handle more complex speech recognition tasks, such as continuous speech recognition, speech separation, etc.
[0026] The quality inspection module is used to receive the text data converted by the speech recognition module and perform quality inspection. The quality inspection includes grammar inspection, sentiment analysis and keyword extraction. Natural language processing technology (NLP) is mainly used, including grammar inspection, sentiment analysis and keyword extraction. Grammar inspection is used to check the grammatical errors of the text, sentiment analysis is to analyze the sentiment of the text, and keyword extraction is to extract keywords from the text; the sentiment score ES is obtained through sentiment analysis, and then the local sentiment of the current speech text is obtained according to the sentiment score value. The local sentiment is designed as a complete sentence, a complete paragraph or the entire text according to the needs; the sentiment score calculation formula is ES = (EVS + EES + TFS) / TL, where EVS is the sum of the sentiment vocabulary scores, EES is the sentiment expression score, TFS is the text feature score, and TL is the text length; these keywords can be entered by the quality inspector or generated based on the large model. The quality inspector can set the quality inspection rules, such as how many times the keyword is triggered or the interval between the keyword appears. The system will make corresponding annotations according to the quality inspection rules. The quality inspector can manually review the annotations. If there is any objection, a second annotation can also be made. The AI engineer can optimize the model based on the second annotation;
[0027] And a feedback module is used to feed back the detection results of the quality inspection module to the user to help the user improve the quality of speech; mainly human-computer interaction technologies are used, such as graphical user interface (GUI), speech synthesis, etc., to feed back the quality inspection results to the user.
[0028] Embodiment 2
[0029] like Figure 1 As shown, the present invention proposes a multi-language intelligent speech quality inspection system based on a large model. Compared with the first embodiment, this embodiment introduces the added learning module in detail.
[0030] It also includes a learning module. First, the acquisition module is needed to collect a large amount of voice data. In the early stage, the voice data needs to be manually annotated and compared with the model results to continuously optimize the accuracy of the model. Through machine learning, deep learning and other technologies, the ability of speech recognition and quality detection is continuously improved. The training of large models mainly focuses on the accuracy and error rate of vocabulary, as well as the error rate of sentences, the duration of speech, and the vocal tract. After the model training is completed, its performance needs to be evaluated. If a new language is added, the model also needs to be retrained. The learning module also learns from the user feedback received by the feedback module to improve the accuracy of recognition and detection.
[0031] Embodiment 3
[0032] like Figure 2 As shown, the present invention proposes a multi-language intelligent speech quality inspection system based on a large model. Compared with the first or second embodiment, this embodiment introduces the calculation method of the emotion score in detail.
[0033] In the quality inspection module, the sum of the sentiment vocabulary scores is calculated based on the sentiment dictionary, the sentiment expression score is scored based on the sentiment expression in the text, and the text feature score is scored based on the contribution of the extracted text features to sentiment analysis.
[0034] The sum of the sentiment vocabulary scores is calculated as EVS = Σ(lexicon sentiment value × lexicon weight); wherein the lexicon sentiment value is a value given according to the sentiment polarity of each word in the sentiment dictionary, such as positive, negative, and neutral, and the lexicon weight is adjusted according to the importance of the word in the text, for example, using the TF-IDF weight.
[0035] The calculation method of the emotion expression mode score is, EES = Σ(emotion expression mode weight × emotion expression mode matching degree); wherein, the emotion expression mode weight is a value given according to the significance of different emotion expression modes, and the emotion expression mode matching degree refers to the degree of matching between the emotion expression mode in the text and the emotion expression mode defined in the emotion dictionary.
[0036] The text feature score is calculated as follows: TFS = Σ(feature importance × feature value); wherein feature importance is a value given according to the contribution of the text feature to sentiment analysis, and feature value is a feature value extracted from the text according to the feature extraction algorithm.
[0037] Based on the above description of the sentiment score calculation formula, the following is a simple example to illustrate the use of the formula:
[0038] Assume there is a simplified sentiment dictionary containing the following words and their sentiment values:
[0039] "Good": Positive sentiment value +1
[0040] "Bad": Negative sentiment value -1
[0041] "Happy": Positive emotion value +1
[0042] "Sad": Negative sentiment value -1
[0043] Suppose the text is: "This product is good, but the packaging is terrible, but overall it was a pleasant shopping experience."
[0044] Sentiment vocabulary score calculation:
[0045] “Good” score = +1×TF-IDF weight
[0046] "Bad" score = -1 × TF-IDF weight
[0047] “Happy” score = +1×TF-IDF weight
[0048] Score for "sadness" = -1 × TF-IDF weight
[0049] Emotional expression score calculation:
[0050] There are positive emotional expressions "very good" and "pleasant" in the text, and negative emotional expression "very bad". The emotional expression pattern weights can be set to +2 and -2, and the emotional expression pattern matching degree can be scored based on the expression in the text and the emotional expression pattern defined in the emotional dictionary.
[0051] Text feature score calculation:
[0052] Feature importance can be scored based on the contribution of the feature to sentiment analysis. For example, "good" and "pleasant" may be more important and can be given higher weights. Feature values are feature values extracted from text based on feature extraction algorithms, such as word frequency, word order, etc.
[0053] Finally, these three scores are added together to get the total sentiment score of the text. This score can be used to evaluate the sentiment tendency of the text and for subsequent quality inspection analysis.
[0054] The following are the specific steps of sentiment analysis:
[0055] S1. Split the text into single, short or sentence units, identify the part of speech of each word, such as noun, verb, adjective, etc., remove common meaningless words, such as the, and, etc., and convert the text into a unified format, such as lowercase, unified processing of punctuation, etc.;
[0056] S2. Convert text into feature vectors, weight the importance of vocabulary by word frequency and inverse document frequency, and use word embedding models such as Word2Vec and GloVe to convert vocabulary into vectors to capture the semantic information of vocabulary and convert text into numerical vectors so that machine learning models can process them;
[0057] S3. Calculate the sentiment score of each word according to the words and their sentiment values in the sentiment dictionary, calculate the score of the sentiment expression according to the sentiment expression in the text, such as negative words, degree adverbs, etc., and calculate the score of each feature according to the importance of the text feature;
[0058] S4. Establish sentiment classification model training, prepare training data sets containing sentiment labels, select appropriate machine learning models for training, and continuously adjust model parameters to optimize performance;
[0059] S5. Apply the trained model to the text data for sentiment analysis, calculate the sentiment score based on the model's prediction results, and obtain the sentiment label;
[0060] In summary, when the present invention is used, it first creates a quality inspection task and sets quality inspection rules, then collects voice signals from various voice input devices, performs preprocessing, and then converts them into corresponding text data, and then performs quality inspection. The quality inspection includes grammar checking, sentiment analysis, and keyword extraction, and then the inspection results of the quality inspection module are fed back to users to help them improve the quality of their voice.
[0061] The present invention can realize voice quality detection of multiple languages, improve the accuracy of voice recognition and the accuracy of quality detection, and at the same time, through the feedback module, it can help users improve the quality of voice and enhance user experience. In addition, through the learning module, the system can continuously learn and improve to improve the performance of the system. In addition, in terms of voice quality detection, the present invention can effectively detect grammatical errors, emotional deviations, missing keywords and other problems in the voice, thereby improving the effect of voice quality inspection.
[0062] The embodiments of the present invention are described in detail above with reference to the accompanying drawings, but the present invention is not limited thereto, and various changes can be made within the knowledge scope of technicians in the relevant technical field without departing from the purpose of the present invention.
Claims
1. A multi-language intelligent speech quality inspection system based on a large model, characterized in that: include: A voice collection module is used to collect voice signals from a voice input device, where the voice signals are voice signals in multiple languages; The speech recognition module is used to receive the speech signal collected by the speech collection module, perform preprocessing, and convert it into corresponding text data. The speech recognition module supports recognition of multiple languages; The quality inspection module is used to receive the text data converted by the speech recognition module and perform quality inspection, which includes grammar inspection, sentiment analysis and keyword extraction; grammar inspection is used to check the grammatical errors of the text, sentiment analysis is to analyze the sentiment of the text, and keyword extraction is to extract keywords from the text; the sentiment score ES is obtained through sentiment analysis, and then the local sentiment of the current speech text is obtained according to the sentiment score value; the sentiment score calculation formula is ES = (EVS + EES + TFS) / TL, where EVS is the sum of the sentiment vocabulary scores, EES is the sentiment expression score, TFS is the text feature score, and TL is the text length; And the feedback module is used to feed back the detection results of the quality inspection module to the user to help the user improve the quality of speech.
2. The multi-language intelligent speech quality inspection system based on a large model according to claim 1 is characterized in that: It also includes a learning module; through learning, the capabilities of speech recognition and quality detection are continuously improved; the learning module also learns from user feedback received by the feedback module to improve the accuracy of recognition and detection.
3. The multi-language intelligent speech quality inspection system based on a large model according to claim 1 is characterized in that: The voice acquisition module uses voice signal processing technology, including voice signal acquisition, preprocessing and feature extraction. The acquisition obtains voice signals through a microphone or other voice input device. The preprocessing includes noise reduction and normalization operations. Feature extraction is to extract the characteristic parameters of the voice signal.
4. The multi-language intelligent speech quality inspection system based on a large model according to claim 1 is characterized in that: The speech recognition module uses deep learning technology to convert speech signals into text data, and these models need to be trained.
5. The multi-language intelligent speech quality inspection system based on a large model according to claim 1 is characterized in that: In the quality inspection module, the sum of the sentiment vocabulary scores is calculated based on the sentiment dictionary, the sentiment expression score is scored based on the sentiment expression in the text, and the text feature score is scored based on the contribution of the extracted text features to sentiment analysis.
6. The multi-language intelligent speech quality inspection system based on a large model according to claim 5 is characterized in that: The sum of the sentiment vocabulary scores is calculated as follows: EVS = Σ(sense value of vocabulary × vocabulary weight); wherein the sentiment value of vocabulary is a value given according to the sentiment polarity of each vocabulary in the sentiment dictionary, and the vocabulary weight is adjusted according to the importance of the vocabulary in the text.
7. The multi-language intelligent speech quality inspection system based on a large model according to claim 5 is characterized in that: The calculation method of the emotion expression mode score is, EES = Σ(emotion expression mode weight × emotion expression mode matching degree); wherein, the emotion expression mode weight is a value given according to the significance of different emotion expression modes, and the emotion expression mode matching degree refers to the degree of matching between the emotion expression mode in the text and the emotion expression mode defined in the emotion dictionary.
8. The multi-language intelligent speech quality inspection system based on a large model according to claim 5 is characterized in that: The text feature score is calculated as follows: TFS = Σ(feature importance × feature value); wherein feature importance is a value given according to the contribution of the text feature to sentiment analysis, and feature value is a feature value extracted from the text according to the feature extraction algorithm.
Citation Information
Cited By
Intelligent quality inspection method and system based on deep learning
CN119089153A
An intelligent quality inspection method and system based on deep learning
CN119089153B
Intelligent voice quality inspection method, system and device, storage medium and product
CN120412549A
