A method, device and terminal equipment for voice quality inspection

Extract voice and keyword features through the wav2vec2 model, calculate the similar feature matrix and input it into the probability judgment model, and directly conduct voice quality inspection, which solves the problem of large voice quality inspection errors in the existing technology and achieves high-accuracy voice quality inspection results. .

CN114051075BActive Publication Date: 2024-10-18ZHUOMUNIAO +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111265892.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-28
Publication Date
2024-10-18
Estimated Expiration
2041-10-28

AI Technical Summary

Technical Problem

Existing voice quality inspection methods require calling third-party speech conversion tools to analyze semantics, resulting in large errors in voice quality inspection results, and training your own speech-to-text model requires a lot of manpower and material investment.

Method used

The wav2vec2 model is used to extract features from speech and keywords to be inspected, calculate standard similarities to form a similar feature matrix, and judge the speech quality inspection results through a probability judgment model, avoiding the speech-to-text process and reducing errors.

Benefits of technology

It has achieved high-accuracy voice quality inspection, with a cross-language effect reaching 82% and a recall rate of 78%, and a single-language effect reaching 92.6% and an accuracy rate of 84.5%. As the number of manual rechecks with labels increases, the model effect will be further improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114051075B_ABST
    Figure CN114051075B_ABST
Patent Text Reader

Abstract

The present invention is applicable to the field of computer technology, and provides a speech quality inspection method, device and terminal equipment. The method includes obtaining the speech of the quality inspection object and the keywords to be inspected, and converting the keywords to be inspected into speech; extracting features of the speech of the quality inspection object and the converted keywords to be inspected, and obtaining speech features and keyword features; calculating the standard similarity with the speech features and keyword features and forming a similar feature matrix; range normalizing the similar feature matrix, and scaling the values ​​of the similar feature matrix to [‑1,1]; inputting the scaled similar feature matrix into a probability judgment model, and obtaining the probability that the probability judgment model outputs 1; and outputting the quality inspection result based on the speech of the quality inspection object according to the probability that the probability judgment model outputs 1. The present invention can avoid using a third-party speech conversion tool to analyze semantics, thereby reducing the error of the speech quality inspection result.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a voice quality inspection method, device and terminal equipment. Background Art

[0002] Voice quality inspection is usually used to detect whether customer service personnel use standard terms and whether the service is in place to meet customer needs. Accurate voice quality inspection results can automatically analyze, summarize, count and analyze service quality, thereby helping companies improve customer satisfaction and enhance customer experience. It also helps to understand customer feedback on products and marketing activities, realize customer behavior analysis, business hot spot analysis, and valuable information mining, thereby helping to optimize marketing and other functions.

[0003] Traditional speech quality inspection is usually done manually by quality inspectors. However, due to the huge amount of speech data and the low efficiency of traditional manual quality inspection, many machine learning and deep learning methods have emerged to analyze semantics to assist speech quality inspection. However, speech quality inspection methods combined with semantics are limited by technology and require a large amount of labeled data resources, or incur additional costs to call a third-party speech-to-text platform to translate your own speech. This approach is very costly and the translation effect of general translation platforms is often not ideal for specific scenarios. If you train your own speech-to-text model, you will need a large amount of translated data, which requires a lot of manpower and material resources. Summary of the invention

[0004] The main purpose of the present invention is to propose a speech quality inspection method to solve the problem that the speech quality inspection method in the prior art needs to call a third-party speech conversion tool to analyze semantics, which increases the error of the speech quality inspection result.

[0005] To achieve the above object, a first aspect of an embodiment of the present invention provides a speech quality inspection method, comprising:

[0006] Obtain the voice of the inspection object and the keywords to be inspected, and convert the keywords to be inspected into voice;

[0007] Extracting features from the speech of the inspection object and the converted keywords to be inspected to obtain speech features and keyword features;

[0008] Calculating standard similarity with the speech features and keyword features and forming a similarity feature matrix;

[0009] Range normalizing the similarity feature matrix, scaling the values ​​of the similarity feature matrix to [-1, 1];

[0010] Inputting the scaled similar feature matrix into the probability judgment model to obtain the probability that the probability judgment model outputs 1;

