Speech recognition method, device, related equipment and computer program product

By extracting audio features and fusing the output features of the speech flow sound change recognition model, and inputting the improved speech recognition model, the problem of low recognition accuracy of the traditional system when processing speech flow sound changes is solved, and the accuracy of speech recognition is significantly improved. .

CN118379987BActive Publication Date: 2024-09-20合肥智能语音创新发展有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410817749.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-24
Publication Date
2024-09-20
Estimated Expiration
2044-06-24

AI Technical Summary

Technical Problem

Traditional speech recognition systems fail to effectively handle the phenomenon of speech flow and phonetic variation, resulting in low accuracy in recognizing audio with speech flow and phonetic variation.

Method used

Obtain probability distribution features or hidden layer features by extracting audio features and calling the preconfigured speech flow sound change recognition model, fuse audio features and reference features, and input the improved speech recognition model to improve recognition accuracy.

Benefits of technology

Significantly improves the accuracy of speech recognition results, especially for audio with speech changes, which can greatly improve the accuracy of the recognition results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118379987B
    Figure CN118379987B
Patent Text Reader

Abstract

The present application discloses a speech recognition method, apparatus, related equipment and computer program product, which relates to the field of speech recognition technology. The method includes: extracting audio features of the target speech to be recognized; calling a preconfigured speech flow sound change recognition model to process the target speech, and obtaining the probability distribution features of the output layer of the speech flow sound change recognition model or the hidden layer features of the intermediate layer output as reference features, wherein the speech flow sound change recognition model is used to identify whether the input speech has speech flow sound change; fusing the audio features and the reference features, and sending the fused features to the configured speech recognition model to obtain the recognition results output by the speech recognition model, wherein the speech recognition model is configured to output the speech recognition results based on the input fused features. The present application scheme improves the recognition accuracy of audio with speech flow sound change.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of speech recognition technology, and more specifically, to a speech recognition method, apparatus, related equipment and computer program product. Background Art

[0002] Speech recognition technology is one of the most important and difficult core technologies in intelligent speech technology. Its function is to convert human speech into corresponding text. In recent years, deep learning technology represented by deep neural networks has made breakthrough progress, which has also triggered a wave of application of speech recognition technology.

[0003] In the pronunciation habits of some languages, there may be a phenomenon of speech flow sound change. Speech flow sound change refers to the change in the initial consonants, finals or tones of some syllables in speech flow due to the influence of adjacent phonemes of adjacent syllables. This change includes various forms such as connected speech, swallowing, assimilation and alienation. Speech flow sound change will change the original pronunciation of phonemes to a certain extent. Take connected speech and swallowing as examples. Connected speech refers to the connection of the last syllable of a word with the beginning syllable of the word that follows it in fluent pronunciation, changing the original pronunciation and making it sound like a continuous syllable. Connected speech generally occurs between words. Refer to Figure 1 , which illustrates two cases of connected reading, where the text before "->" is the original text, where the phonemes marked by underlines are the connected phonemes, and the text after "->" is the text after connected reading, where the phonemes marked by underlines are the connected phonemes. Swallowed sound refers to the omission or weakening of certain syllables in fast spoken communication. Swallowed sound can be sent in the word or between words. Figure 2 , which illustrates two cases of swallowing, where the text before "->" is the original text, where the phonemes in brackets marked by underscores are the phonemes that undergo swallowing, and the text after "->" is the text after swallowing. Of course, the above only provides several examples of speech flow sound changes using English as an example. In addition, speech flow sound changes also exist in other languages ​​such as Russian.

[0004] Traditional speech recognition systems do not pay attention to the existence of speech flow sound changes, and thus do not have targeted solutions, resulting in low accuracy in audio recognition with speech flow sound changes. Summary of the invention

[0005] In view of the above problems, this application is proposed to provide a speech recognition method, apparatus, related equipment and computer program product to improve the recognition accuracy of audio with speech flow sound changes. The specific solution is as follows:

[0006] In a first aspect, a speech recognition method is provided, comprising:

[0007] Extracting audio features of the target speech to be recognized;

[0008] Calling a preconfigured speech flow sound change recognition model to process the target speech, and obtaining the probability distribution features of the output layer of the speech flow sound change recognition model or the hidden layer features of the intermediate layer output as reference features, wherein the speech flow sound change recognition model is used to identify whether the input speech has speech flow sound change;

[0009] The audio features and the reference features are fused, and the fused features are sent to a configured speech recognition model to obtain a recognition result output by the speech recognition model, wherein the speech recognition model is configured to output a speech recognition result based on the input fused features.

[0010] In a possible design, in another implementation of the first aspect of the embodiment of the present application, the recognition result output by the speech recognition model includes more than two candidate recognition texts and the confidence level corresponding to each of the candidate recognition texts; the method further includes:

[0011] Select the candidate recognition text with the highest confidence as the final recognition text;

[0012] or,

[0013] Using the configured target language model to score each of the candidate recognition texts, and obtaining a scoring result for each of the candidate recognition texts;

[0014] The candidate recognition text with the highest score is selected as the final recognition text; or, the score result and confidence of each candidate recognition text are added, and the candidate recognition text with the highest score after addition is selected as the final recognition text.

[0015] In one possible design, in another implementation of the first aspect of the embodiments of the present application, the target language model is a language model trained using text segments in which there is a possibility of speech flow sound change.

[0016] In one possible design, in another implementation of the first aspect of the embodiments of the present application, the speech recognition model is an end-to-end speech recognition model;

[0017] Alternatively, the speech recognition model includes an acoustic model and a target language model, wherein the target language model is a language model trained using text segments in which speech flow sound changes are likely to occur.

[0018] In a possible design, in another implementation of the first aspect of the embodiments of the present application, the training process of the target language model includes:

[0019] Map the collected text corpus into phoneme sequence corpus using pronunciation dictionary;

[0020] Acquire a configured phonological rule library, wherein the phonological rule library contains the appearance rules of the sorted speech flow sound changes in the text phoneme sequence;

[0021] Using the phonological rule library, selecting text segments that meet the occurrence rule from the phoneme sequence corpus as text segments that may undergo speech flow sound change;

[0022] The target language model is obtained by training the text segments that are likely to undergo speech sound changes.

[0023] In a possible design, in another implementation of the first aspect of the embodiments of the present application, the training process of the speech flow sound change recognition model includes:

