Voice content retrieval method and device based on text cue word and computer readable storage medium
Through the speech content retrieval method based on text prompt words, combined with cross-attention and feature fusion modules, the problem of low accuracy of speech-to-text technology is solved, efficient and accurate speech content retrieval is achieved, the workflow is simplified and the retrieval efficiency is improved. efficiency.
Patent Information
- Application Number
- CN202410804537.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-20
- Publication Date
- 2024-10-15
AI Technical Summary
Existing speech-to-text technology has problems with low accuracy in scenarios such as telephone communications, news broadcasts, and meeting records, resulting in inaccurate text conversion results and affecting the quality and efficiency of subsequent keyword extraction and information summarization, especially in multi-event or multi-event situations. When processing multi-participant voice content, keyword retrieval may capture information that is not highly relevant, reducing retrieval accuracy and efficiency.
Using a voice content retrieval method based on text prompt words, through text embedding processing and audio feature extraction, combined with a cross-attention module and a feature fusion module, the voice segment feature extraction and fusion is performed to achieve end-to-end voice content retrieval and eliminate the traditional two-stage Redundant steps in the workflow.
It significantly improves the accuracy and efficiency of voice content retrieval, improves the relevance and contextual continuity of retrieval results, simplifies the workflow, speeds up retrieval and facilitates user information acquisition.
Smart Images

