Power intelligent interaction method and system based on improved speech recognition
By using the Transformer model and knowledge graph in the human-computer interaction of the power grid, combined with the user voiceprint library and the BERT model, the problem of inaccurate voice interaction in the human-computer interaction of the power grid is solved, the interaction experience and accuracy are improved, and personalized voice is realized Recognition and efficient interaction.
Patent Information
- Application Number
- CN202410432051.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-11
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2044-04-11
AI Technical Summary
Existing voice interaction technology cannot accurately obtain user input data in human-computer interaction in the power grid, resulting in low interaction accuracy and affecting user experience and work efficiency.
An end-to-end speech recognition model based on Transformer is adopted, combined with the user voiceprint database and knowledge graph, and personalized training and natural language processing are performed through beam search and BERT model to improve the accuracy of speech recognition and interactive experience.
It achieves personalized speech recognition, improves recognition accuracy and user experience, and enhances interaction accuracy and answer accuracy in multi-user scenarios.
Smart Images

Figure CN118038869B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of artificial intelligence interaction, and in particular to an electric power intelligent interaction method and system based on improved speech recognition. Background Art
[0002] The human-computer interaction terminal of the power grid is crucial to the development of the power grid. With the continuous expansion of the scale of the power system and the improvement of the level of intelligence, the interactive technology continues to develop, but the existing voice interaction cannot accurately obtain the user's input data. Therefore, when the user interacts with information, he will naturally feel that it does not meet his expectations, or the interaction is not accurate enough, which leads to the problem of low interaction accuracy. Summary of the invention
[0003] In order to solve the above problems, the purpose of the present invention is to provide an electric power intelligent interaction method and system based on improved voice recognition, which can provide a personalized, highly accurate and intelligent interactive experience, and improve user experience and work efficiency.
[0004] To achieve the above object, the present invention adopts the following technical solutions:
[0005] An electric power intelligent interaction method based on improved speech recognition comprises the following steps:
[0006] Step S1: Collect relevant data and knowledge in the power field, establish associations between entities, and construct a knowledge graph in the power field, including entities, attributes, and relationships;
[0007] Step S2: Obtain user voice data and build a user voiceprint library;
[0008] Step S3: Build an end-to-end speech recognition model based on Transformer, and use the data in the user voiceprint library to perform personalized training on the model;
[0009] Step S4: The user inputs speech through the user terminal, performs speech recognition based on the personalized trained speech recognition model, and uses the beam search method to decode the probability distribution output by the speech recognition model to obtain the final text result;
[0010] Step S5: Perform natural language processing on the final text results, including word segmentation, part-of-speech tagging, and entity recognition, to convert the question into a form that can be understood by a computer;
[0011] Step S6: Through the BERT model, the question is represented as a semantic vector, and the semantic vector of the question is mapped to the entities, attributes and relationships in the knowledge graph to form a semantic representation of the query knowledge graph, and answer the questions raised by the user based on the information in the knowledge graph.
[0012] Furthermore, the step S1 is specifically as follows:
[0013] Step S11: Collect various data sources from the power industry, clean, integrate and annotate the data, and extract the attribute information of the entity;
[0014] Step S12: Use the decision tree algorithm to establish a relationship model between entities, and build a tree structure based on the importance and relevance of features, including hierarchical relationships, association relationships, and dependency relationships, to form a complete knowledge graph network.
[0015] Furthermore, the step S12 is specifically as follows:
[0016] (1) Entity attributes are used as features, and the relationship between entities is used as the target label;
[0017] (2) Calculate the information gain of each feature, select the feature with the largest information gain as the basis for node division, calculate the information gain of each feature for the training data set, and select the feature with the largest information gain as the basis for division;
[0018] ;
[0019] ;
[0020] in, is information gain, S is the training data set, A is the feature, is the data set corresponding to feature A; is a subset corresponding to a value v of feature A, and They are S and The entropy of ; c is the number of categories; is the probability of the i-th category appearing in the data set S; where, ;
[0021] (3) Use the selected features as the basis for division and construct a decision tree model. By constructing the decision tree model, a relationship model between entities is established based on the importance and relevance of the features to obtain the hierarchical relationship, association relationship, and dependency relationship between entities.
[0022] Furthermore, the step S2 is specifically as follows:
[0023] Step S21: collecting voice signals from different users, including voice commands and phrases;
[0024] Step S22: pre-processing the collected sound signal, including denoising and downsampling processing;
[0025] Step S23: using Mel-frequency cepstral coefficients to convert the sound signal into a spectrogram;
[0026] Step S24: extracting a voiceprint feature vector from the spectrum graph using a voiceprint feature extraction algorithm;
[0027] Step S25: Store the voiceprint feature vector of each user in a voiceprint database to establish a user voiceprint database.
[0028] Furthermore, the step S23 is specifically as follows:
[0029] (1) Pre-emphasize the pre-processed sound signal through a first-order high-pass filter and divide the sound signal into several frames;
[0030] ;
[0031] ;
[0032] in, is the time domain waveform of the preprocessed sound signal, indicating the amplitude value of the sound signal at time point n; is the pre-emphasis coefficient; represents the sound signal after pre-emphasis processing; m is the index of the frame, indicating one of the multiple frames into which the sound signal is divided; n represents the time point; is frame shift; Represents the sound signal of the mth frame at time point n;
[0033] (2) Apply a Hamming window to each frame to reduce spectral leakage;
[0034] (3) Perform fast Fourier transform on each frame of signal to convert the time domain signal into a frequency domain signal;
[0035] (4) Map the spectrum graph to the Mel frequency domain through a set of A Mel filter calculates the energy of each frequency band;
[0036] ;
[0037] in, is the signal after Fourier transformation, which represents the complex amplitude of the kth frequency component of the mth frame; is the signal processed by the Mel filter bank, indicating the mth frame The energy in the Mel frequency domain; is the frequency response of the kth frequency component of the ath filter in the Mel filter bank; a represents the ath filter in the Mel filter bank; Represents the absolute value operator; 1≤ ≤ , 1≤a≤ ;
[0038] (5) Take the logarithm of the energy in the Mel frequency domain, apply discrete cosine transform to the energy after taking the logarithm, and obtain the MFCC coefficients;
[0039] ;
[0040] ;
[0041] in, is the logarithmically compressed signal, j represents the jth Mel-frequency cepstrum coefficient; is the number of extracted MFCC coefficients; is the MFCC coefficient, indicating the mth frame Mel-frequency cepstral coefficients; J is the number of Mel-frequency cepstral coefficients;
[0042] The MFCC coefficients are represented as the spectrum of the sound signal.
[0043] Furthermore, the step S3 is specifically as follows:
[0044] Step S31: Obtain a sound signal dataset, including speech samples and corresponding text annotations, and convert them into MFCC coefficients as input for the Transformer model;
[0045] Use CTC loss function for pre-training and optimize model parameters;
[0046] Step S32: Based on the user voiceprint library, a unique identifier is assigned to each user, represented by a one-hot encoding vector, and the user identifier is input into the Transformer model as an additional input feature together with the voice data;
[0047] Step S33: Based on the pre-trained Transformer model, the user identifier is introduced into the model and trained together with the voice features. The model parameters are adjusted so that it can better adapt to the voice features of each user, thereby obtaining the final speech recognition model;
[0048]
[0049] in, are the model parameters after personalized training; are the parameters after model pre-training; N is the number of users in the user voiceprint database; L() is the loss function; The model's sound signal to the user Output: For users .
[0050] Furthermore, the beam search method is used to decode the probability distribution output by the speech recognition model to obtain the final text result, which is specifically:
[0051] (1) At the initial time t=0, several initial candidate results are selected as the initial search state.
[0052] (2) Step by step, traverse the time step t, expand the candidate results according to the probability distribution P(word|audio) output by the speech recognition model, and retain the G results with the highest probability;
[0053] (3) At each time step, the probability scores of the new candidate results are calculated based on the probability distribution and the existing candidate results, and the G results with the highest probability are selected;
[0054] (4) When the maximum time step is reached or the stopping condition is met, the result with the highest final probability is selected as the final text result.
[0055] Further, step S6 is specifically:
[0056] Let the question text be represented as Q text , the semantic representation Q of the question is generated through the BERT model:
[0057]
[0058] in, represents the encoder part of the BERT model, Characteristic markers representing sentences;
[0059] The question semantic vector is mapped to the knowledge graph element through similarity calculation to obtain the query semantic representation:
[0060] ;
[0061] in, For query semantic representation, E, , R are the collections of entities, attributes and relations in the knowledge graph respectively; e, , r are elements of entity, attribute and relationship respectively; for similarity;
[0062] Use the information in the knowledge graph, combined with the query semantic representation, to answer questions raised by users.
[0063] A power intelligent interaction system based on improved speech recognition comprises a processor, a memory and a computer program stored in the memory. When the processor executes the computer program, the steps in the power intelligent interaction method based on improved speech recognition are specifically performed.
[0064] The present invention has the following beneficial effects:
[0065] 1. The present invention realizes personalized voice recognition by constructing a user voiceprint library and performing personalized training on the voice recognition model, thereby improving recognition accuracy and user experience, and improving the accuracy and user experience of the voice recognition system in multi-user scenarios;
[0066] 2. The present invention uses Mel frequency cepstral coefficients to convert sound signals into spectrograms, and extracts voiceprint feature vectors from the spectrograms through a voiceprint feature extraction algorithm. The voiceprint feature vectors can be effectively extracted from the spectrograms, providing an accurate and efficient voiceprint feature representation for the voiceprint recognition system, thereby achieving accurate voiceprint recognition and personalized voiceprint recognition tasks;
[0067] 3. The present invention performs semantic analysis based on the text results obtained by speech recognition, and combines the knowledge graph and semantic model to answer user questions, effectively improving the accuracy of the answers. BRIEF DESCRIPTION OF THE DRAWINGS
[0068] Figure 1 The figure is a flow chart of the method of the present invention. DETAILED DESCRIPTION
[0069] The present invention is further described in detail below with reference to the accompanying drawings and specific embodiments:
[0070] refer to Figure 1 In this embodiment, a power intelligent interaction method based on improved speech recognition includes the following steps:
[0071] Step S1: Collect relevant data and knowledge in the power field, establish associations between entities, and construct a knowledge graph in the power field, including entities, attributes, and relationships;
[0072] Step S2: Obtain user voice data and build a user voiceprint library;
[0073] Step S3: Build an end-to-end speech recognition model based on Transformer, and use the data in the user voiceprint library to perform personalized training on the model;
[0074] Step S4: The user inputs speech through the user terminal, performs speech recognition based on the personalized trained speech recognition model, and uses the beam search method to decode the probability distribution output by the speech recognition model to obtain the final text result;
[0075] Step S5: Perform natural language processing on the final text results, including word segmentation, part-of-speech tagging, and entity recognition, to convert the question into a form that can be understood by a computer;
[0076] Step S6: Through the BERT model, the question is represented as a semantic vector, and the semantic vector of the question is mapped to the entities, attributes and relationships in the knowledge graph to form a semantic representation of the query knowledge graph, and answer the questions raised by the user based on the information in the knowledge graph.
[0077] In this embodiment, step S1 is specifically as follows:
[0078] Step S11: Collect various data sources from the power industry, clean, integrate and annotate the data, and extract the attribute information of the entity;
[0079] Step S12: Use the decision tree algorithm to establish a relationship model between entities, and build a tree structure based on the importance and relevance of features, including hierarchical relationships, association relationships, and dependency relationships, to form a complete knowledge graph network.
[0080] In this embodiment, step S12 is specifically as follows:
[0081] (1) Entity attributes are used as features, and the relationship between entities is used as the target label;
[0082] (2) Calculate the information gain of each feature, select the feature with the largest information gain as the basis for node division, calculate the information gain of each feature for the training data set, and select the feature with the largest information gain as the basis for division;
[0083] ;
[0084] ;
[0085] in, is information gain, S is the training data set, A is the feature, is the data set corresponding to feature A; is a subset corresponding to a value v of feature A, and They are S and The entropy of ; c is the number of categories; is the probability of the i-th category appearing in the data set S; where, ;
[0086] (3) Use the selected features as the basis for division and construct a decision tree model. By constructing the decision tree model, a relationship model between entities is established based on the importance and relevance of the features to obtain the hierarchical relationship, association relationship, and dependency relationship between entities.
[0087] In this embodiment, step S2 is specifically as follows:
[0088] Step S21: collecting voice signals from different users, including voice commands and phrases;
[0089] Step S22: pre-processing the collected sound signal, including denoising and downsampling processing;
[0090] Step S23: using Mel-frequency cepstral coefficients to convert the sound signal into a spectrogram;
[0091] Step S24: extracting a voiceprint feature vector from the spectrum graph using a voiceprint feature extraction algorithm;
[0092] Step S25: Store the voiceprint feature vector of each user in a voiceprint database to establish a user voiceprint database.
[0093] In this embodiment, step S23 is specifically as follows:
[0094] (1) Pre-emphasize the pre-processed sound signal through a first-order high-pass filter and divide the sound signal into several frames;
[0095] ;
[0096] ;
[0097] in, is the time domain waveform of the preprocessed sound signal, indicating the amplitude value of the sound signal at time point n; is the pre-emphasis coefficient; represents the sound signal after pre-emphasis processing; m is the index of the frame, indicating one of the multiple frames into which the sound signal is divided; n represents the time point; is frame shift; Represents the sound signal of the mth frame at time point n;
[0098] (2) Apply a Hamming window to each frame to reduce spectral leakage;
[0099] (3) Perform fast Fourier transform on each frame of signal to convert the time domain signal into a frequency domain signal;
[0100] (4) Map the spectrum graph to the Mel frequency domain through a set of A Mel filter calculates the energy of each frequency band;
[0101] ;
[0102] in, is the signal after Fourier transformation, which represents the complex amplitude of the kth frequency component of the mth frame; is the signal processed by the Mel filter bank, indicating the mth frame The energy in the Mel frequency domain; is the frequency response of the kth frequency component of the ath filter in the Mel filter bank; a represents the ath filter in the Mel filter bank; Represents the absolute value operator; 1≤ ≤ , 1≤a≤ ;
[0103] (5) Take the logarithm of the energy in the Mel frequency domain, apply discrete cosine transform to the energy after taking the logarithm, and obtain the MFCC coefficients;
[0104] ;
[0105] ;
[0106] in, is the logarithmically compressed signal, j represents the jth Mel-frequency cepstrum coefficient; is the number of extracted MFCC coefficients; is the MFCC coefficient, indicating the mth frame Mel-frequency cepstral coefficients; J is the number of Mel-frequency cepstral coefficients;
[0107] The MFCC coefficients are represented as the spectrum of the sound signal.
[0108] In this embodiment, step S3 is specifically as follows:
[0109] Step S31: Obtain a sound signal dataset, including speech samples and corresponding text annotations, and convert them into MFCC coefficients as input for the Transformer model;
[0110] Use CTC loss function for pre-training and optimize model parameters;
[0111] Step S32: Based on the user voiceprint library, a unique identifier is assigned to each user, represented by a one-hot encoding vector, and the user identifier is input into the Transformer model as an additional input feature together with the voice data;
[0112] Step S33: Based on the pre-trained Transformer model, the user identifier is introduced into the model and trained together with the voice features. The model parameters are adjusted so that it can better adapt to the voice features of each user, thereby obtaining the final speech recognition model;
[0113]
[0114] in, are the model parameters after personalized training; are the parameters after model pre-training; N is the number of users in the user voiceprint database; L() is the loss function; The model's sound signal to the user Output: For users .
[0115] In this embodiment, the probability distribution output by the speech recognition model is decoded using a beam search method to obtain the final text result, which is specifically:
[0116] (1) At the initial time t=0, several initial candidate results are selected as the initial search state.
[0117] (2) Step by step, traverse the time step t, expand the candidate results according to the probability distribution P(word|audio) output by the speech recognition model, and retain the G results with the highest probability;
[0118] (3) At each time step, the probability scores of the new candidate results are calculated based on the probability distribution and the existing candidate results, and the G results with the highest probability are selected;
[0119] (4) When the maximum time step is reached or the stopping condition is met, the result with the highest final probability is selected as the final text result.
[0120] In this embodiment, step S6 is specifically as follows:
[0121] Let the question text be represented as Q text , the semantic representation Q of the question is generated through the BERT model:
[0122]
[0123] in, represents the encoder part of the BERT model, Characteristic markers representing sentences;
[0124] The question semantic vector is mapped to the knowledge graph element through similarity calculation to obtain the query semantic representation:
[0125] ;
[0126] in, For query semantic representation, E, , R are the collections of entities, attributes and relations in the knowledge graph respectively; e, , r are elements of entity, attribute and relationship respectively; for similarity;
[0127] Use the information in the knowledge graph, combined with the query semantic representation, to answer questions raised by users.
[0128] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0129] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0130] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0131] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0132] The above is only a preferred embodiment of the present invention, and does not limit the present invention in other forms. Any technician familiar with the profession may use the above disclosed technical content to change or modify it into an equivalent embodiment with equivalent changes. However, any simple modification, equivalent change and modification made to the above embodiment according to the technical essence of the present invention without departing from the technical solution of the present invention still belongs to the protection scope of the technical solution of the present invention.
Claims
1. The power intelligent interaction method based on improved speech recognition is characterized by: The following steps are involved: Step S1: Collect relevant data and knowledge in the power field, establish associations between entities, and construct a knowledge graph in the power field, including entities, attributes, and relationships; Step S2: Obtain user voice data and build a user voiceprint library; Step S3: Build an end-to-end speech recognition model based on Transformer, and use the data in the user voiceprint library to perform personalized training on the model; Step S4: The user inputs speech through the user terminal, performs speech recognition based on the personalized trained speech recognition model, and uses the beam search method to decode the probability distribution output by the speech recognition model to obtain the final text result; Step S5: Perform natural language processing on the final text results, including word segmentation, part-of-speech tagging, and entity recognition, to convert the question into a form that can be understood by a computer; Step S6: The question is represented as a semantic vector through the BERT model, and the semantic vector of the question is mapped to the entities, attributes and relationships in the knowledge graph to form a semantic representation of the query knowledge graph, and the question raised by the user is answered based on the information in the knowledge graph; The step S1 is specifically as follows: Step S11: Collect various data sources from the power industry, clean, integrate and annotate the data, and extract the attribute information of the entity; Step S12: Use the decision tree algorithm to establish a relationship model between entities, and construct a tree structure based on the importance and relevance of features, including hierarchical relationships, association relationships, and dependency relationships, to form a complete knowledge graph network; The step S12 is specifically as follows: (1) Entity attributes are used as features, and the relationship between entities is used as the target label; (2) Calculate the information gain of each feature, select the feature with the largest information gain as the basis for node division, calculate the information gain of each feature for the training data set, and select the feature with the largest information gain as the basis for division; ; ; in, is information gain, S is the training data set, A is the feature, is the data set corresponding to feature A; is a subset corresponding to a value v of feature A, and They are S and The entropy of ; c is the number of categories; is the probability of the i-th category appearing in the data set S; where, ; Use the selected features as the basis for division, build a decision tree model, and through building the decision tree model, establish a relationship model between entities based on the importance and relevance of the features, and obtain the hierarchical relationship, association relationship and dependency relationship between entities; The step S2 is specifically as follows: Step S21: collecting voice signals from different users, including voice commands and phrases; Step S22: pre-processing the collected sound signal, including denoising and downsampling processing; Step S23: using Mel-frequency cepstral coefficients to convert the sound signal into a spectrogram; Step S24: extracting a voiceprint feature vector from the spectrum graph using a voiceprint feature extraction algorithm; Step S25: storing the voiceprint feature vector of each user in a voiceprint database to establish a user voiceprint database; The step S23 is specifically as follows: (1) Pre-emphasize the pre-processed sound signal through a first-order high-pass filter and divide the sound signal into several frames; ; ; in, is the time domain waveform of the preprocessed sound signal, indicating the amplitude value of the sound signal at time point n; is the pre-emphasis coefficient; represents the sound signal after pre-emphasis processing; m is the index of the frame, indicating one of the multiple frames into which the sound signal is divided; n represents the time point; is frame shift; Represents the sound signal of the mth frame at time point n; (2) Apply a Hamming window to each frame to reduce spectral leakage; (3) Perform fast Fourier transform on each frame of signal to convert the time domain signal into a frequency domain signal; (4) Map the spectrum graph to the Mel frequency domain through a set of A Mel filter calculates the energy of each frequency band; ; in, is the signal after Fourier transformation, which represents the complex amplitude of the kth frequency component of the mth frame; is the signal processed by the Mel filter bank, indicating the mth frame The energy in the Mel frequency domain; is the frequency response of the kth frequency component of the ath filter in the Mel filter bank; a represents the ath filter in the Mel filter bank; Represents the absolute value operator; 1≤ ≤ , 1≤a≤ ; (5) Take the logarithm of the energy in the Mel frequency domain, apply discrete cosine transform to the energy after taking the logarithm, and obtain the MFCC coefficients; ; ; in, is the logarithmically compressed signal, j represents the jth Mel-frequency cepstrum coefficient; is the number of extracted MFCC coefficients; is the MFCC coefficient, indicating the mth frame Mel-frequency cepstral coefficients; J is the number of Mel-frequency cepstral coefficients; And the MFCC coefficients are used as the spectrum diagram of the sound signal; The step S3 is specifically as follows: Step S31: Obtain a sound signal dataset, including speech samples and corresponding text annotations, and convert them into MFCC coefficients as input for the Transformer model; Use CTC loss function for pre-training and optimize model parameters; Step S32: Based on the user voiceprint library, a unique identifier is assigned to each user, represented by a one-hot encoding vector, and the user identifier is input into the Transformer model as an additional input feature together with the voice data; Step S33: Based on the pre-trained Transformer model, the user identifier is introduced into the model and trained together with the voice features. The model parameters are adjusted so that it can better adapt to the voice features of each user, thereby obtaining the final speech recognition model; ; in, are the model parameters after personalized training; are the parameters after model pre-training; N is the number of users in the user voiceprint database; L() is the loss function; The model's sound signal to the user Output: For users .
2. The electric power intelligent interaction method based on improved speech recognition according to claim 1, characterized in that: The beam search method is used to decode the probability distribution output by the speech recognition model to obtain the final text result, which is specifically: (1) At the initial time t=0, several initial candidate results are selected as the initial search state; (2) Step by step, traverse the time step t, expand the candidate results according to the probability distribution P(word|audio) output by the speech recognition model, and retain the G results with the highest probability; (3) At each time step, the probability scores of the new candidate results are calculated based on the probability distribution and the existing candidate results, and the G results with the highest probability are selected; (4) When the maximum time step is reached or the stopping condition is met, the result with the highest final probability is selected as the final text result.
3. The electric power intelligent interaction method based on improved speech recognition according to claim 1, characterized in that: The step S6 is specifically: Let the question text be represented as Q text , the semantic representation Q of the question is generated through the BERT model: in, represents the encoder part of the BERT model, Characteristic markers representing sentences; The question semantic vector is mapped to the knowledge graph element through similarity calculation to obtain the query semantic representation: ; in, For query semantic representation, E, , R are the collections of entities, attributes and relations in the knowledge graph respectively; e, , r are elements of entity, attribute and relationship respectively; for similarity; Use the information in the knowledge graph, combined with the query semantic representation, to answer questions raised by users.
4. An electric power intelligent interactive system based on improved speech recognition, characterized in that: The method comprises a processor, a memory and a computer program stored in the memory. When the processor executes the computer program, the method specifically performs the steps in the electric power intelligent interaction method based on improved speech recognition as described in any one of claims 1 to 3.