[0024] Obtaining an audio training sample and a corresponding sample label, wherein the sample label indicates whether the audio training sample has a speech flow sound change;

[0025] The audio training samples and the corresponding sample labels are used to train a speech flow sound change recognition model.

[0026] In a possible design, in another implementation of the first aspect of the embodiments of the present application, the process of obtaining audio training samples and corresponding sample labels includes:

[0027] Obtain audio training samples and transcribed text parallel pair corpus;

[0028] Mapping each of the transcribed texts into a phoneme sequence corpus using a pronunciation dictionary;

[0029] Acquire a configured phonological rule library, wherein the phonological rule library contains the appearance rules of the sorted speech flow sound changes in the text phoneme sequence, and use the phonological rule library to screen out a target text segment that meets the appearance rules from the phoneme sequence corpus, and determine the target transcription text where the target text segment is located;

[0030] Using a traditional speech recognition system to recognize the audio training sample corresponding to the target transcribed text to obtain a recognized text;

[0031] The recognized text is aligned with the target transcribed text, and it is determined whether the corresponding recognized text at the position of the target text segment is consistent. If not, the sample label of the audio training sample corresponding to the target transcribed text is marked as having speech flow sound change. If so, the sample label of the audio training sample corresponding to the target transcribed text is marked as not having speech flow sound change.

[0032] In one possible design, in another implementation of the first aspect of the embodiment of the present application, the speech flow sound change includes connected speech and swallowing, and the speech flow sound change recognition model is a connected speech and swallowing recognition model, which is used to recognize whether the input speech contains connected speech or swallowing.

[0033] In a second aspect, a speech recognition device is provided, comprising:

[0034] An audio feature extraction unit, used to extract audio features of a target speech to be recognized;

[0035] a speech flow sound change recognition unit, used to call a preconfigured speech flow sound change recognition model to process the target speech, and obtain the probability distribution features of the output layer of the speech flow sound change recognition model or the hidden layer features of the intermediate layer output as reference features, wherein the speech flow sound change recognition model is used to recognize whether the input speech has speech flow sound change;

[0036] A feature fusion and recognition unit is used to fuse the audio features and the reference features, and send the fused features to the configured speech recognition model to obtain the recognition results output by the speech recognition model, wherein the speech recognition model is configured to output the speech recognition results based on the input fused features.

[0037] In a third aspect, a speech recognition device is provided, comprising: a memory and a processor;

[0038] The memory is used to store programs;

[0039] The processor is used to execute the program to implement the speech recognition method described in any one of the first aspects of the present application.

[0040] In a fourth aspect, a readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the speech recognition method described in any one of the first aspects of the present application is implemented.

[0041] In a fifth aspect, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the speech recognition method described in any one of the first aspects of the present application.

[0042] With the help of the above technical scheme, the present application pre-configures a speech flow sound change recognition model for identifying whether the input speech has speech flow sound change, so that it can explicitly distinguish whether the target speech to be recognized has speech flow sound change. On this basis, the speech flow sound change recognition model is called to process the target speech, and the probability distribution characteristics of its output layer or the hidden layer characteristics of the intermediate layer output are obtained as reference features. It can be understood that, given that the speech flow sound change recognition model can identify whether the input speech has speech flow sound change, the extracted reference features can also characterize the target speech from the feature level. Information contained in the speech flow sound change, such as whether there is a speech flow sound change and the phoneme position corresponding to the speech flow sound change. The present application is also configured with an improved speech recognition model. Compared with the traditional speech recognition model, the improved speech recognition model provided by the embodiment of the present application adds the above-mentioned reference features in addition to the traditional audio features in the input dimension, that is, the audio features and the reference features are fused as the input of the improved speech recognition model, so that the speech recognition model can understand the information contained in the target speech on the sound changes of the speech flow, and transcribe the recognition results on this basis, which can greatly improve the accuracy of the speech recognition results, especially for audio with speech flow sound changes, which can greatly improve the speech recognition results and improve the accuracy of the recognition results. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present application. Also, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:

[0044] Figure 1 The schematic results of two English linking phenomena are illustrated;

[0045] Figure 2 Two examples of English swallowing phenomena are given;

[0046] Figure 3 A schematic diagram of an implementation system architecture of the speech recognition method provided in an embodiment of the present application;

[0047] Figure 4 A schematic diagram of a terminal structure provided in an embodiment of the present application;

[0048] Figure 5 A schematic diagram of a server structure provided in an embodiment of the present application;

[0049] Figure 6 A flow chart of a speech recognition method provided in an embodiment of the present application;

[0050] Figure 7A schematic diagram of a speech recognition scenario provided in an embodiment of the present application;

[0051] Figure 8 A schematic diagram of a speech recognition model structure composed of an acoustic model and a language model provided in an embodiment of the present application;

[0052] Fig. 9 A schematic diagram of the structure of a speech recognition device provided in an embodiment of the present application;

[0053] Fig.10 A schematic diagram of the structure of a speech recognition device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0054] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0055] This application provides a speech recognition method that can be applied to Figure 3 The system architecture shown in FIG. 1 may include a terminal 100 and a server 200. The server 200 may include one or more servers ( Figure 3 A server is included as an example for explanation).

[0056] The terminal 100 or the server 200 can be used alone to execute the speech recognition method provided in the embodiment of the present application. In addition, the terminal 100 and the server 200 can also be used together to execute the speech recognition method provided in the embodiment of the present application.

[0057] Next describe Figure 3 The product form of the mid-terminal 100;

[0058] The terminal 100 in the embodiment of the present application can be a mobile phone, a tablet computer, a teaching screen, a wearable device, a vehicle-mounted device, a conference terminal, an augmented reality (AR) / virtual reality (VR) device, a laptop computer, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (PDA), etc., and the embodiment of the present application does not impose any restrictions on this.

[0059] Figure 4 An optional hardware structure diagram of the terminal 100 is shown.

[0060] refer to Figure 4 As shown, the terminal 100 may include a radio frequency unit 110, a memory 120, an input unit 130, a display unit 140, a camera 150 (optional), an audio circuit 160, a speaker 161, a microphone 162, an earphone jack 163 (optional), a processor 170, an external interface 180, a power supply 190 and other components. Those skilled in the art will appreciate that Figure 4 These are merely examples of terminals or multi-function devices and do not constitute limitations on the terminals or multi-function devices, which may include more or fewer components than those shown in the figures, or combinations of certain components, or different components.