[0011] The probability output of the probability judgment model output being 1 is based on the quality inspection result of the speech of the quality inspection object.

[0012] In combination with the first aspect of the embodiment of the present invention, in the first embodiment of the present invention, the acquiring of the voice of the quality inspection object includes:

[0013] Get the original mixed speech of dual channels;

[0014] The quality inspection object speech is separated from the original mixed speech.

[0015] In combination with the first aspect of the embodiment of the present invention, in the second embodiment of the present invention, feature extraction is performed on the speech of the quality inspection object and the converted keywords to be inspected to obtain speech features and keyword features, including:

[0016] The wav2vec2 model is used to extract features from the speech of the quality inspection object and the converted keywords to be inspected, so as to obtain speech features and keyword features.

[0017] In combination with the first aspect of the embodiment of the present invention, in a third embodiment of the present invention, the standard similarity is calculated using the voice features and keyword features to form a similar feature matrix, including:

[0018] Set the speech feature to T = [t1, t2, ..., tn], set the keyword feature to Q = [q1, q2, ..., qm], where m and n represent the number of frames of Q and T features, and the dimension of each qm or tn is 768;

[0019] Calculate the standard similarity, the formula is:

[0020]

[0021] Where d represents the calculation of Q i Frame and T j The cosine similarity of the frames, k represents the dimension of the two vectors, S k 2 represents the sample standard deviation of the data in this dimension;

[0022] Construct the similarity feature matrix Z, the formula is:

[0023]

[0024] In combination with the third embodiment of the first aspect of the embodiments of the present invention, in the fourth embodiment of the present invention, the similarity feature matrix is ​​range-normalized, and the values ​​of the similarity feature matrix are scaled to [-1, 1]. The formula is:

[0025]

[0026] Among them, S minis the minimum value of the similarity feature matrix Z, S max is the maximum value of the similarity feature matrix Z.

[0027] In combination with the first aspect of the embodiment of the present invention, in a fifth embodiment of the present invention, before inputting the scaled similar feature matrix into the probability judgment model to obtain the probability that the probability judgment model output is 1, the method includes:

[0028] Construct and train a probability judgment model;

[0029] The constructing of the probability judgment model comprises:

[0030] Add batch normalization after each convolution in the VGG model and remove the max pooling layer;

[0031] Use the AvgPool function to perform global average pooling on each convolutional feature map, and the fully connected layer maps the dimension to (2,2);

[0032] Connect the normalized exponential function SoftMax layer to output the binary classification problem.

[0033] The training probability judgment model comprises:

[0034] Constructing a training set and a validation set, and inputting the training set and the validation set into the probability judgment model for training;

[0035] The training convolutional neural network prediction distribution is optimized using a cross entropy loss function, while the learning rate is monitored, wherein if the validation set does not improve within 200 batch files, the learning rate is reduced proportionally.

[0036] In combination with the first aspect of the embodiment of the present invention, in a sixth embodiment of the present invention, after inputting the scaled similar feature matrix into the probability judgment model and obtaining the probability that the probability judgment model outputs 1, the method further includes:

[0037] Obtaining error data of the probability judgment model and recording it in a feedback database;

[0038] Before inputting the next set of scaled similar feature matrices into the probability judgment model, obtaining data from the feedback database to train the probability judgment model and optimize parameters;

[0039] The probability judgment model after optimizing the parameters receives the next set of scaled similar feature matrices.

[0040] A second aspect of an embodiment of the present invention provides a speech quality inspection device, including:

[0041] The voice data acquisition module is used to acquire the voice of the inspection object and the keywords to be inspected, and convert the keywords to be inspected into voice;

[0042] A feature extraction module is used to extract features from the speech of the quality inspection object and the converted keywords to be inspected, so as to obtain speech features and keyword features;

[0043] A similar feature matrix acquisition module, used to calculate the standard similarity with the speech features and keyword features and form a similar feature matrix;

[0044] A normalization processing module, used for range normalization of the similarity feature matrix, scaling the values ​​of the similarity feature matrix to [-1, 1];

[0045] A probability acquisition module, used to input the scaled similar feature matrix into a probability judgment model to obtain the probability that the probability judgment model outputs 1;