Figure CN118779486A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of speech retrieval, and in particular to a speech content retrieval method, device and computer-readable storage medium based on text prompt words. Background Art
[0002] Voice retrieval is a voice-centric retrieval that uses processing technologies such as voice recognition. Such as radio programs, telephone conversations, conference recordings, etc. Voice-based retrieval uses voice processing technology to retrieve audio information. In the past, people have conducted a lot of research on voice signal processing, and many results can be used for voice retrieval. For example, using large vocabulary voice recognition technology for retrieval, this method uses automatic speech recognition (ASR) technology to convert voice into text, so that text retrieval methods can be used for retrieval. This method converts the voice dialogue track of the video into a text script, and then organizes it into a form suitable for full-text retrieval to support retrieval; based on sub-word units for retrieval, when the voice recognition system processes a large range of voice data on various unrestricted topics, the recognition performance will deteriorate, especially when some professional vocabulary (such as names, places) are not in the system vocabulary. An alternative approach is to use sub-word indexing units. When executing a query, the user's query is first decomposed into sub-word units, and then the features of these units are matched with the pre-calculated features in the library; retrieval based on keyword recognition, the automatic detection of words or phrases in unconstrained speech is usually called keyword spotting. Using this technology, events that reflect the user's interest in long recordings or audio tracks can be identified or marked. These marks can be used for retrieval, such as by capturing the word "goal" in the commentary of a sports game, the content of the goal can be marked.
[0003] The long-standing speech-to-text technology faces many challenges in practical applications, especially in scenarios such as telephone communications, news broadcasts, and meeting minutes, where the accuracy of speech recognition systems is often unsatisfactory. This directly leads to the limited accuracy of text conversion results, which in turn affects the quality and efficiency of subsequent processing work such as keyword extraction and information summarization. In specific scenarios such as meeting minutes, we usually only focus on certain key information points in the voice content rather than the comprehensive content. Therefore, performing comprehensive speech-to-text conversion not only increases unnecessary workload, but also reduces the efficiency of retrieving specific information. In addition, when processing voice content involving multiple events or multiple participants, searching based on keywords alone may capture information that contains keywords but is not highly relevant, which also reduces the accuracy and efficiency of retrieval. Summary of the invention
[0004] In order to overcome the above technical defects, the purpose of the present invention is to provide a voice content retrieval method, device and computer-readable storage medium based on text prompt words, which can improve the retrieval efficiency and the accuracy of key content extraction.
[0005] The present invention discloses a voice content retrieval method based on text prompt words, comprising the following steps:
[0006] Performing text embedding processing on the prompt word to obtain initial text features, inputting the initial text features into a text feature extraction network to perform feature extraction, and obtaining multiple intermediate text features;
[0007] Segmenting the voice library to be retrieved according to a preset segmentation duration to obtain a plurality of voice segments arranged in sequence, and preprocessing any of the voice segments to obtain initial audio features of any of the voice segments;
[0008] Inputting the initial audio features of any of the speech segments into an audio feature extraction network for feature extraction to obtain a plurality of intermediate audio features of any of the speech segments;
[0009] After the multiple intermediate audio features of any of the speech segments are matched one by one with the multiple intermediate text features, they are respectively input into the cross attention module for cross attention calculation to obtain multiple cross features of any of the speech segments;
[0010] Inputting multiple cross features of any of the speech segments into a feature fusion module for feature fusion to obtain fusion features of any of the speech segments;
[0011] Decoding the fused features to obtain a retrieval result sequence of any of the speech segments, wherein the retrieval result sequence is a text sequence obtained by converting any of the speech segments based on the correlation between the speech segment and the prompt word;
[0012] The search result sequences of the plurality of speech segments are concatenated to obtain a search result set of the speech library.
[0013] Preferably, the text feature extraction network comprises a plurality of text feature extraction modules arranged in sequence, and any of the text feature extraction modules outputs an intermediate text feature and inputs the intermediate text feature to the next adjacent text feature extraction module.
[0014] Preferably, the audio feature extraction network comprises a plurality of audio feature extraction modules arranged in sequence, and any of the audio feature extraction modules outputs an intermediate audio feature and inputs the intermediate audio feature to the next adjacent audio feature extraction module.
[0015] Preferably, the step of inputting a plurality of cross features of any of the speech segments into a feature fusion module for feature fusion to obtain a fusion feature of any of the speech segments comprises:
[0016] The multiple cross features of any of the speech segments are input into a feature fusion module for feature fusion, and then fused with the fused features of the adjacent previous speech segment to obtain the fused features of any of the speech segments.
[0017] Preferably, any of the speech segments comprises a starting area and an ending area, and the speech content of the ending area in any of the speech segments is the same as the speech content of the starting area in the next adjacent speech segment.
[0018] Preferably, after performing feature fusion processing on the multiple cross features to obtain the fusion feature of any of the speech segments, the method further includes:
[0019] The fusion features of any of the speech segments are sequentially subjected to a feedforward bidirectional long short-term memory neural network and a feedforward convolutional neural network for feature extraction to obtain an optimized fusion feature corresponding to any of the speech segments, and the optimized fusion feature is decoded.
[0020] Preferably, the search result sequence of any of the speech segments includes relevant characters and placeholder characters, and the search result sequences of multiple speech segments have the same preset number of characters.
[0021] Preferably, the method further comprises the following steps:
[0022] The retrieval result set of the speech library is filtered by placeholder characters.
[0023] The present invention also discloses an electronic device, which comprises a memory processor storing computer executable instructions. When the instructions are executed by the processor, the electronic device implements the voice content retrieval method as described above.
[0024] The present invention also discloses a computer-readable storage medium, on which a computer program is stored. When the computer program is run on a computer, the computer executes the voice content retrieval method as described above.
[0025] Compared with the prior art, the above technical solution has the following beneficial effects:
[0026] 1. Improve the accuracy of voice content retrieval: By introducing the cross-attention mechanism and combining the prompt words to conduct in-depth retrieval of voice content, the accuracy of retrieval can be significantly improved, the correlation between the prompt word text and the voice can be identified, and the context continuity is better, thus ensuring that the retrieval results are closer to the actual needs of users.
[0027] 2. Optimize the efficiency and performance of speech signal processing: Using convolutional neural networks to efficiently extract features from speech signals can not only reduce the number of parameters of the speech content retrieval model and reduce the computational burden, but also speed up the reasoning speed of the speech content retrieval model, enhance the adaptability of the speech content retrieval model to different speech environments, and improve its generalization ability.
[0028] 3. Simplify the workflow of voice content retrieval: Implement end-to-end voice content retrieval, eliminating redundant steps in the traditional two-stage workflow, thereby greatly improving the efficiency of the overall workflow. This one-stop solution not only speeds up the retrieval speed, but also simplifies the operation process, allowing users to obtain the required information more conveniently. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Figure 1 A flowchart of the voice content retrieval method based on text prompt words according to the present invention;
[0030] Figure 2 It is a structural schematic diagram of the speech content retrieval model based on text prompt words according to the present invention;
[0031] Figure 3 The figure is a schematic diagram of the structure of the voice content retrieval model based on text prompt words described in the present invention. DETAILED DESCRIPTION
[0032] The advantages of the present invention are further described below in conjunction with the accompanying drawings and specific embodiments.
[0033] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0034] The terms used in this disclosure are for the purpose of describing specific embodiments only and are not intended to limit the disclosure. The singular forms of "a", "said" and "the" used in this disclosure and the appended claims are also intended to include plural forms unless the context clearly indicates otherwise. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.
[0035] It should be understood that although the terms first, second, third, etc. may be used in the present disclosure to describe various information, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present disclosure, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".
[0036] In the description of the present invention, it is necessary to understand that the terms "longitudinal", "lateral", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", etc., indicating the orientation or position relationship, are based on the orientation or position relationship shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention.
[0037] In the description of the present invention, unless otherwise specified and limited, it should be noted that the terms "installed", "connected" and "connected" should be understood in a broad sense. For example, it can be a mechanical connection or an electrical connection, or it can be the internal connection between two components. It can be a direct connection or an indirect connection through an intermediate medium. For ordinary technicians in this field, the specific meanings of the above terms can be understood according to the specific circumstances.
[0038] In the following description, the 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.
[0039] like Figure 1 As shown, the present invention discloses a voice content retrieval method based on text prompt words, comprising the following steps:
[0040] S100, performing text embedding processing on the prompt word to obtain initial text features, inputting the initial text features into a text feature extraction network to perform feature extraction, and obtaining multiple intermediate text features.
[0041] Specifically, the prompt word represents the retrieval target for voice content retrieval in the voice library. For example, in the voice library corresponding to the meeting record, the retrieval target is the voice content related to the work plan of employee A, and the text "employee A's work plan" is set as the prompt word. Text embedding processing means extracting the semantic information of natural language text and converting it into a numerical vector. For example, the existing Word2Vector word embedding model can be used to perform text embedding processing on the prompt word to obtain the initial text features in the form of a numerical vector.
[0042] Then, the initial text features are input into Figure 2 , Figure 3 The text feature extraction network in the voice content retrieval model shown, wherein the text feature extraction network includes multiple text feature extraction modules, so that the initial text features of the prompt word are subjected to multi-level feature extraction by multiple text feature extraction modules to obtain multiple intermediate text features. Among them, multiple text feature extraction modules can use the same neural network model or different neural network models, and the neural network model parameters can be the same or different, which is not limited here.
[0043] Furthermore, the text feature extraction network includes a plurality of text feature extraction modules arranged in sequence, and any text feature extraction module outputs an intermediate text feature and inputs the intermediate text feature to the next adjacent text feature extraction module. Figure 2 , Figure 3 As shown in the example, the text feature extraction network is configured as three text feature extraction modules arranged in sequence. The text feature extraction modules may adopt neural network models such as feedforward neural network (FNN).
[0044] S200, segmenting the voice library to be retrieved according to a preset segmentation duration to obtain a plurality of voice segments arranged in sequence, and preprocessing any voice segment to obtain an initial audio feature of any voice segment.
[0045] Specifically, the speech library is segmented according to a preset segmentation duration (e.g., 20 seconds) to obtain a plurality of speech segments arranged in sequence, and the duration of each speech segment is equal to the segmentation duration. Then, the speech segments are preprocessed respectively, for example, the FBank (Filter Bank) feature extraction algorithm or the MFCC (Me l Frequency Cepstral Coefficients) feature extraction algorithm can be used to preprocess the speech segments to obtain the initial audio features of any speech segment. The initial audio features obtained after preprocessing can capture the semantic and grammatical information of the speech signal, simulate the human ear's perception of sounds of different frequencies, and avoid the influence of noise.
[0046] Preferably, any speech segment includes a starting area and an ending area, and the speech content of the ending area in any speech segment is the same as the speech content of the starting area in the next adjacent speech segment.
[0047] It is understandable that when the speech library is segmented, the pronunciation of words may be cut off at the beginning or end of the speech segment, or continuous content may be divided into different speech segments, resulting in a decrease in the accuracy of speech content retrieval. Therefore, a starting area and an ending area are set in the speech segment, the duration of the starting area is equal to the duration of the ending area, and the speech content of the ending area in any speech segment is the same as the speech content of the starting area in the next adjacent speech segment, so that there is partially repeated speech content in any two adjacent speech segments. Through the above settings, the contextual continuity of the speech content in adjacent speech segments can be improved, and the accuracy of retrieval can be improved.
[0048] S300, inputting the initial audio features of any speech segment into an audio feature extraction network for feature extraction, and obtaining a plurality of intermediate audio features of any speech segment.
[0049] Specifically, the initial audio features of any speech segment obtained through preprocessing are input into Figure 2 , Figure 3 The audio feature extraction network in the speech content retrieval model shown in the figure includes multiple audio feature extraction modules, so that the initial audio features of any speech segment are subjected to multi-level feature extraction by multiple audio feature extraction modules to obtain multiple intermediate audio features.
[0050] Furthermore, the audio feature extraction network includes a plurality of audio feature extraction modules arranged in sequence, and any audio feature extraction module outputs an intermediate audio feature and inputs the intermediate audio feature into the next adjacent audio feature extraction module. The plurality of audio feature extraction modules may use the same neural network model or different neural network models, and the parameters of the neural network models may be the same or different, which is not limited here. Figure 2 , Figure 3As shown in the figure, the audio feature extraction network is set to three audio feature extraction modules arranged in sequence, wherein the first audio feature extraction module that receives the initial audio features can adopt, for example, the ResNet18 residual network, and the second to third audio feature extraction modules can adopt, for example, a neural network model such as a feedforward convolutional neural network (FCNN). In addition, multiple audio feature extraction modules using feedforward convolutional neural networks are set to have the same network structure and different parameters (including but not limited to one or more of convolution kernel parameters, number of channels, etc.), so that different audio feature extraction modules can capture information of different granularities.
[0051] S400, after one-to-one correspondence between multiple intermediate audio features of any speech segment and multiple intermediate text features, they are respectively input into a cross-attention module for cross-attention calculation to obtain multiple cross-features of any speech segment.
[0052] Specifically, Figure 2 , Figure 3 As shown in the figure, multiple intermediate audio features of any speech segment are matched one by one with multiple intermediate text features, and then respectively input into the cross-attention module in the speech content retrieval model for cross-attention calculation. Among them, in any cross-attention module, the intermediate text feature is used as the query vector, the intermediate audio feature is used as the key vector and the value vector, and then the three are subjected to multi-head attention operation, and then a layer of feedforward neural network layer (FNN) is passed to output the cross-feature, so that the cross-feature can represent the correlation between the intermediate audio feature and the intermediate text feature input into any cross-attention module.
[0053] It can be understood that the setting of cross-attention calculation by corresponding multi-level intermediate audio features to multi-level intermediate text features one by one can extract information of different granularities from the original prompt words and any speech segment, and more accurately align the corresponding parts in the text and audio; it allows the speech content retrieval model to flexibly adjust the degree of dependence on text and audio features in different tasks. For example, it may rely more on audio features when understanding stress or intonation, and may rely more on text features when understanding sentence structure; it helps the speech content retrieval model to learn more abstract feature representations and better generalize to new data; there may be noisy or unclear parts in the audio or text, and multi-level feature extraction and cross-attention can help the model focus on more reliable features, thereby improving robustness.
[0054] S500, inputting multiple cross-features of any speech segment into a feature fusion module for feature fusion to obtain fusion features of any speech segment.
[0055] Specifically, Figure 2 , Figure 3 As shown, the feature fusion module in the speech content retrieval model can adopt a network model such as SENet (Squeeze-and-Excitation Networks) to fuse multiple cross features of any speech segment to obtain the fusion feature of any speech segment. It can be understood that the fusion feature of any speech segment obtained through the above steps can represent the correlation between the speech content of the speech segment and the prompt word.
[0056] For further information, see Figure 3 As shown, step S500 includes inputting multiple cross features of any speech segment into a feature fusion module for feature fusion, and then fusing them with the fusion features of the adjacent previous speech segment to obtain the fusion features of any speech segment.
[0057] It is understandable that in order to further improve the contextual continuity of the speech content in adjacent speech segments, after the multiple cross-features of any speech segment are input into the feature fusion module for feature fusion, they also need to be fused with the fusion features of the adjacent previous speech segment to finally obtain the fusion features of any speech segment. Among them, when fusing with the fusion features of the adjacent previous speech segment, an addition process is adopted, that is, the elements in the feature vector output by the feature fusion module of any speech segment and the elements in the fusion feature vector of the adjacent previous speech segment are added according to the corresponding positions to obtain the fusion features of any speech segment.
[0058] Preferably, if Figure 2 , Figure 3 As shown, step S500 also includes extracting the fusion features of any speech segment through a feedforward bidirectional long short-term memory neural network and a feedforward convolutional neural network in sequence to obtain optimized fusion features corresponding to any speech segment, and decoding the optimized fusion features.
[0059] Among them, the feedforward bidirectional long short-term memory neural network layer in the speech content retrieval model can capture the temporal dependency in the fused features, and further help understand the context in the fused features; the feedforward convolutional neural network captures local features of different scales in the fused features. It can be understood that the optimized fused features obtained through the above steps can extract richer and more discriminative features.
[0060] S600 , decoding the fused features to obtain a retrieval result sequence of any speech segment, where the retrieval result sequence is a text sequence obtained by converting any speech segment based on the correlation between the speech segment and the prompt word.
[0061] Specifically, the output result of the speech content retrieval model is decoded, and CTC greedy search decoding or CTC beam search decoding can be used to obtain a retrieval result sequence of any speech segment, wherein the retrieval result sequence is a text sequence obtained by converting any speech segment based on the correlation between the any speech segment and the prompt word.
[0062] Furthermore, the retrieval result sequence of any speech segment includes relevant characters and placeholder characters, and the retrieval result sequences of multiple speech segments have the same preset number of characters. The preset number of characters is the sum of the number of relevant characters and the number of placeholder characters in any retrieval result sequence. It can be understood that the retrieval result sequence is a text sequence obtained by converting any speech segment based on the correlation between the any speech segment and the prompt word. The speech content in any speech segment that has a higher correlation with the prompt word will be converted into text with the same semantics as the speech content, that is, relevant characters, and the speech content in any speech segment that has a lower correlation with the prompt word will be directly displayed as text without semantic representation (such as symbols), that is, placeholder characters.
[0063] S700: Connect the search result sequences of multiple speech segments to obtain a search result set of the speech library.
[0064] It can be understood that the retrieval result set includes multiple retrieval result sequences arranged in sequence, and the voice content with a high correlation with the prompt word in any retrieval result sequence has been converted into relevant characters. At this point, the voice content retrieval of the voice library with the prompt word as the retrieval target is completed.
[0065] Preferably, the method further comprises the following steps:
[0066] Filter the search result set of the speech library by placeholder characters.
[0067] Specifically, the search result set includes multiple search result sequences arranged in sequence, and the placeholder characters in the search result set can be filtered so that the search result set only contains relevant characters of the multiple search result sequences, that is, only the text converted from the voice content with a high correlation with the prompt word is retained.
[0068] When the speech content retrieval model of the present invention is trained, two different training methods can be used. One training method is to construct a speech retrieval data set based on prompt words, and directly perform end-to-end training on the text feature extraction network, the audio feature extraction network, the cross attention module, the feature fusion module, the feedforward bidirectional long short-term memory neural network and the feedforward convolutional neural network. The training time of this training method is relatively short and relatively simple. Another training method is divided into two stages. In the first stage, the text feature extraction network and the audio feature extraction network are first trained using a data set in the form of speech-text pairs. After the text feature extraction network and the audio feature extraction network converge, the second stage uses a preset speech content retrieval data set based on prompt words to synchronously train the cross attention module, the feature fusion module, the feedforward bidirectional long short-term memory neural network and the feedforward convolutional neural network. Since the data set in the form of speech-text pairs is more and easy to collect, the speech content retrieval data set based on prompt words is relatively scarce. This training method can reduce the difficulty of data collection and improve the final accuracy of the speech content retrieval model. During training, CTC-LOSS can be used as a loss function.
[0069] The present invention also discloses an electronic device, which comprises a memory processor storing computer executable instructions. When the instructions are executed by the processor, the electronic device implements the voice content retrieval method as described above.
[0070] The present invention also discloses a computer-readable storage medium, on which a computer program is stored. When the computer program is run on a computer, the computer executes the voice content retrieval method as described above.
[0071] Compared with the prior art, the above technical solution has the following beneficial effects:
[0072] 1. Improve the accuracy of voice content retrieval: By introducing the cross-attention mechanism and combining prompt words to conduct in-depth retrieval of voice content, the accuracy of retrieval can be significantly improved, the correlation between recognition and prompt word text and voice can be improved, and the context continuity can be better, thereby ensuring that the retrieval results are closer to the actual needs of users.
[0073] 2. Optimize the efficiency and performance of speech signal processing: Using convolutional neural networks to efficiently extract features from speech signals can not only reduce the number of parameters of the speech content retrieval model and reduce the computational burden, but also speed up the reasoning speed of the speech content retrieval model, enhance the adaptability of the speech content retrieval model to different speech environments, and improve its generalization ability.
[0074] 3. Simplify the workflow of voice content retrieval: Implement end-to-end voice content retrieval, eliminating redundant steps in the traditional two-stage workflow, thereby greatly improving the efficiency of the overall workflow. This one-stop solution not only speeds up the retrieval speed, but also simplifies the operation process, allowing users to obtain the required information more conveniently.
[0075] It should be noted that the embodiments of the present invention have better practicability and do not impose any form of limitation on the present invention. Any technician familiar with the field may use the technical content disclosed above to change or modify it into an equivalent effective embodiment. However, any modification or equivalent changes and modifications made to the above embodiments based on the technical essence of the present invention without departing from the content of the technical solution of the present invention are still within the scope of the technical solution of the present invention.
Claims
1. A method for retrieving speech content based on text prompt words, characterized in that: The following steps are involved: Performing text embedding processing on the prompt word to obtain initial text features, inputting the initial text features into a text feature extraction network to perform feature extraction, and obtaining multiple intermediate text features; Segmenting the voice library to be retrieved according to a preset segmentation duration to obtain a plurality of voice segments arranged in sequence, and preprocessing any of the voice segments to obtain initial audio features of any of the voice segments; Inputting the initial audio features of any of the speech segments into an audio feature extraction network for feature extraction to obtain a plurality of intermediate audio features of any of the speech segments; After the multiple intermediate audio features of any of the speech segments are matched one by one with the multiple intermediate text features, they are respectively input into the cross attention module for cross attention calculation to obtain multiple cross features of any of the speech segments; Inputting multiple cross features of any of the speech segments into a feature fusion module for feature fusion to obtain fusion features of any of the speech segments; Decoding the fused features to obtain a retrieval result sequence of any of the speech segments, wherein the retrieval result sequence is a text sequence obtained by converting any of the speech segments based on the correlation between the speech segment and the prompt word; The search result sequences of the plurality of speech segments are concatenated to obtain a search result set of the speech library.
2. The voice content retrieval method according to claim 1, characterized in that: The text feature extraction network includes a plurality of text feature extraction modules arranged in sequence, and any of the text feature extraction modules outputs an intermediate text feature and inputs the intermediate text feature to the next adjacent text feature extraction module.
3. The voice content retrieval method according to claim 1, characterized in that: The audio feature extraction network includes a plurality of audio feature extraction modules arranged in sequence, and any of the audio feature extraction modules outputs an intermediate audio feature and inputs the intermediate audio feature to the next adjacent audio feature extraction module.
4. The voice content retrieval method according to claim 1, characterized in that: The step of inputting the multiple cross features of any of the speech segments into a feature fusion module for feature fusion to obtain the fusion features of any of the speech segments comprises: The multiple cross features of any of the speech segments are input into a feature fusion module for feature fusion, and then fused with the fused features of the adjacent previous speech segment to obtain the fused features of any of the speech segments.
5. The voice content retrieval method according to claim 1, characterized in that: Any of the speech segments includes a starting area and an ending area, and the speech content of the ending area in any of the speech segments is the same as the speech content of the starting area in the next adjacent speech segment.
6. The voice content retrieval method according to claim 1 or 4, characterized in that: After performing feature fusion processing on the multiple cross features to obtain a fusion feature of any of the speech segments, the method further includes: The fusion features of any of the speech segments are sequentially subjected to a feedforward bidirectional long short-term memory neural network and a feedforward convolutional neural network for feature extraction to obtain an optimized fusion feature corresponding to any of the speech segments, and the optimized fusion feature is decoded.
7. The voice content retrieval method according to claim 1, characterized in that: The search result sequence of any of the speech segments includes relevant characters and placeholder characters, and the search result sequences of multiple speech segments have the same preset number of characters.
8. The voice content retrieval method according to claim 7, characterized in that: The following steps are also included: The retrieval result set of the speech library is filtered by placeholder characters.
9. An electronic device, characterized in that: The electronic device comprises a memory processor storing computer executable instructions. When the instructions are executed by the processor, the electronic device implements the voice content retrieval method according to any one of claims 1 to 8.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed on a computer, the computer is enabled to execute the voice content retrieval method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Weak supervision voice retrieval method and system based on attention
CN112685594A
Cross-modal retrieval method based on multi-granularity feature interaction
CN114037945A
Voice keyword detection and positioning method and device based on multiple view angles
CN116453514A
Content search method and device, electronic equipment, storage medium and program product
CN116578729A
Cross-attention system and method for fast video-text retrieval task with image clip
WO2022261570A1
Cited By
Custom keyword detection method and system
CN120510838A