[0061] The input unit 130 can be used to receive input digital or character information, and generate key signal input related to the user settings and function control of the portable multifunctional device. Specifically, the input unit 130 may include a touch screen 131 and / or other input devices 132. The touch screen 131 can collect the user's touch operations on or near it (such as the user's operation on or near the touch screen using any suitable object such as fingers, joints, stylus, etc.), and drive the corresponding connection device according to a pre-set program. The touch screen can detect the user's touch action on the touch screen, convert the touch action into a touch signal and send it to the processor 170, and can receive and execute the command sent by the processor 170; the touch signal at least includes the touch point coordinate information. The touch screen 131 can provide an input interface and an output interface between the terminal 100 and the user. In addition, the touch screen can be implemented using multiple types such as resistive, capacitive, infrared and surface acoustic wave. In addition to the touch screen 131, the input unit 130 can also include other input devices. Specifically, other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as a volume control key, a switch key, etc.), a trackball, a mouse, a joystick, and the like.

[0062] Among them, the input device 132 can receive input data and the like.

[0063] The display unit 140 may be used to display information input by the user or provided to the user, various menus of the terminal 100, interactive interfaces, file display and / or playback of any multimedia file. In the embodiment of the present application, the display unit 140 may be used to display various interactive interfaces, processing results, etc. in the speech recognition method.

[0064] The memory 120 can be used to store instructions and data. The memory 120 can mainly include an instruction storage area and a data storage area. The data storage area can store various data, such as multimedia files, texts, etc.; the instruction storage area can store software units such as operating systems, applications, instructions required for at least one function, or their subsets and extensions. It can also include a non-volatile random access memory; provide the processor 170 with hardware, software and data resources including management of computing and processing equipment, and support control software and applications. It is also used for the storage of multimedia files, and the storage of running programs and applications.

[0065] The processor 170 is the control center of the terminal 100. It uses various interfaces and lines to connect various parts of the entire terminal 100. By running or executing instructions stored in the memory 120 and calling data stored in the memory 120, it executes various functions of the terminal 100 and processes data, thereby controlling the terminal device as a whole. Optionally, the processor 170 may include one or more processing units; preferably, the processor 170 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface and application program, and the modem processor mainly processes wireless communication. It is understandable that the above-mentioned modem processor may not be integrated into the processor 170. In some embodiments, the processor and the memory may be implemented on a single chip, and in some embodiments, they may also be implemented separately on separate chips. The processor 170 may also be used to generate corresponding operation control signals, send them to corresponding components of the computing and processing device, read and process data in the software, especially read and process data and programs in the memory 120, so that each functional module therein performs corresponding functions, thereby controlling the corresponding components to act according to the requirements of the instructions.

[0066] Among them, the memory 120 can be used to store software codes related to the speech recognition method, the processor 170 can execute the steps of the speech recognition method, and can also schedule other units (such as the above-mentioned input unit 130 and display unit 140) to achieve corresponding functions.

[0067] The radio frequency unit 110 (optional) can be used for receiving and sending information or receiving and sending signals during a call, for example, after receiving the downlink information of the base station, it is sent to the processor 170 for processing; in addition, the designed uplink data is sent to the base station. Generally, the RF circuit includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (Low Noise Amplifier, LNA), a duplexer, etc. In addition, the radio frequency unit 110 can also communicate with network devices and other devices through wireless communication. The wireless communication can use any communication standard or protocol, including but not limited to Global System of Mobile communication (Global System of Mobile communication, GSM), General Packet Radio Service (General Packet Radio Service, GPRS), Code Division Multiple Access (Code Division Multiple Access, CDMA), Wideband Code Division Multiple Access (Wideband Code Division Multiple Access, WCDMA), Long Term Evolution (Long Term Evolution, LTE), email, Short Messaging Service (SMS), etc.

[0068] In the embodiment of the present application, the RF unit 110 can send data to the server 200 and receive the processing result sent by the server 200. Exemplarily, the RF unit 110 sends the received target speech to be recognized to the server 200, and the server 200 obtains the recognition result of the target speech and returns the recognition result to the terminal 100.

[0069] It should be understood that the radio frequency unit 110 is optional and can be replaced by other communication interfaces, such as a network port.

[0070] The terminal 100 also includes a power supply 190 (such as a battery) for supplying power to various components. Preferably, the power supply can be logically connected to the processor 170 through a power management system, so that the power management system can manage functions such as charging, discharging, and power consumption.

[0071] The terminal 100 further includes an external interface 180 , which may be a standard Micro USB interface or a multi-pin connector, and may be used to connect the terminal 100 to communicate with other devices, or to connect a charger to charge the terminal 100 .

[0072] Although not shown, the terminal 100 may also include a flashlight, a wireless fidelity (WiFi) module, a Bluetooth module, sensors with different functions, etc., which are not described in detail here. Some or all of the methods described below may be applied in the following embodiments. Figure 4 In the terminal 100 shown.

[0073] Next describe Figure 3 The product form of the server 200;

[0074] Figure 5 A structural diagram of a server 200 is provided, such as Figure 5 As shown, the server 200 includes a bus 201, a processor 202, a communication interface 203, and a memory 204. The processor 202, the memory 204, and the communication interface 203 communicate with each other via the bus 201.

[0075] The bus 201 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 5 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0076] The processor 202 may be any one or more of a central processing unit (CPU), a graphics processing unit (GPU), a microprocessor (MP), or a digital signal processor (DSP).

[0077] The memory 204 may include a volatile memory, such as a random access memory (RAM). The memory 204 may also include a non-volatile memory, such as a read-only memory (ROM), a flash memory, a hard drive (HDD), or a solid state drive (SSD).

[0078] The memory 204 may be used to store software codes related to the speech recognition method, and the processor 202 may execute the steps of the speech recognition method and may also schedule other units to implement corresponding functions.