[0046] The speech quality inspection module is used to output a quality inspection result based on the speech of the quality inspection object according to the probability that the probability judgment model output is 1.

[0047] The third aspect of an embodiment of the present invention provides a terminal device, including a memory, a processor, and a computer program stored in the above memory and executable on the above processor, and when the above processor executes the above computer program, the steps of the method provided in the first aspect are implemented.

[0048] A fourth aspect of an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method provided in the first aspect are implemented.

[0049] The embodiment of the present invention proposes a speech quality inspection method, which directly extracts features based on speech, and then calculates standard similarity based on the obtained features to obtain a similar feature matrix, and then uses the similar feature matrix to input a probability judgment model, and judges whether the speech of the quality inspection object conforms to the rules based on the output of the probability judgment model, thereby completing the speech quality inspection based on the quality inspection object, thereby avoiding the use of a third-party speech conversion tool to analyze semantics and reducing the error of the speech quality inspection result. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] Figure 1 A schematic diagram of the implementation flow of the voice quality inspection method provided by an embodiment of the present invention;

[0051] Figure 2 A schematic diagram of the composition structure of the probability judgment model provided by an embodiment of the present invention;

[0052] Figure 3 A schematic diagram of the structure of a speech quality inspection device provided in an embodiment of the present invention.

[0053] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0054] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0055] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0056] In this document, suffixes such as "module", "component" or "unit" used to represent elements are only used to facilitate the description of the present invention, and have no specific meanings. Therefore, "module" and "component" can be used interchangeably.

[0057] like Figure 1 As shown, an embodiment of the present invention provides a voice quality inspection method, which is applied to various environments where voice quality inspection of quality inspection objects is required. For example, in the home repair service provided by the online home repair platform, the communication between the maintenance engineer and the customer, and the customer service staff and the customer is usually recorded, so that the voice quality inspection of the quality inspection object, that is, the maintenance engineer and the customer service staff, is performed based on the communication record to prevent the maintenance engineer or the customer service staff from violating regulations, such as incorrect maintenance prices, signing orders with customers privately without following the platform process, etc.

[0058] Figure 1 The speech quality inspection method provided by the embodiment of the present invention includes but is not limited to the following steps:

[0059] S101, obtaining the speech of the inspection object and the keywords to be inspected, and converting the keywords to be inspected into speech.

[0060] In the above step S101, the voice of the quality inspection object is extracted from the stored communication record, wherein the communication record is a dual-channel voice file. Therefore, in the embodiment of the present invention, the voice of the quality inspection object can be directly separated therefrom.

[0061] That is, obtaining the voice of the inspection object in the above step S101 includes:

[0062] Get the original mixed speech of dual channels;

[0063] The quality inspection object speech is separated from the original mixed speech.

[0064] It is conceivable that after obtaining the original mixed speech of the dual channels, the original mixed speech is also processed to facilitate the separation of the speech of the quality inspection object. The processing content includes but is not limited to speaker separation, speech silence segment removal, noise reduction, data enhancement, data labeling, etc.

[0065] S102: extracting features from the speech of the inspection object and the converted keywords to be inspected to obtain speech features and keyword features.

[0066] In the above step S102, feature extraction is performed on the speech of the quality inspection object and the converted keywords to be inspected at the same time, achieving an end-to-end approach, so that the probability judgment model used in the following steps has higher accuracy and robustness.

[0067] In one embodiment, the feature extraction method may be:

[0068] The wav2vec2 model is used to extract features from the speech of the quality inspection object and the converted keywords to be inspected, so as to obtain speech features and keyword features.

[0069] Among them, the wav2vec2 model is a trained feature extraction model. In the first stage of its model training, the wav2vec2 pre-trained model is trained to obtain the wav2vec2 training model. For example, nearly 500 hours of quality inspection object speech is unsupervisedly trained to capture speech features, wherein the quality inspection object speech is unlabeled audio data; during the second stage of model training, the wav2vec2 training model saved in the first stage will be used to train the labeled quality inspection speech. During training, the model with the optimal balanced average F1-score will be automatically saved as the wav2vec2 model, wherein the balanced average F1-score will maximize the accuracy and recall rate while making the difference between the two as small as possible.

