Speech recognition method based on Chinese language pronunciation

By converting misidentified sound clips in Chinese speech recognition technology into Chinese characters and comparing pinyin, we extracted negative phrases and added them to the language model, which solved the problem of misrecognition caused by similar pronunciation in Chinese speech recognition and improved recognition accuracy and users. experience.

CN118748019APending Publication Date: 2024-10-08CHIPINTELLI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411133707.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-19
Publication Date
2024-10-08

AI Technical Summary

Technical Problem

When existing speech recognition technology processes Chinese, misrecognition is prone to occur when pronunciations are similar, especially when specific initial consonants or finals are the same, resulting in poor user experience, and existing methods fail to effectively resolve misrecognition. The precise positioning and processing between specific sound clips and Chinese characters.

Method used

By converting misidentified sound clips into Chinese characters, removing tones, and comparing Chinese pinyin, we extracted negative phrases similar to command words and added them to the language model. We used the newly generated language model to perform speech recognition and eliminate tones. and interference from irrelevant pronunciations to improve the recognition rate.

Benefits of technology

It effectively reduces the misrecognition rate of speech recognition, improves the recognition accuracy and robustness of the speech model, and significantly improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118748019A_ABST
    Figure CN118748019A_ABST
Patent Text Reader

Abstract

The invention discloses a speech recognition method based on Chinese language pronunciation, and the method comprises the following steps: S1, finding a misrecognition phenomenon, and determining a command word; s2, converting the sound fragment to obtain a sound fragment document; s3, removing tones of the command words to obtain command word tone-free pronunciation; s4, removing tones from the sound fragment document to obtain sound fragment tone-free pronunciation; s5, comparing the first syllable of the silent pronunciation of the command word with the silent pronunciation of the sound fragment, and finding out the same first syllable; s6, comparing the last syllable with the silent pronunciation of the sound segment, and finding out the same first syllable; s7, obtaining a negative word group; and S8, adding the negative phrase into the language model. According to the method, the negative phrases similar to the command words in the sound segments can be accurately extracted by extracting and comparing the misrecognized command words and the sound segments, the negative phrases are substituted into the voice model, and the recognition rate of the voice model is improved by extracting and expanding the negative phrases.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of speech recognition, and in particular relates to a speech recognition method based on Chinese language pronunciation. Background Art

[0002] With the popularization of smart devices and the rapid development of artificial intelligence technology, speech recognition technology is being used more and more widely as an important way of human-computer interaction. However, current language models still face challenges in processing Chinese, especially when faced with misrecognition caused by similar pronunciations. Its accuracy and robustness face great challenges. Although traditional speech recognition technology can recognize Chinese speech, it is often prone to misrecognition when specific initials or finals are the same. This problem is particularly prominent.

[0003] For example, in devices such as smart voice recognition air conditioners, users may encounter misoperation or misunderstanding when using voice assistants due to the similar pronunciation of sound sources such as TV programs at home and air conditioner control commands, which brings inconvenience and bad experience to users. Although the prior art has proposed some methods to improve the accuracy of speech recognition, such as using more complex neural network structures or increasing the diversity of voice data to train models. However, the precise positioning and processing of specific sound clips and Chinese characters that cause misrecognition has not been effectively solved. The existence of this problem directly affects the practicality and user experience of speech recognition technology. Summary of the invention

[0004] In view of the defects of the above-mentioned prior art, the present invention discloses a speech recognition method based on Chinese pronunciation.

[0005] The speech recognition method based on Chinese language pronunciation of the present invention is characterized by comprising the following steps: S1. Find that the current language model is prone to misrecognition of a certain sound segment, and determine the command word that is the result of misrecognition; S2. Convert the misrecognized sound clips into Chinese characters to obtain a sound clip document in Chinese; S3. Remove the tones from the Chinese Pinyin pronunciation corresponding to the command word in step S1 to obtain a command word composed of several syllables in the order of pronunciation without tone pronunciation A1; S4. Remove the tones from the pronunciation in the sound clip document described in step S2 to obtain a sound clip composed of several syllables in the order of pronunciation without tone pronunciation A2; S5. The first syllable of the command word A1 without tone pronunciation and each syllable of the sound segment A2 without tone pronunciation are compared one by one in Chinese pinyin in the order of pronunciation, and the first syllable of the sound segment without tone pronunciation A2 without tone pronunciation and the command word A1 without tone pronunciation with the same initials and / or finals; After finding it, record the positive sequence number X of the toneless pronunciation in the sound segment; S6. Compare the last syllable of the command word without tone pronunciation A1 with each syllable starting from the X+1 syllable in the sound segment without tone pronunciation A2 in the Chinese phonetic alphabet one by one in the pronunciation order, and find the first syllable in the sound segment without tone pronunciation A2 that has the same initial consonant and / or final as the last syllable of the command word without tone pronunciation A1; After finding it, record the positive sequence number Y of the toneless pronunciation A2 in the sound segment; S7. Take out all syllables between number X and number Y in the sound segment without tone pronunciation to obtain a negative phrase; S8. Add the Chinese character text corresponding to the negative phrase to the language model, and use the newly generated language model for speech recognition.