[0079] It should be understood that the above-mentioned terminal 100 and server 200 can be centralized or distributed devices, and the processors in the above-mentioned terminal 100 and server 200 (such as processor 170 and processor 202) can be hardware circuits (such as application specific integrated circuit (ASIC), field-programmable gate array (FPGA), general-purpose processor, digital signal processor (DSP), microprocessor or microcontroller, etc.), or a combination of these hardware circuits. For example, the processor can be a hardware system with an instruction execution function, such as a CPU, DSP, etc., or a hardware system without an instruction execution function, such as an ASIC, FPGA, etc., or a combination of the above-mentioned hardware systems without an instruction execution function and hardware systems with an instruction execution function.

[0080] The applicant of this case has noticed that due to the phenomenon of speech flow sound change in some languages ​​(such as English, Russian, etc.), it is difficult for traditional speech recognition systems to distinguish and transcribe complete words or phrases for such audio. Typical speech flow sound change phenomena include but are not limited to: connected reading, swallowing, assimilation, alienation and other forms.

[0081] Traditional speech recognition systems directly use audio-transcribed text parallel data to train speech recognition models. Since they do not explicitly distinguish and identify which corpus in the data has speech flow sound changes, the model learning is highly confusing, the data utilization rate is low, and the recognition accuracy of audio with speech flow sound changes is low. In order to improve this problem, the embodiment of the present application provides an improved speech recognition solution, which integrates phonological knowledge, optimizes the speech recognition algorithm, and improves the recognition accuracy of audio with speech flow sound changes.

[0082] For the convenience of description, the following embodiments of the present application only take the speech recognition process of the English language as an example, wherein the speech flow sound change is exemplified by connecting and swallowing. It can be understood that the present application scheme is not limited to the English language, but is also applicable to other languages ​​with speech flow sound change.

[0083] The present invention provides a method for speech recognition. Figure 3 Taking the computer device in the example as an example, the computer device can be Figure 3The terminal 100 or the server 200, or the system consisting of the terminal 100 and the server 200. Figure 6 , the speech recognition method specifically comprises the following steps:

[0084] Step S100: extracting audio features of the target speech to be recognized.

[0085] The audio feature may be a filter-bank feature or other acoustic feature. In this step, an audio feature extraction module may be used to extract the audio features of the target speech, wherein the network structure of the audio feature extraction module may be various, such as any one or more combinations of convolutional layers, Transformer layers, and nonlinear layers.

[0086] Step S110: calling a preconfigured speech flow sound change recognition model to extract reference features from the target speech.

[0087] Specifically, the speech flow sound change recognition model is configured to recognize whether the input speech has speech flow sound change. The target speech is input into the speech flow sound change recognition model for processing, and each intermediate layer of the speech flow sound change recognition model extracts hidden layer features and transmits them backwards until the output layer outputs the probability distribution of whether there is speech flow sound change, and then selects the label output with the largest probability value based on the probability distribution, so as to determine whether the input speech has speech flow sound change.

[0088] In this step, the probability distribution features of the output layer of the speech flow sound change recognition model are obtained, or the hidden features of the intermediate layer output are obtained, and the probability distribution features or the hidden features are used as reference features. The hidden features of the intermediate layer output can be the hidden features of any intermediate layer output in the speech flow sound change recognition model, or can be the hidden features of the combination of the hidden features of multiple intermediate layers.

[0089] In this step, it is considered that the speech flow sound change recognition model is used to identify whether the input target speech has speech flow sound change. Therefore, both the probability distribution features of the output layer and the hidden features of the intermediate layer output can characterize the inclusion of speech flow sound change in the target speech from the feature level. Based on this, the probability distribution features or hidden features are used as reference features.

[0090] Of course, it is understandable that the probability distribution features or the hidden layer features output by the intermediate layer may be processed to be used as reference features, such as linear or nonlinear transformation processing.

[0091] In this embodiment, the speech flow sound change recognition model can adopt a model structure such as RNN, Transformer, etc., or the trained speech recognition model can be directly reused, and only the output layer nodes of the speech recognition model are changed from the original dictionary size to 2 nodes (the 2 nodes correspond to whether there is a speech flow sound change). Except for the random initialization of the output layer parameters during training, the remaining layers can be initialized using the parameters of the trained speech recognition model.

[0092] Step S120: Fuse the audio features and the reference features, and send the fused features to the configured speech recognition model to obtain the recognition results output by the speech recognition model.

[0093] The present application pre-configures an improved speech recognition model, which is configured to output speech recognition results based on the input fused features.

[0094] Compared with the traditional speech recognition model that only includes the audio features of the target speech in the input layer, the improved speech recognition model provided in this embodiment includes both the audio features and reference features of the target speech in the input layer. The two can be concatenated and sent to the speech recognition model, which performs recognition processing based on the fused features and outputs the recognition results of the target speech.

[0095] Combination Figure 7 As shown, it illustrates an optional implementation process of the speech recognition method of the present application. For the target speech to be recognized, on the one hand, audio features are extracted; on the other hand, as the input of the speech flow sound change recognition model, the speech flow sound change recognition model is used to recognize the speech flow sound change label corresponding to the target speech (since the speech flow sound change label finally output by the speech flow sound change recognition model is not needed in this embodiment, Figure 7 The corresponding output arrow in the figure is indicated by a dotted line), that is, it is distinguished whether the target speech has speech flow sound change. In this embodiment, the intermediate features of the speech flow sound change recognition model processing the target speech can be obtained, such as the probability distribution features of the output layer or the hidden layer features output by the intermediate layer. The intermediate features are used as reference features, spliced ​​with the aforementioned extracted audio features, and then input into the speech recognition model to obtain the recognition result output by the speech recognition model.

[0096] The speech flow sound change recognition model pre-configured in the embodiment of the present application can identify whether the input target speech has speech flow sound change, such as whether there is connected reading, swallowing, etc., so as to explicitly distinguish whether the target speech has speech flow sound change. On this basis, the intermediate features of the speech flow sound change recognition model for processing the target speech are obtained as reference features. The reference features can characterize the target speech's inclusion of speech flow sound change information from the feature level, such as whether there is speech flow sound change and the phoneme position corresponding to the speech flow sound change. The present application is also configured with an improved speech recognition model. Compared with the traditional speech recognition model, the improved speech recognition model adds the above-mentioned reference features in addition to the traditional audio features in the input dimension, so that the speech recognition model can understand the target speech's inclusion of speech flow sound change information, and transcribe the recognition results on this basis, which can greatly improve the accuracy of the speech recognition results, especially for audio with speech flow sound change, which can greatly improve the speech recognition results and improve the accuracy of the recognition results.