[0070] In the above process, a large amount of unlabeled speech of the inspection object is used as data to assist the model in capturing speech features in an unsupervised manner, and the converted keywords and keyword features to be inspected are labeled data. In the training of the probability judgment model used below, a small amount of labeled data can be used to implement training, so that the output of the probability judgment model can achieve higher accuracy.

[0071] S103: Calculate standard similarity using the voice features and keyword features and form a similarity feature matrix.

[0072] S104 , range normalize the similarity feature matrix, and scale the values ​​of the similarity feature matrix to [-1, 1].

[0073] In the embodiment of the present invention, the standard similarity calculation and the similarity feature matrix formed in the above step S103 are actually to convert the speech features and keyword features into a single channel feature map for processing, and the detailed implementation method is as follows:

[0074] Set the speech feature to T = [t1, t2, ..., tn], set the keyword feature to Q = [q1, q2, ..., qm], where m and n represent the number of frames of Q and T features, and the dimension of each qm or tn is 768;

[0075] Calculate the standard similarity, the formula is:

[0076]

[0077] Where d represents the calculation of Q i Frame and T j The cosine similarity of the frames, k represents the dimension of the two vectors, S k Indicates the sample standard deviation of the dimension data;

[0078] Construct the similarity feature matrix Z, the formula is:

[0079]

[0080] In step S104, the similarity feature matrix is ​​range-normalized to scale the values ​​of the similarity feature matrix to [-1, 1], and the formula is:

[0081]

[0082] Among them, S min is the minimum value of the similarity feature matrix Z, S max is the maximum value of the similarity feature matrix Z.

[0083] S105 , inputting the scaled similar feature matrix into a probability judgment model to obtain the probability that the probability judgment model outputs 1.

[0084] In the above step S105, the probability judgment model is constructed by an embodiment of the present invention, and is a model for making confidence judgments on the values ​​output by the similarity feature matrix. Combined with the above steps S103 and S104, the probability judgment model of the above step S105 processes the similarity feature matrix as a single-channel image.

[0085] Therefore, in one embodiment, before the above step S105, a probability judgment model is also constructed and trained, including the following steps:

[0086] The constructing of the probability judgment model comprises:

[0087] Add batch normalization after each convolution of the VGG (Visual Geometry Group, 2D object recognition) model and remove the max pooling layer;

[0088] Use the AvgPool function to perform global average pooling on each convolutional feature map, and the fully connected layer maps the dimension to (2,2);

[0089] Connect the normalized exponential function SoftMax layer to output the binary classification problem.

[0090] The training probability judgment model comprises:

[0091] Constructing a training set and a validation set, and inputting the training set and the validation set into the probability judgment model for training;

[0092] The training convolutional neural network prediction distribution is optimized using a cross entropy loss function, while the learning rate is monitored, wherein if the validation set does not improve within 200 batch files, the learning rate is reduced proportionally.

[0093] S106: Outputting a quality inspection result based on the speech of the quality inspection object according to the probability that the probability judgment model outputs a 1.

[0094] In the above step S106, the probability that the probability judgment model outputs 1 indicates the probability that there is a problem with the staff providing the voice of the quality inspection object. The greater the probability that the probability judgment model outputs 1, the more likely it is that the result of this voice quality inspection will fail, and further manual review is required to assist decision-making.

[0095] For example, if the probability that the probability judgment model outputs 1 exceeds 10%, the result of this speech quality inspection fails, and the quality inspector is notified to conduct manual re-inspection and make a decision.

[0096] In one embodiment, after the above step S106, the probability judgment model used can also be optimized according to the manual review content, including:

[0097] Obtaining error data of the probability judgment model and recording it in a feedback database;

[0098] Before inputting the next set of scaled similar feature matrices into the probability judgment model, obtaining data from the feedback database to train the probability judgment model and optimize parameters;

[0099] The probability judgment model after optimizing the parameters receives the next set of scaled similar feature matrices.

[0100] Among them, the above-mentioned erroneous data is obtained based on manual review content.