[0006] Preferably, in step S8, the Chinese character text corresponding to the negative phrase is added to the negative phrase library of the language model as the negative word of the command word in step S1.

[0007] The present invention eliminates the interference of intonation and irrelevant pronunciation by refining and comparing misrecognized command words and sound clips, and can accurately extract negative phrases similar to command words in sound clips, bring the negative phrases into the speech model, and improve the recognition rate of the speech model by refining and expanding the negative phrases. BRIEF DESCRIPTION OF THE DRAWINGS

[0008] Figure 1 The figure shows a specific implementation flow chart of the speech recognition method based on Chinese language pronunciation according to the present invention. DETAILED DESCRIPTION

[0009] In order to more intuitively and clearly describe the specific details of the technical solution of the present invention, a detailed description will be given below in conjunction with specific embodiments and example drawings.

[0010] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in combination with the specific implementation methods of the present invention and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0011] The method for reducing language model misrecognition based on Chinese language pronunciation of the present invention comprises the following steps: S1. Find that the current language model is prone to misrecognition of a certain sound segment, and determine the command word that is the result of misrecognition; S2. Convert the misrecognized sound clips into Chinese characters to obtain a sound clip document in Chinese; S3. Remove the tones from the Chinese Pinyin pronunciation corresponding to the command word in step S1 to obtain a command word composed of several syllables in the order of pronunciation without tone pronunciation A1; S4. Remove the tones from the pronunciation in the sound clip document described in step S2 to obtain a sound clip composed of several syllables in the order of pronunciation without tone pronunciation A2; S5. The first syllable of the command word A1 without tone pronunciation and each syllable of the sound segment A2 without tone pronunciation are compared one by one in Chinese pinyin in the order of pronunciation, and the first syllable of the sound segment without tone pronunciation A2 without tone pronunciation and the command word A1 without tone pronunciation with the same initials and / or finals; After finding it, record the positive sequence number X of the toneless pronunciation in the sound segment; S6. Compare the last syllable of the command word without tone pronunciation A1 with each syllable starting from the X+1 syllable in the sound segment without tone pronunciation A2 in the Chinese phonetic alphabet one by one in the pronunciation order, and find the first syllable in the sound segment without tone pronunciation A2 that has the same initial consonant and / or final as the last syllable of the command word without tone pronunciation A1; After finding it, record the positive sequence number Y of the toneless pronunciation A2 in the sound segment; S7. Take out all syllables between number X and number Y in the sound segment without tone pronunciation to obtain a negative phrase; S8. Add the Chinese character text corresponding to the negative phrase to the language model, and use the newly generated language model for speech recognition.

[0012] The present invention eliminates the interference of intonation and irrelevant pronunciation by refining and comparing misrecognized command words and sound clips, and can accurately extract negative phrases similar to command words in sound clips, bring the negative phrases into the speech model, and improve the recognition rate of the speech model by refining and expanding the negative phrases. Example

[0013] S1. It is found that the current language model is prone to misrecognition of a certain sound clip. The command word corresponding to the sound clip is "turn on a gear", and the pronunciation of the sound clip is "Everyone must cheer up"; S2. Convert the sound clip into Chinese characters to obtain the sound clip document "Everyone must cheer up" S3. Remove the tone from the Chinese character phrase corresponding to the command word "turn on the air conditioner" to obtain four toneless command words with toneless pronunciation A1 "da kai yi dang", which contains 4 syllables; S4.逐个对声音片段文档中的汉字进行汉语拼音去声调转换,得到声音片段无声调发音A2“da jia yi ding yao da qi jing shen lai”,其包含10个音节; S5.将命令词无声调发音“da kai yi dang”的首个音节“da”与声音片段无声调发音“da jia yi ding yao da qi jing shen lai”的每个音节按发音顺序逐个进行汉语拼音对比,找出声音片段无声调发音A2中与命令词无声调发音A1首个音节的声母或韵母相同的首个音节, A2中的第一个音节“da”与A1首个音节的声母和韵母均相同,找到后停止对比,并记录其在声音片段无声调发音中的正序编号X = 1; S6.将命令词无声调发音“da kai yi dang”的最后一个音节“dang”与声音片段无声调发音“da jia yi ding yao da qi jing shen lai”中从第X + 1个开始的每个音节按发音顺序逐个进行汉语拼音对比,找出声音片段无声调发音中与命令词无声调发音首个音节的声母或韵母相同的首个音节,并记录其在声音片段无声调发音中的正序编号Y; 在本实施例中,声音片段无声调发音“da jia yi ding yao da qi jing shen lai”从第X + 1个即第二个音节开始,逐个与“dang”比较,第四个音节“ding”与“dang”声母相同,即Y = 4; S7.在声音片段无声调发音中取出编号X与编号Y之间的所有音节进行重组,即可得到一个音节串,称之为负性词组; 在本实施例中,从声音片段无声调发音A2“da jia yi ding yao da qi jing shenlai”中第一个和第四个音节进行重组,得到负性词组“da jia yi ding”; S8.将负性词组所对应的汉字文本“大家一定”加入到语言模型中,即可实现降低语言模型误识别。