[0097] In some embodiments of the present application, a process of creating a phonological rule base based on phonological knowledge is further introduced. The phonological rule base may contain rules for the occurrence of organized speech flow sound changes in text phoneme sequences.

[0098] Considering that the speech recognition process generally recognizes in units of phonemes, in this embodiment, phonemes can be used to summarize the occurrence rules of speech flow sound changes in text phoneme sequences and create a phonological rule library.

[0099] Among them, phoneme is one of the core concepts of phonology, which refers to the smallest unit of speech in a language that can distinguish meaning. Phoneme is not an actual physical sound, but represents a concept or set of similar sounds. Although these sounds may have slight differences in pronunciation, they do not affect the meaning of words in a specific language environment. An important role of phonemes is to distinguish the meaning of words. For example, / p / and / b / in English are two different phonemes because they can distinguish the meaning of words such as "pat" (tap) and "bat" (bat). Therefore, phonemes are also important modeling units in traditional speech recognition systems.

[0100] Since there are many forms of speech sound changes, this application can organize the occurrence rules of one or more forms of speech sound changes according to business needs and place them in the phonological rule library. In this embodiment, only the speech sound changes in the two forms of connected reading and swallowing in English are used as examples for exemplary explanation:

[0101] First, let's introduce several phonological structures involved in the rules of speech sound change:

[0102] Consonant phonemes: / p / / t / / k / / f / / s / / th / / sh / / ch / / tr / / ts / / b / / d / / g / / v / / z / / dh / / zh / / jh / / dr / / dz / / hh / / m / / n / / ng / / l / / r / ;

[0103] Vowel phonemes: / ih / / ax / / oo / / uh / / ah / / ae / / eh / / iy / / er / / ao / / uw / / aa / / ay / / ey / / oy / / aw / / ow / / ir / / ar / / ur / ;

[0104] Semivowel phonemes: / y / / w / ;

[0105] Monosyllabic words: Some words have only one vowel phoneme in the corresponding phoneme sequence (there is no limit on the number of consonant phonemes).

[0106] On this basis, some of the rules for connected reading (between words) are sorted out, including but not limited to:

[0107] 1. The previous word ends with a consonant phoneme and the next word begins with a vowel phoneme, and the next word is a monosyllabic word, which is easy to be misrecognized as connected. Example: look us -> Lucas.

[0108] 2. The previous word ends with a consonant phoneme and the next word begins with a semi-vowel phoneme, and the next word is a monosyllabic word, which is easy to be misrecognized as connected. Example: thank you.

[0109] 3. The previous word ends with a vowel phoneme + the next word begins with a vowel phoneme, and the next word is a monosyllabic word, which is easy to be misidentified as connected. Example: go away->go way.

[0110] 4. The final phoneme of the previous word / r / + the beginning vowel phoneme of the next word, and the next word is a monosyllabic word, which is easy to be misrecognized as connected. Example: war at -> war rat.

[0111] 5. The final phoneme of the previous word / uh / + the beginning vowel phoneme of the next word -> / uh / , and the next word is a monosyllabic word, which is easy to be misrecognized as connected. Example: allow it -> allow Wit.

[0112] 6. Linked reading only occurs within the same clause and does not span entire sentences or clauses.

[0113] Some of the swallowing rules include but are not limited to:

[0114] 1. The previous word ends with / b / / p / / d / / t / / g / / k / + the next word starts with / b / / p / / d / / t / / g / / k / , and the previous word is a monosyllabic word; the first part is easy to swallow and is missed. Example: bi(g) boy -> B-boy.

[0115] 2. The previous word ends with / t / / d / + the next word starts with / m / / n / , and the previous word is a monosyllabic word. The first part is easy to swallow and is missed. Example: star(t) now ->star now.

[0116] 3. The previous word ends with / t / / d / + the next word starts with / l / , and the previous word is a monosyllabic word. The first part is easy to swallow and is missed. Example: I'(d) like to -> I like to.

[0117] 4. The previous word ends with / b / / p / / d / / t / / g / / k / + the next word starts with / ch / / jh / , and the previous word is a monosyllabic word, the first part is easy to swallow and is missed. Example: roun (d) chart->run chart.

[0118] 5. The previous word ends with / b / / p / / d / / t / / g / / k / + the next word starts with / s / / z / / sh / / th / / f / / v / , and the previous word is a monosyllabic word. The first part is easy to swallow and is missed. Example: Sco(tt) Smith -> Score Smith.

[0119] 6. The previous word ends with / v / + the next word ends with / w / , and the previous word is a monosyllabic word. / v / is easy to swallow and is missed. Example: o(f) water -> a water.

[0120] The above uses English as an example to illustrate the occurrence rules of the two forms of speech flow sound changes, namely, connected speech and swallowed speech, in the text phoneme sequence.

[0121] After obtaining the phonological rule library, the phonological rule library can be used to screen out text segments that are prone to speech flow sound change, and then use these segments to train the target language model that has a greater advantage in speech flow sound change recognition. Here, the "text segments that are prone to speech flow sound change" in this embodiment can be understood as text segments that are likely to undergo speech flow sound change, such as the texts exemplified in the aforementioned linked reading rules and swallowing rules.

[0122] Next, the training process of the target language model is described in detail.

[0123] Step 1) Collect a large amount of text corpus for training language models in speech recognition in advance.

[0124] In step 2, the text corpus in step 1 is mapped into a phoneme sequence corpus according to the pronunciation dictionary in the speech recognition system, and the phonological rule library created in the above-mentioned embodiment is used to filter out text segments that meet the occurrence rules organized in the phonological rule library from the phoneme sequence corpus as text segments that may undergo speech flow sound change.

[0125] Step 3) The target language model is trained using the selected text segments that are likely to undergo speech sound changes.

[0126] The target language model may adopt N-gram or neural network-based solutions. When training the target language model, the text segments that are screened out in step 2) and are likely to undergo speech flow sound changes may be upsampled to increase the number of such text segments. Alternatively, during the training process, the loss penalty for training text segments that are likely to undergo speech flow sound changes may be increased, thereby increasing the recognition probability of the trained target language model for texts that are likely to undergo speech flow sound changes.