[0101] Through the above steps S101 to S106, the method based on the wav2vec2 model, similar feature matrix, and probability judgment model avoids the semantic recognition process of translating speech into text, thereby avoiding the error caused by this step to a great extent, and achieves an accuracy rate of 82% and a recall rate of 78% in a public multi-language data set, proving the cross-language effect of the method, so it can fully meet the use requirements for various Chinese dialects; in the single-language Chinese data set experiment, the model used in the above steps can achieve an accuracy rate of 92.6% and a recall rate of 84.5% under an unbalanced and limited data set, and as the number of manual re-inspections with labels gradually increases, the model will be further improved.

[0102] like Figure 2 As shown, the embodiment of the present invention also shows the structure of the probability judgment model, whose input is the feature extraction result output by the wav2vec2 model after the quality inspection object voice and the converted quality inspection keywords are input into the wav2vec2 model, that is, the normalized similarity feature matrix. Figure 2 In the figure, it is recorded as feature matrix; in the figure, Conv2D(64,(3,3))-BatchNormal, Conv2D(128,(3,3))-BatchNormal, Conv2D(128,(3,3))-BatchNormal, Conv2D(256,(3,3))-BatchNormal, AvgPool2d(2), Fallten, Linear and SoftMax() are the structures of the probability judgment model. BatchNormal represents the batch normalization after each convolution of the VGG (Visual Geometry Group, two-dimensional object recognition) model; AvgPool2d(2) represents that the fully connected layer maps the dimension to (2,2), and uses the AvgPool function to perform global average pooling on the feature map after each convolution; Fallten and Linear are the structures of the VGG model; SoftMax() represents the final connection normalization exponential function SoftMax layer for the output of the two-classification problem.

[0103] like Figure 3 As shown, the embodiment of the present invention further provides a speech quality inspection device 30, comprising:

[0104] The voice data acquisition module 31 is used to acquire the voice of the inspection object and the keywords to be inspected, and convert the keywords to be inspected into voice;

[0105] A feature extraction module 32 is used to extract features from the speech of the inspection object and the converted keywords to be inspected, so as to obtain speech features and keyword features;

[0106] A similar feature matrix acquisition module 33, used to calculate the standard similarity with the speech features and keyword features and form a similar feature matrix;

[0107] A normalization processing module 34 is used to range normalize the similarity feature matrix and scale the values ​​of the similarity feature matrix to [-1, 1];

[0108] A probability acquisition module 35 is used to input the scaled similar feature matrix into a probability judgment model to obtain the probability that the probability judgment model outputs 1;

[0109] The speech quality inspection module 36 is used to output a quality inspection result based on the speech of the quality inspection object according to the probability that the probability judgment model output is 1.

[0110] An embodiment of the present invention further provides a terminal device including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, each step of the voice quality inspection method described in the above embodiment is implemented.

[0111] An embodiment of the present invention further provides a storage medium, which is a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, each step in the speech quality inspection method described in the above embodiment is implemented.

[0112] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the foregoing embodiments describe the present invention in detail, those skilled in the art should understand that they can still modify the technical solutions described in the foregoing embodiments, or replace some of the technical features therein by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included in the protection scope of the present invention.

Claims

1. A voice quality inspection method, It is characterized in that include: Obtain the voice of the inspection object and the keywords to be inspected, and convert the keywords to be inspected into voice; Extracting features from the speech of the inspection object and the converted keywords to be inspected to obtain speech features and keyword features; Calculating standard similarity with the speech features and keyword features and forming a similarity feature matrix; Range normalizing the similarity feature matrix, scaling the values ​​of the similarity feature matrix to [-1, 1]; Inputting the scaled similar feature matrix into the probability judgment model to obtain the probability that the probability judgment model outputs 1; Outputting a quality inspection result based on the speech of the quality inspection object according to the probability that the probability judgment model output is 1; The standard similarity is calculated using the voice features and keyword features to form a similarity feature matrix, including: Set the speech feature to T = [t1, t2, ..., tn], set the keyword feature to Q = [q1, q2, ..., qm], where m and n represent the number of frames of Q and T features, and the dimension of each qm or tn is 768; Calculate the standard similarity, the formula is: Where d represents the calculation of Q i Frame and T j The cosine similarity of the frames, k represents the dimension of the two vectors, Indicates the sample standard deviation of the dimension data; Construct the similarity feature matrix Z, the formula is: The similarity feature matrix is ​​range normalized, and the values ​​of the similarity feature matrix are scaled to [-1, 1]. The formula is: Among them, S min is the minimum value of the similarity feature matrix Z, S max is the maximum value of the similarity feature matrix Z.