[0014] Language models are usually represented using the chain rule. For example, a sequence of words W is composed of w1, w2, …, wn. Therefore, the language model represents the probability of a certain sequence of words occurring. It needs to combine the output of the HMM acoustic model and then select the sequence of words with the highest output probability as the speech recognition result. This probability will be converted into a specific score for output to determine the speech recognition result.

[0015] Therefore, adding a negative word such as "everyone must" to the negative word group of the language model. When tested in a quiet environment, by monitoring the output of the language model, when playing the sound clip "everyone must cheer up" of a TV program containing "everyone must", the results are as follows: the score for recognizing "turn on a program" is 42, while the score for recognizing "everyone must" is 75. Therefore, the final recognition output result is "everyone must", effectively avoiding the misrecognition of "turn on a program" caused by "everyone must".

[0016]

[0017] Finally, compare and test the language model containing the negative word group "everyone must" with the language model without the negative word group "everyone must"; after 100 times of audio data tests, the number of times the language model without the negative word group "everyone must" is misrecognized as "turn on a program" is 100 times, and the number of times the language model containing the negative word group "everyone must" is misrecognized as "turn on a program" is 0 times. The corresponding command word misrecognition rate drops from 100% to 0%, with an average decrease of 100%.

[0018] Those skilled in the art should understand that the embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present invention can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0019] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, such that the instructions stored in the computer-readable memory produce a manufactured article including an instruction device, and the instruction device implements the functions specified in one process Figure 1 one process or multiple processes and / or blocks Figure 1 the functions specified in one block or multiple blocks.

[0020] The foregoing describes various preferred embodiments of the present invention. Unless the preferred implementation modes in various preferred embodiments are obviously self-contradictory or based on a certain preferred implementation mode, various preferred implementation modes can be arbitrarily superimposed and used in combination. The embodiments and specific parameters in the embodiments are only for clearly describing the invention verification process of the inventor, and are not used to limit the patent protection scope of the present invention. The patent protection scope of the present invention shall still be based on its claims. All equivalent structural changes made using the contents of the description and drawings of the present invention should be included in the protection scope of the present invention.

Claims

1. A speech recognition method based on Chinese pronunciation, characterized in that , including the following steps: S1. Find that the current language model is prone to misrecognition of a certain sound segment, and determine the command word that is the result of misrecognition; S2. Convert the misrecognized sound clips into Chinese characters to obtain a sound clip document in Chinese; S3. Remove the tones from the Chinese Pinyin pronunciation corresponding to the command word in step S1 to obtain a command word composed of several syllables in the order of pronunciation without tone pronunciation A1; S4. Remove the tones from the pronunciation in the sound clip document described in step S2 to obtain a sound clip composed of several syllables in the order of pronunciation without tone pronunciation A2; S5. The first syllable of the command word A1 without tone pronunciation and each syllable of the sound segment A2 without tone pronunciation are compared one by one in Chinese pinyin in the order of pronunciation, and the first syllable of the sound segment without tone pronunciation A2 without tone pronunciation and the command word A1 without tone pronunciation with the same initials and / or finals; After finding it, record the positive sequence number X of the toneless pronunciation in the sound segment; S6. Compare the last syllable of the command word without tone pronunciation A1 with each syllable starting from the X+1 syllable in the sound segment without tone pronunciation A2 in the Chinese phonetic alphabet one by one in the pronunciation order, and find the first syllable in the sound segment without tone pronunciation A2 that has the same initial consonant and / or final as the last syllable of the command word without tone pronunciation A1; After finding it, record the positive sequence number Y of the toneless pronunciation A2 in the sound segment; S7. Take out all syllables between number X and number Y in the sound segment without tone pronunciation to obtain a negative phrase; S8. Add the Chinese character text corresponding to the negative phrase to the language model, and use the newly generated language model for speech recognition.

2. The method for speech recognition based on Chinese pronunciation as claimed in claim 1, characterized in that: In step S8, the Chinese character text corresponding to the negative phrase is added to the negative phrase library of the language model as the negative word of the command word in step S1.