[0127] Sampling The method provided in this embodiment can screen out text segments that are likely to undergo speech flow sound changes based on the created phonological rule library, and then explicitly train to obtain a target language model that is more advantageous for texts that are prone to speech flow sound changes. After obtaining the target language model, it can be applied to a variety of tasks to improve the effects of the corresponding tasks. Two optional task applications of the target language model are introduced in the following embodiments of this application.

[0128] In some optional implementations, the speech recognition model in step S120 may be an end-to-end trained speech recognition model, such as an end-to-end speech recognition model using a CNN, RNN or Transformer structure. Alternatively, the speech recognition model may also use a model architecture including an acoustic model and a language model, as shown in FIG. Figure 8 , which illustrates a speech recognition model structure that includes an acoustic model and a language model.

[0129] Speech recognition is: Find the most likely word sequence based on the input observation value sequence O According to the Bayesian criterion, the recognition task can be transformed as follows:

[0130]

[0131] in, It has nothing to do with the recognition result W and can be ignored, so The solution can be further simplified to:

[0132]

[0133] To find the most likely word sequence, the two items on the right side of the above equation must be maximized. Determined by the acoustic model, Determined by the language model.

[0134] The acoustic model is a model trained by speech data.

[0135] Language models are used to represent the probability of word sequences and are trained using text data. Language models can be based on grammatical rules or statistical methods.

[0136] It should be noted here that when the speech recognition model in step S120 adopts a model architecture including an acoustic model and a language model, the language model therein can be a traditional language model or a target language model trained using the method of the aforementioned embodiment, that is, a target language model trained using a text segment in which there is a possibility of sound change in speech flow.

[0137] When the target language model is used, the accuracy of the recognition results for audio with speech flow changes can be further improved.

[0138] In some optional implementations, the recognition result output by the speech recognition model in the above step S120 may include more than two candidate recognition texts and the confidence level corresponding to each candidate recognition text.

[0139] On this basis, this embodiment can directly select a candidate recognition text with the highest confidence as the final recognition text.

[0140] In addition, in this embodiment, the configured target language model can also be used to score each candidate recognition text to obtain a scoring result for each candidate recognition text.

[0141] Here, the target language model may be a target language model trained using the method of the aforementioned embodiment, that is, a target language model trained using a text segment in which a sound change may occur.

[0142] Furthermore, the candidate recognition text with the highest score can be selected as the final recognition text; or, the score result and confidence of each candidate recognition text are added, and the candidate recognition text with the highest score after addition is selected as the final recognition text.

[0143] In this embodiment, by using the target language model to re-score and re-rank the candidate recognition texts, the best recognition result can be selected from the perspective of the language model, thereby further improving the accuracy of the final recognition text.

[0144] In some optional implementations, this embodiment illustrates the training process of the aforementioned speech flow sound change recognition model.

[0145] First, obtain an audio training sample and a corresponding sample label, where the sample label indicates whether the audio training sample has speech flow sound change. For example, using sample label 0 indicates that the audio training sample has speech flow sound change, and using sample label 1 indicates that the audio training sample does not have speech flow sound change.

[0146] The audio training samples and the corresponding sample labels can be obtained through public databases or manual annotation. In addition, considering that such data is relatively small and manual annotation is relatively time-consuming, this embodiment also provides an automated annotation scheme that can automatically annotate whether the audio training samples have speech flow sound changes. The following is an introduction to the annotation scheme:

[0147] Step 1) Obtain the audio training sample and the transcribed text parallel pair corpus.

[0148] Specifically, a large amount of audio-transcribed text parallel pair corpus required for training models in speech recognition can be obtained through a variety of channels.

[0149] Step 2) Use the pronunciation dictionary to map each transcribed text into a phoneme sequence corpus, and use the phonological rule library created in the above embodiment to filter out the target text segment that meets the occurrence rule from the phoneme sequence corpus, and determine the target transcribed text where the target text segment is located.

[0150] Among them, the relevant introduction of the phonological rule library can refer to the relevant description in the previous text, which will not be repeated here. In this step, the phonological rule library can be used to screen out the target text segment that meets the rules of speech flow sound change, and then the target transcription text where the target text segment is located can be determined. The audio training sample corresponding to the target transcription text is an audio that may have speech flow sound change, which can be further screened and confirmed through subsequent steps.

[0151] Step 3) Use a traditional speech recognition system to recognize the audio training samples corresponding to the target transcribed text to obtain the recognized text.

[0152] Here, the traditional speech recognition system can be understood as a recognition system that does not have the ability to accurately recognize audio with speech flow sound changes, or a recognition system that has a low recognition accuracy (such as below a set threshold) for audio with speech flow sound changes. In practical applications, the traditional speech recognition system can use a speech recognition model trained by audio samples that do not distinguish whether there is speech flow sound changes and the corresponding transcription text.

[0153] Step 4) aligns the recognized text of the traditional speech recognition system with the target transcribed text, and determines whether the corresponding recognized text at the position of the target text segment is consistent.

[0154] Among them, the alignment method can adopt the Viterbi algorithm or other text alignment algorithms. If it is found that the recognized text and the target transcribed text are inconsistent at the target text segment position (that is, the text position where speech flow sound change is prone to occur), it can be determined that the traditional speech recognition system has misrecognition, that is, it can be determined that the audio training sample corresponding to the target transcribed text has speech flow sound change at the target text segment position, so the sample label of the audio training sample corresponding to the target transcribed text can be marked as having speech flow sound change. On the contrary, if it is found that the recognized text and the target transcribed text are consistent at the target text segment position (that is, the text position where speech flow sound change is prone to occur), it can be determined that the traditional speech recognition system has accurate recognition, that is, it can be determined that the audio training sample corresponding to the target transcribed text does not have speech flow sound change at the target text segment position, so the sample label of the audio training sample corresponding to the target transcribed text can be marked as having no speech flow sound change.

[0155] At this point, a batch of audio training samples that can distinguish the presence and absence of speech sound changes can be obtained.

[0156] Furthermore, the audio training samples and the corresponding sample labels are used to train the speech flow sound change recognition model.

[0157] In this embodiment, the audio training samples marked with labels of whether there is speech flow sound change can be used to train the speech flow sound change recognition model, and then the trained speech flow sound change recognition model can be used to process the target speech to be recognized to extract reference features for subsequent use.