2. The speech quality inspection method according to claim 1, It is characterized in that The obtaining of the voice of the quality inspection object includes: Get the original mixed speech of dual channels; The quality inspection object speech is separated from the original mixed speech.

3. The speech quality inspection method according to claim 1, It is characterized in that Feature extraction is performed on the speech of the inspection object and the converted keywords to be inspected to obtain speech features and keyword features, including: The wav2vec2 model is used to extract features from the speech of the quality inspection object and the converted keywords to be inspected, so as to obtain speech features and keyword features.

4. The speech quality inspection method according to claim 1, It is characterized in that Before inputting the scaled similar feature matrix into the probability judgment model to obtain the probability that the probability judgment model outputs 1, the method includes: Construct and train a probability judgment model; The constructing of the probability judgment model comprises: Add batch normalization after each convolution in the VGG model and remove the max pooling layer; Use AvgPool2d(2) of the AvgPool function to perform global average pooling on each convolutional feature map; Connect the normalized exponential function SoftMax layer to output the binary classification problem; The training probability judgment model includes: Constructing a training set and a validation set, and inputting the training set and the validation set into the probability judgment model for training; The predictive distribution of the trained convolutional neural network is optimized using the cross entropy loss function, while the learning rate is monitored, where if the validation set does not improve within 200 batch files, the learning rate is reduced proportionally.

5. The speech quality inspection method according to claim 1, It is characterized in that After inputting the scaled similar feature matrix into the probability judgment model and obtaining the probability that the probability judgment model outputs 1, the method further includes: Obtaining error data of the probability judgment model and recording it in a feedback database; Before inputting the next set of scaled similar feature matrices into the probability judgment model, obtaining data from the feedback database to train the probability judgment model and optimize parameters; The probability judgment model after optimizing the parameters receives the next set of scaled similar feature matrices.

6. A voice quality inspection device, It is characterized in that include: The voice data acquisition module is used to acquire the voice of the inspection object and the keywords to be inspected, and convert the keywords to be inspected into voice; A feature extraction module is used to extract features from the speech of the quality inspection object and the converted keywords to be inspected, so as to obtain speech features and keyword features; resemblance A feature matrix acquisition module, used to calculate the standard similarity with the speech features and keyword features and form a similar feature matrix; A normalization processing module, used for range normalization of the similarity feature matrix, scaling the values ​​of the similarity feature matrix to [-1, 1]; A probability acquisition module, used to input the scaled similar feature matrix into a probability judgment model to obtain the probability that the probability judgment model outputs 1; A speech quality inspection module, configured to output a quality inspection result based on the speech of the quality inspection object according to the probability that the probability judgment model output is 1; The standard similarity is calculated using the voice features and keyword features to form a similarity feature matrix, including: Set the speech feature to T = [t1, t2, ..., tn], set the keyword feature to Q = [q1, q2, ..., qm], where m and n represent the number of frames of Q and T features, and the dimension of each qm or tn is 768; Calculate the standard similarity, the formula is: Where d represents the calculation of Q i Frame and T j The cosine similarity of the frames, k represents the dimension of the two vectors, Indicates the sample standard deviation of the dimension data; Construct the similarity feature matrix Z, the formula is: The similarity feature matrix is ​​range normalized, and the values ​​of the similarity feature matrix are scaled to [-1, 1]. The formula is: Among them, S min is the minimum value of the similarity feature matrix Z, S max is the maximum value of the similarity feature matrix Z.

7. A terminal device, It is characterized in that The method comprises a memory, a processor and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, each step in the speech quality inspection method according to any one of claims 1 to 5 is implemented.

8. A storage medium, the storage medium being a computer-readable storage medium, on which a computer program is stored, It is characterized in that When the computer program is executed by a processor, each step in the speech quality inspection method according to any one of claims 1 to 5 is implemented.

Citation Information

Patent Citations

  • Detection method and system for voice keyword

    CN110827806A

  • Voice keyword retrieval method and system, and electronic device

    CN113192535A