[0158] In addition, this embodiment also provides a solution for automatically marking speech flow sound change labels of audio training samples, so that audio training samples carrying speech flow sound change labels can be obtained quickly and in batches without manual labeling.

[0159] The speech flow sound changes referred to in the aforementioned embodiments of the present application include but are not limited to connected speech, swallowing, etc. Taking the speech flow sound changes in the form of connected speech and swallowing as an example, the above-mentioned speech flow sound change recognition model can be a connected speech and swallowing recognition model, which is used to recognize whether the input speech contains connected speech or swallowing.

[0160] The following is a description of a speech recognition device provided in an embodiment of the present application. The speech recognition device described below and the speech recognition method described above can be referenced to each other.

[0161] See also Fig. 9 , Fig. 9 A schematic diagram of the structure of a speech recognition device disclosed in an embodiment of the present application.

[0162] like Fig. 9 As shown, the device may include:

[0163] An audio feature extraction unit 11, used to extract audio features of a target speech to be recognized;

[0164] a speech flow sound change recognition unit 12, configured to call a preconfigured speech flow sound change recognition model to process the target speech, and obtain the probability distribution features of the output layer of the speech flow sound change recognition model or the hidden layer features of the intermediate layer output as reference features, wherein the speech flow sound change recognition model is used to recognize whether the input speech has speech flow sound change;

[0165] The feature fusion and recognition unit 13 is used to fuse the audio features and the reference features, and send the fused features to the configured speech recognition model to obtain the recognition results output by the speech recognition model, wherein the speech recognition model is configured to output the speech recognition results based on the input fused features.

[0166] In some possible implementations, the recognition result output by the speech recognition model includes more than two candidate recognition texts and the confidence level corresponding to each of the candidate recognition texts. On this basis, the device of the present application may also include:

[0167] A first result selection unit, used to select a candidate recognition text with the highest confidence as the final recognition text;

[0168] or,

[0169] The second result selection unit is used to use the configured target language model to score each candidate recognition text to obtain a scoring result for each candidate recognition text; select the candidate recognition text with the highest scoring result as the final recognition text; or, add the scoring result and confidence of each candidate recognition text, and select the candidate recognition text with the highest score after addition as the final recognition text.

[0170] In some possible implementations, the target language model is a language model trained using text segments that are likely to undergo speech sound changes.

[0171] In some possible implementations, the above-mentioned speech recognition model is an end-to-end speech recognition model; or the above-mentioned speech recognition model includes an acoustic model and a language model, wherein the target language model is a language model trained using text segments in which there is a possibility of speech flow sound change.

[0172] In some possible implementations, the apparatus of the present application may further include:

[0173] The target language model training unit is used to train the target language model. The training process may include:

[0174] Map the collected text corpus into phoneme sequence corpus using pronunciation dictionary;

[0175] Acquire a configured phonological rule library, wherein the phonological rule library contains the appearance rules of the sorted speech flow sound changes in the text phoneme sequence;

[0176] Using the phonological rule library, selecting text segments that meet the occurrence rule from the phoneme sequence corpus as text segments that may undergo speech flow sound change;

[0177] The target language model is obtained by training the text segments that are likely to undergo speech sound changes.

[0178] In some possible implementations, the apparatus of the present application may further include:

[0179] The speech flow sound change recognition model training unit is used to train the speech flow sound change recognition model. The training process may include:

[0180] Obtaining an audio training sample and a corresponding sample label, wherein the sample label indicates whether the audio training sample has a speech flow sound change;

[0181] The audio training samples and the corresponding sample labels are used to train a speech flow sound change recognition model.

[0182] In some possible implementations, the process of the speech flow sound change recognition model training unit acquiring the audio training samples and the corresponding sample labels includes:

[0183] Obtain audio training samples and transcribed text parallel pair corpus;

[0184] Mapping each of the transcribed texts into a phoneme sequence corpus using a pronunciation dictionary;

[0185] Acquire a configured phonological rule library, wherein the phonological rule library contains the appearance rules of the sorted speech flow sound changes in the text phoneme sequence, and use the phonological rule library to screen out a target text segment that meets the appearance rules from the phoneme sequence corpus, and determine the target transcription text where the target text segment is located;

[0186] Using a traditional speech recognition system to recognize the audio training sample corresponding to the target transcribed text to obtain a recognized text;

[0187] The recognized text is aligned with the target transcribed text, and it is determined whether the corresponding recognized text at the position of the target text segment is consistent. If not, the sample label of the audio training sample corresponding to the target transcribed text is marked as having speech flow sound change. If so, the sample label of the audio training sample corresponding to the target transcribed text is marked as not having speech flow sound change.

[0188] In some optional implementations, the above-mentioned speech flow sound change includes connected speech, swallowed sound, etc. Taking the speech flow sound change including connected speech and swallowed sound as an example, the corresponding speech flow sound change recognition model can be a connected speech and swallowed sound recognition model, which is used to recognize whether the input speech has connected speech or swallowed sound.

[0189] The present application also provides a speech recognition device in an embodiment. Fig.10 As shown, it shows a schematic diagram of the structure of a speech recognition device suitable for implementing the embodiment of the present application. The speech recognition device in the embodiment of the present application may include but is not limited to fixed terminals such as mobile phones, tablet computers, teaching large screens, wearable devices, etc. Fig.10 The voice recognition device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0190] like Fig.10 As shown, the speech recognition device may include a processing device (such as a central processing unit, a graphics processing unit, etc.) 601, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 602 or the program loaded from the storage device 608 to the random access memory (RAM) 603 to implement the speech recognition method of the aforementioned embodiment of the present application. When the speech recognition device is powered on, various programs and data required for the operation of the speech recognition device are also stored in the RAM 603. The processing device 601, the ROM 602 and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.

[0191] Typically, the following devices may be connected to the I / O interface 605: an input device 606 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 607 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 608 including, for example, a memory card, a hard disk, etc.; and a communication device 609. The communication device 609 may allow the speech recognition device to communicate with other devices wirelessly or by wire to exchange data. Although Fig.10 The speech recognition device with various devices is shown, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.

[0192] An embodiment of the present application also provides a computer program product including computer-readable instructions. When the computer-readable instructions are executed on an electronic device, the electronic device implements any of the speech recognition methods provided in the embodiments of the present application.

[0193] A computer-readable storage medium is also provided in an embodiment of the present application. The storage medium carries one or more computer programs. When the one or more computer programs are executed by an electronic device, the electronic device can implement any speech recognition method provided in the embodiment of the present application.

[0194] It should also be noted that the device embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed over multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, in the drawings of the device embodiments provided by the present application, the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines.

[0195] Through the description of the above implementation mode, the technicians in the field can clearly understand that the present application can be implemented by means of software plus necessary general hardware, and of course, it can also be implemented by special hardware including special integrated circuits, special CPUs, special memories, special components, etc. In general, all functions completed by computer programs can be easily implemented by corresponding hardware, and the specific hardware structure used to implement the same function can also be various, such as analog circuits, digital circuits or special circuits. However, for the present application, software program implementation is a better implementation mode in more cases. Based on such an understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a readable storage medium, such as a computer floppy disk, a U disk, a mobile hard disk, a ROM, a RAM, a disk or an optical disk, etc., including a number of instructions to enable a computer device (which can be a personal computer, a training device, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0196] In the above embodiments, all or part of the embodiments may be implemented by software, hardware, firmware or any combination thereof. When implemented by software, all or part of the embodiments may be implemented in the form of a computer program product.

[0197] The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website site, a computer, a training device, or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, training device, or data center. The computer-readable storage medium may be any available medium that a computer can store or a data storage device such as a training device, a data center, etc. that includes one or more available media integrations. The available medium may be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive (SSD)), etc.

[0198] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The various embodiments can be combined as needed, and the same or similar parts can refer to each other.

Claims

1. A speech recognition method, characterized in that: include: Extracting audio features of the target speech to be recognized; Calling a preconfigured speech flow sound change recognition model to process the target speech, and obtaining the probability distribution features of the output layer of the speech flow sound change recognition model or the hidden layer features of the intermediate layer output as reference features, wherein the speech flow sound change recognition model is used to identify whether the input speech has speech flow sound change; fusing the audio features and the reference features, and sending the fused features to a configured speech recognition model to obtain a recognition result output by the speech recognition model, wherein the speech recognition model is configured to output a speech recognition result based on the input fused features; The training process of the speech flow sound change recognition model includes: Obtaining an audio training sample and a corresponding sample label, wherein the sample label indicates whether the audio training sample has a speech flow sound change; The audio training samples and the corresponding sample labels are used to train a speech flow sound change recognition model.

2. The method according to claim 1, characterized in that: The recognition result output by the speech recognition model includes more than two candidate recognition texts and the confidence level corresponding to each of the candidate recognition texts; the method also includes: Select the candidate recognition text with the highest confidence as the final recognition text; or, Using the configured target language model to score each of the candidate recognition texts, and obtaining a scoring result for each of the candidate recognition texts; The candidate recognition text with the highest score is selected as the final recognition text; or, the score result and confidence of each candidate recognition text are added, and the candidate recognition text with the highest score after addition is selected as the final recognition text.

3. The method according to claim 2, characterized in that The target language model is a language model trained using text segments that are likely to undergo speech sound changes.

4. The method according to claim 1, characterized in that: The speech recognition model is an end-to-end speech recognition model; Alternatively, the speech recognition model includes an acoustic model and a target language model, wherein the target language model is a language model trained using text segments in which speech flow sound changes are likely to occur.

5. The method according to claim 3 or 4, characterized in that: The training process of the target language model includes: Map the collected text corpus into phoneme sequence corpus using pronunciation dictionary; Acquire a configured phonological rule library, wherein the phonological rule library contains the appearance rules of the sorted speech flow sound changes in the text phoneme sequence; Using the phonological rule library, selecting text segments that meet the occurrence rule from the phoneme sequence corpus as text segments that may undergo speech flow sound change; The target language model is obtained by training the text segments that are likely to undergo speech sound changes.

6. The method according to claim 1, characterized in that The process of obtaining audio training samples and corresponding sample labels includes: Obtain audio training samples and transcribed text parallel pair corpus; Mapping each of the transcribed texts into a phoneme sequence corpus using a pronunciation dictionary; Acquire a configured phonological rule library, wherein the phonological rule library contains the appearance rules of the sorted speech flow sound changes in the text phoneme sequence, and use the phonological rule library to screen out a target text segment that meets the appearance rules from the phoneme sequence corpus, and determine the target transcription text where the target text segment is located; Using a traditional speech recognition system to recognize the audio training sample corresponding to the target transcribed text to obtain a recognized text; The recognized text is aligned with the target transcribed text, and it is determined whether the corresponding recognized text at the position of the target text segment is consistent. If not, the sample label of the audio training sample corresponding to the target transcribed text is marked as having speech flow sound change. If so, the sample label of the audio training sample corresponding to the target transcribed text is marked as not having speech flow sound change.

7. The method according to claim 1, characterized in that The speech flow sound change includes connected speech and swallowed sound, and the speech flow sound change recognition model is a connected speech and swallowed sound recognition model, which is used to recognize whether the input speech has connected speech or swallowed sound.

8. A speech recognition device, characterized in that: include: An audio feature extraction unit, used to extract audio features of a target speech to be recognized; a speech flow sound change recognition unit, used to call a preconfigured speech flow sound change recognition model to process the target speech, and obtain the probability distribution features of the output layer of the speech flow sound change recognition model or the hidden layer features of the intermediate layer output as reference features, wherein the speech flow sound change recognition model is used to recognize whether the input speech has speech flow sound change; A feature fusion and recognition unit, used to fuse the audio feature and the reference feature, and send the fused feature to a configured speech recognition model to obtain a recognition result output by the speech recognition model, wherein the speech recognition model is configured to output a speech recognition result based on the input fused feature; The training process of the speech flow sound change recognition model includes: Obtaining an audio training sample and a corresponding sample label, wherein the sample label indicates whether the audio training sample has a speech flow sound change; The audio training samples and the corresponding sample labels are used to train a speech flow sound change recognition model.

9. A speech recognition device, characterized in that: include: Memory and processor; The memory is used to store programs; The processor is used to execute the program to implement each step of the speech recognition method as described in any one of claims 1 to 7.

10. A readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, each step of the speech recognition method according to any one of claims 1 to 7 is implemented.

11. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, each step of the speech recognition method as described in any one of claims 1 to 7 is implemented.