Voice interaction method and device, electronic equipment, vehicle and computer program product
By generating a hot word library in the interactive interface and performing phoneme text matching and correction, the problem of low recognition accuracy in speech recognition technology is solved, and higher accuracy in page element manipulation is achieved.
Patent Information
- Application Number
- CN202410919791.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-09
- Publication Date
- 2024-09-17
AI Technical Summary
Existing speech recognition technology has low recognition accuracy when operating visible elements on the page through voice, and is limited by the influence of uncommon words and different languages.
By generating a hot word database in the interactive interface, each hot word corresponds to a page element. The phoneme text of the initial recognition result is matched with the phoneme text of the hot word, and the successfully matched target hot word is obtained for correction, thereby controlling the response of the page element. .
It improves the accuracy of voice control page elements, reduces the impact of rare words and different languages on recognition, and improves recognition accuracy.
Smart Images

Figure CN118658474A
Abstract
Description
Technical Field
[0001] The present application relates to the field of speech recognition technology, and in particular to a speech interaction method, device, electronic device, vehicle and computer program product. Background Art
[0002] With the continuous development of science and technology, voice recognition technology has begun to be applied to various fields, providing convenience for people's work and life. For example, through voice recognition technology, users can interact with the car computer by voice, realizing the "see and say" function. Under the "see and say" function, users can control the visible elements of the current page by voice.
[0003] Currently, the solution of controlling visible elements on a page through voice relies on Automatic Speech Recognition (ASR) technology. The accuracy of voice recognition directly affects the accuracy of identifying the page elements to be controlled.
[0004] However, due to the limitations of voice recognition technology, the accuracy of identifying the page elements to be manipulated in the process of operating visible elements on the page through voice is currently low. Summary of the invention
[0005] In view of this, the present application proposes a voice interaction method, device, electronic device, vehicle and computer program product, which can improve the accuracy of identifying the page elements to be controlled in the process of operating the visible elements in the page through voice.
[0006] The technical solutions proposed in this application are as follows:
[0007] In a first aspect, an embodiment of the present application provides a voice interaction method, the method comprising:
[0008] When an interactive interface is displayed, a hot word library is generated based on text information in the interactive interface, wherein each hot word in the hot word library corresponds to a page element in the interactive interface; when a user's interactive voice is received, the phoneme text of the initial recognition result is matched with the phoneme text of each hot word according to similarity to obtain a successfully matched target hot word, wherein the initial recognition result is text information obtained by recognizing the interactive voice; the initial recognition result is corrected using the target hot word to obtain a correction result; and based on the correction result, the corresponding page element in the interactive interface is controlled to respond.
[0009] Optionally, before matching the phoneme text of the initial recognition result with the phoneme text of each of the hot words according to similarity to obtain a successfully matched target hot word, the method further includes: when the target information includes a target character, obtaining the phoneme text of the target character according to the pronunciation of the target character in a first language, wherein the target information includes: the initial recognition result or the hot word, and the target character includes: at least one of a letter and a symbol; splicing the phoneme text of the target character to the phoneme text of the remaining text information in the first language to obtain the phoneme text of the target information, wherein the remaining text information includes text information in the target information other than the target character.
[0010] Optionally, in the case where the target character includes: a word in the second language composed of multiple letters, obtaining the phonetic text of the target character according to the pronunciation of the target character in the first language includes: determining a transliteration result corresponding to the target character based on a transliteration word library; wherein the transliteration word library includes multiple words in the second language and the transliteration result of each word in the first language; and calculating the phonetic text of the transliteration result corresponding to the target character to obtain the phonetic text of the target character.
[0011] Optionally, when the target character includes a single letter or a non-word combination of multiple letters, the phonetic text of the target character is obtained according to the pronunciation of the target character in the first language, including: obtaining the phonetic text of each letter based on the pronunciation of each letter in the first language; and concatenating the phonetic texts of each letter in the target character to generate the phonetic text of the target character.
[0012] Optionally, before matching the phoneme text of the initial recognition result with the phoneme text of each of the hot words according to similarity to obtain a successfully matched target hot word, the method further includes: when the initial recognition result or the hot word includes numbers, adjusting the numbers to Arabic numerals; splicing the Arabic numerals to the phoneme text of the remaining text information in the first language to obtain the phoneme text of the initial recognition result or the phoneme text of the hot word, wherein the remaining text information includes text information other than numbers in the initial recognition result or text information other than numbers in the hot word.
[0013] Optionally, when a target page element in the interactive interface includes a control for adjusting a parameter value within a target range, the hot word corresponding to the target page element includes the target range.
[0014] Optionally, the phoneme text of the initial recognition result is matched with the phoneme text of each of the hot words according to similarity to obtain a successfully matched target hot word, including: matching the phoneme text of the initial recognition result with the phoneme text of each of the hot words according to similarity; and determining the hot word with the highest similarity as the target hot word.
[0015] Optionally, generating a hot word library based on text information in the interactive interface includes: determining an area of interest in the interactive interface according to the user's attention to each area in the interactive interface; and generating a hot word library based on text information in the area of interest.
[0016] In a second aspect, an embodiment of the present application provides a voice interaction device, the device comprising:
[0017] A hot word library generation module is used to generate a hot word library based on text information in the interactive interface when the interactive interface is displayed, wherein each hot word in the hot word library corresponds to a page element in the interactive interface; a hot word matching module is used to match the phoneme text of the initial recognition result with the phoneme text of each hot word according to similarity when receiving the user's interactive voice, so as to obtain a successfully matched target hot word, wherein the initial recognition result is the text information obtained by recognizing the interactive voice; a correction module is used to correct the initial recognition result using the target hot word to obtain a correction result; a control module is used to control the corresponding page element in the interactive interface to respond based on the correction result.
[0018] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a memory and a processor; wherein the memory is used to store programs; and the processor is used to implement any of the above-described voice interaction methods by running the programs in the memory.
[0019] In a fourth aspect, an embodiment of the present application provides a vehicle, comprising a controller; the controller is configured to implement any of the voice interaction methods described above.
[0020] In a fifth aspect, an embodiment of the present application provides a storage medium, on which a computer program is stored. When the computer program is executed by a processor, the voice interaction method described in any one of the above is implemented.
[0021] In a sixth aspect, an embodiment of the present application provides a computer program product or a computer program, wherein the computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium; a processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes any one of the voice interaction methods described above.
[0022] The voice interaction method proposed in the present application can generate a hot word library based on the text information in the interactive interface when the interactive interface is displayed, wherein each hot word in the hot word library corresponds to a page element in the interactive interface. Then, after receiving the interactive voice of the user, the target hot word is first matched in the hot word library, and then the initial recognition result of the interactive voice is corrected using the target hot word. Finally, the corresponding page element in the interactive interface is controlled to respond using the correction result. Not only the purpose of controlling the visible elements in the page by voice is achieved. At the same time, correcting the initial recognition result using the target hot word can break through the limitations of voice recognition technology and improve the accuracy of identifying the page elements to be controlled. In particular, the technical solution of the present application matches the phoneme text of the initial recognition result with the phoneme text of each of the hot words according to the similarity to obtain the target hot word that is successfully matched. The influence caused by uncommon characters, different languages, etc. can be reduced, thereby further improving the accuracy of identifying the page elements to be controlled. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are merely embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.
[0024] Figure 1 It is a flow chart of a voice interaction method provided in an embodiment of the present application.
[0025] Figure 2 It is a schematic diagram of display content of a vehicle screen provided in an embodiment of the present application.
[0026] Figure 3 This is a schematic diagram of display content of another vehicle screen provided in an embodiment of the present application.
[0027] Figure 4 It is a structural diagram of a voice interaction device provided in an embodiment of the present application.
[0028] Figure 5 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0029] 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.
[0030] Overview
[0031] As mentioned in the background technology section, with the continuous development and application of voice recognition technology, it has provided great convenience to people's work and life. Another important application of current voice recognition technology is that users can control the visible elements of the current page through voice on smart screen devices. This is what we often call the "see and say" function. For example, in the application of the "see and say" function on the car computer, after the user sees the content displayed on the car computer screen, he only needs to say the content displayed in a certain page element to trigger the page element. Users do not need to operate by hand, which improves driving safety.
[0032] However, the way and specific content displayed in the interactive interface are usually not fixed, and may involve some rare characters, texts in different languages, symbols, etc. Limited by voice recognition technology, the accuracy of identifying the page elements to be manipulated is low in the process of operating the visible elements on the page through voice.
[0033] Based on this, the embodiments of the present application provide a voice interaction method, device, electronic device, vehicle and computer program product, which can achieve the purpose of controlling visible elements in a page through voice. At the same time, using the target hot words to correct the initial recognition results of the interactive voice can break through the limitations of voice recognition technology and improve the accuracy of identifying the page elements to be controlled. In particular, the technical solution of the present application matches the phoneme text of the initial recognition result with the phoneme text of each of the hot words according to the similarity to obtain a successfully matched target hot word. The impact caused by uncommon characters, different languages, etc. can be reduced, thereby further improving the accuracy of identifying the page elements to be controlled.
[0034] Exemplary Methods
[0035] The present application embodiment provides a voice interaction method, which can be executed by an electronic device, which can be any device with data and instruction processing functions, such as a computer, an intelligent terminal, a server, a car computer, etc. Figure 1 As shown, the method includes:
[0036] S101: When an interactive interface is displayed, a hot word library is generated based on text information in the interactive interface.
[0037] In this step, the interactive interface is the interface displayed by the electronic device. For example, when the electronic device is a smart terminal, the interactive interface can be the interface displayed on the screen of the smart terminal. For another example, when the electronic device is a car computer, the interactive interface can be the interface displayed on the car computer display screen. In some embodiments, the interactive interface can be a page displayed to the user when the electronic device runs an application. The interactive interface may include: page elements associated with the functions / services that the current page can provide. This application does not limit the functions that the current page can provide and the specific content of the page elements. For example, when the interactive interface is a page displayed to the user when the electronic device runs a music-type application, the interactive interface can be any page in the application (such as the application homepage, the play page when playing a certain piece of music, etc.). The page elements in the interactive interface can be page elements associated with the functions that the page can provide (such as a function control to jump to the next piece of music).
[0038] It is understandable that in the scenario where the visible elements in the page are operated by voice, the interactive voice is mostly related to the page elements in the interactive interface. Moreover, the page elements in the interactive interface are associated with the text information displayed thereon. In some embodiments, the function of a certain page element is consistent with the text information displayed thereon. For example, when the interactive interface is a music list page, the music information of each piece of music in the music list is displayed in the corresponding page element. Therefore, the interactive voice is mostly related to the text information in the interactive interface. To facilitate the subsequent correction of the voice recognition results of the interactive voice. Here, a hot word library will be generated based on the text information in the interactive interface, wherein each hot word in the hot word library corresponds to a page element in the interactive interface. For example, in the aforementioned example where the interactive interface is a music list page, the music information of each piece of music can be registered as a hot word, thereby forming a hot word library for subsequent use.
[0039] In some embodiments, each time the interactive interface is displayed, a hot word library corresponding to the interactive interface can be generated once, so that subsequent users can manipulate the page elements in the interactive interface. In some embodiments, the hot word library can also be pre-generated before the interactive interface is displayed, and stored in the cloud. When the interactive interface is displayed, the hot word library is directly obtained from the cloud. In some embodiments, the common vocabulary of each interactive scene can also be determined based on different interactive scenes to form the hot word text. For example, the interactive scenes can be divided into car scenes, life scenes, work scenes, business scenes in a specific field, etc., and then the common vocabulary of different scenes is obtained to form a hot word library, and it is stored in the cloud. When the interactive interface is displayed, the hot word library is directly obtained from the cloud.
[0040] S102: When receiving the interactive voice of the user, the phoneme text of the initial recognition result is matched with the phoneme text of each hot word according to the similarity to obtain the successfully matched target hot word.
[0041] In this step, the interactive voice may be the user's voice data collected when the interactive interface is displayed. In most cases, the interactive voice will contain relevant information about the page elements that the user wants to manipulate. Therefore, the user can manipulate the page elements in the interactive interface through voice. The initial recognition result is the text information obtained by recognizing the interactive voice. The recognition process is not limited here. For example, the interactive voice may be subjected to voice recognition through ASR to obtain a voice recognition text, i.e., the initial recognition result. It should be noted that in the voice recognition process, based on the semantic understanding of the interactive voice, text, numbers, punctuation marks, special symbols, etc. in the interactive voice can be recognized. Based on this, in an embodiment of the present application, the initial recognition result includes at least one of text text, symbol text, and digital text. Among them, text text refers to text composed of characters, and different languages correspond to different types of text text. For example, the text corresponding to Chinese is Chinese character text, and the text corresponding to English is English text; symbol text refers to text composed of symbols, and symbol text includes punctuation marks, unit symbols, etc., which are not limited in this embodiment; digital text refers to text composed of numbers, and digital text includes Arabic numerals and digital representation texts in different languages, etc. For example, the digital representation text corresponding to Chinese includes "one, two, three,..." and "one, two, three,...", and the digital representation text corresponding to English includes "one, two, three,..."
[0042] Phonetic text refers to text expressed in phonemes. Phonemes are the basic units in phonetics. They are the smallest discernible segments that make up the phonemes in a language. I will not go into detail about phonemes here. It is understandable that the phonemes in different languages are not the same. For example, the phonetic text of "apple" in English is As for Chinese, in the Pinyin system, each Pinyin letter or letter combination represents a phoneme, and these phonemes are the basic sound units that constitute Chinese. Therefore, the phoneme conversion text corresponding to Chinese can be expressed using Pinyin, for example, the phoneme text of "apple" in Chinese is "pingguo". In the embodiment of the present application, the phoneme text of the initial recognition result and the phoneme text of the hot word are phoneme texts in the same language. In some embodiments, when different phoneme texts are matched according to similarity, the two that are successfully matched can be regarded as the two with the greatest similarity and the similarity exceeds a certain threshold. The target hot word obtained by matching the similarity of the phoneme text can be regarded as the hot word in the hot word library that is closest to / same as the initial recognition result. In some embodiments, the phoneme text is a text generated by phonemes in Chinese, such as Pinyin. For polyphonic characters and uncommon characters in Chinese characters, there is not much difference in the matching process of the phoneme text. For example, a hot word is Longhu Weilan Xiangdi. Due to the presence of polyphonic characters, even if the initial recognition result is Weilan Xiangdi, it will not affect the recognition of the target hot word. Because the Chinese pinyin of the initial recognition result and the hot word are both weilanxiangti.
[0043] S103: Correcting the initial recognition result using the target hot word to obtain a corrected result.
[0044] In this step, the target hot word is not necessarily completely consistent with the initial recognition result. In some embodiments, it can be first determined whether the two are completely consistent. If they are completely consistent, either one is selected as the correction result. If the two are not completely consistent. Part or all of the target hot words can be selected to replace the initial recognition result, and the replacement result is used as the correction result. For example, the target hot word is abcd, and the initial recognition result is aa. Then when the target hot word is used to correct the initial recognition result, aa is replaced with abcd. Therefore, the correction result is abcd. In a specific example, when the movie names of multiple movies are displayed on the interactive interface, each movie name is registered as a hot word in the hot word library. Assume that the target hot word is Xihong City XXX. The initial recognition result is Tomato XXX / Open Tomato XXX / I want to see Tomato XXX. Then, when using Xihong City XXX to correct Tomato XXX / Open Tomato XXX / I want to see Tomato XXX, "Xihong City XXX" is used to replace "Tomato XXX", and the correction result obtained is: Xihong City XXX / Open Xihong City XXX / I want to see Xihong City XXX.
[0045] In order to facilitate the user to perceive the correction process, in some embodiments, after the initial recognition result is identified, the initial recognition result can be displayed on the display interaction interface, and after the correction result is obtained, the displayed initial recognition result can be replaced with the correction result display. For example, the text that needs to be corrected in the initial recognition result can be deleted word by word, and the replaced text of the correction result can be displayed one by one at the corresponding position.
[0046] In addition, the corresponding page elements can be displayed with a highlight effect, for example, the corresponding page elements can be enlarged or flashed, and the replaced text can be moved from the position of the corresponding page element to the display position of the correction result to replace the displayed initial recognition result with the correction result display.
[0047] S104: Control corresponding page elements in the interactive interface to respond based on the correction result.
[0048] In this step, the corresponding page element in the control interaction interface responds, which may be triggering the page element. Among them, the response caused by triggering the page element may be the same as the response caused by the user manually triggering the page element. It is understandable that the page element may be a page element that provides a certain function in the interactive interface. In different application scenarios, the functions of page elements are different, and this application does not limit the functions of page elements / the response process of page elements. For example, in the car computer scenario, the corresponding page element in the control interaction interface responds. It can be understood that any page element in the current display page of the car computer display screen is controlled to respond.
[0049] Since each hot word in the hot word library corresponds to a page element in the interactive interface, the target hot word and the correction result of the target hot word also correspond to a page element in the interactive interface. When the page element is controlled to respond based on the correction result, the page element corresponding to the correction result or the target hot word is selected for response.
[0050] To facilitate understanding, the present application is illustrated with a specific example, but is not limited to this example. Assume that the page elements of the current interactive interface include: a "window" control for triggering the display of the window control page, a "seat" control for triggering the display of the seat control page, a "light" control for triggering the display of the light control page, and an "air conditioning" control for triggering the display of the air conditioning control page. If the correction result obtained through the above S101 to S103 is seat or open seat. Then, the "seat" control responds, thereby triggering the display of the seat control page. Similarly, if the correction result obtained through the above S101 to S103 is air conditioning or turn on air conditioning. Then, the "air conditioning" control responds, thereby triggering the display of the air conditioning control page. The process of the remaining controls responding is similar to the process of the aforementioned "seat" control and "air conditioning" control responding, which will not be repeated here.
[0051] Furthermore, after triggering the display of other pages, the current interactive interface changes accordingly. For example, after triggering the display of the seat control page, the current interactive interface changes to the seat control page. In some embodiments, after the current interactive interface changes, the aforementioned S101 to S104 can continue to be executed in the current interactive interface to achieve the response of the corresponding page elements in the current interactive interface. For example, by continuing to execute the aforementioned S101 to S104 in the seat control page, the controls such as the "straighten seat back" control and the "seat heating" control in the seat control page are controlled to respond, so as to achieve the purpose of straightening the seat back and heating the seat.
[0052] In an embodiment of the present application, a hot word library can be generated based on the text information in the interactive interface when the interactive interface is displayed, wherein each hot word in the hot word library corresponds to a page element in the interactive interface. Then, after receiving the user's interactive voice, the target hot word is first matched in the hot word library, and then the initial recognition result of the interactive voice is corrected using the target hot word. Finally, the corresponding page element in the interactive interface is controlled to respond using the correction result. Not only the purpose of controlling the visible elements in the page by voice is achieved. At the same time, correcting the initial recognition result using the target hot word can break through the limitations of voice recognition technology and improve the accuracy of identifying the page elements to be controlled. In particular, the technical solution of the present application matches the phoneme text of the initial recognition result with the phoneme text of each hot word according to the similarity to obtain a successfully matched target hot word. The impact caused by uncommon characters, different languages, etc. can be reduced, thereby further improving the accuracy of identifying the page elements to be controlled.
[0053] In order to reduce the influence of letters and symbols on the accuracy of identifying the page elements to be manipulated, in some embodiments of the present application, the phoneme text of the initial recognition result is matched with the phoneme text of each hot word according to the similarity, and before obtaining the successfully matched target hot word, the method further includes:
[0054] In the case where the target information includes a target character, obtaining a phoneme text of the target character according to the pronunciation of the target character in the first language, wherein the target information includes: an initial recognition result or a hot word, and the target character includes: at least one of a letter and a symbol;
[0055] The phoneme text of the target character is concatenated with the phoneme text of the remaining text information in the first language to obtain the phoneme text of the target information, wherein the remaining text information includes text information in the target information except the target character.
[0056] It should be noted that in different scenarios, the text information of the interactive interface is not the same. This often leads to rich and complex text information in the interactive interface. For example, the text information in the interactive interface may include letters, symbols, etc. For example, the text information in the interactive interface can include Teacher Tony, Deep Love, ℃, %, etc. Letters and symbols are different from traditional characters and are often difficult to process. If the letters and symbols are directly deleted from the original text (hot word or initial recognition result), there is a high probability that it will affect the confirmation of the target hot word, and further affect the accuracy of identifying the page element to be manipulated. Therefore, in the embodiments of the present application, the corresponding phoneme text will be generated based on the pronunciation of the letters and symbols in the first language, and it will be spliced with the phoneme text of the remaining text information in the first language to obtain the phoneme text of the initial recognition result or the phoneme text of the hot word.
[0057] In some embodiments, if the first language is set to Chinese, the corresponding phoneme text can be obtained according to the pronunciation of the letters and symbols in Chinese. For example, for the letter "tony", the corresponding phoneme text can be "tuoni". For the letter "E", the corresponding phoneme text can be "yi". Similarly, for symbols, the corresponding phoneme text can be as shown in Table 1 below:
[0058]
[0059] Table 1
[0060] In the embodiments of the present application, the letters and symbols in the initial recognition result and the hot word can be processed accordingly, so as to reduce the impact of the letters and symbols on the accuracy of identifying the page element to be manipulated.
[0061] In some embodiments of the present application, when the target character includes a word in a second language composed of multiple letters, obtaining the phoneme text of the target character according to the pronunciation of the target character in the first language includes:
[0062] Determining the transliteration result corresponding to the target character based on the transliteration library; wherein, the transliteration library includes multiple words in the second language and the transliteration results of each word in the first language;
[0063] Calculating the phoneme text of the transliteration result corresponding to the target character to obtain the phoneme text of the target character.
[0064] It should be noted that when the initial recognition result or hot word involves two or more languages, in order to accurately obtain the phoneme text of the initial recognition result or hot word, it is necessary to support the conversion of phoneme text in multiple languages at the same time. This will not only increase the complexity of the processing process, but also consume more computing resources of the hardware. Therefore, the embodiments of the present application will use the phoneme text of the word in the second language in the first language to replace its phoneme text in the second language. For example, when the first language is Chinese and the second language is English, if the word is "wonderful" and its transliteration result is "wandefu", then its phoneme in Chinese can be "wandefu". Similarly, for the word "tony" with the transliteration result of "tuoni", its phoneme in Chinese can be "tuoni". For the word "bus" with the transliteration result of "bashi", its phoneme in Chinese can be "bashi". For the word "tony" with the transliteration result of "tuoni", its phoneme in Chinese can be "tuoni". Of course, the second language can also be the representation method of popular terms formed on the Internet. For example, for the word "jio" with the transliteration result of "jiao", its phoneme in Chinese can be "jiao". It should be noted that the second language can be any language or language expression habit different from the first language, which will not be elaborated here one by one.
[0065] It can be understood that after using the phoneme text of the word in the second language in the first language to replace its phoneme text in the second language, not only can the problem of excessive complexity of the processing process and excessive consumption of computing resources by the hardware be avoided, but also the accuracy of recognizing the target hot word can be improved. For example, the hot word is "tony teacher", and its phoneme text in the first language is "tuonilaoshi". The initial recognition result is "tuoni teacher", and its phoneme text in the first language is also "tuonilaoshi". Although the hot word is different from the initial recognition result, when recognizing the target hot word, "tony teacher" can still be determined as the target hot word.
[0066] In some embodiments, a word library can be configured and updated to store the specific representations and corresponding relationships of the same word in the first language and the second language. For example, it is stored in the form of word pairs (tony - tuoni; bus - bashi; jio - jiao). Further, the word library can be set in the cloud to reduce the pressure on the electronic device. When setting up the word library, the word library is used to directly replace the words in the second language in the initial recognition result and the hot word with the transliteration results in the first language. Then, based on the processing result, the corresponding phoneme text is made or generated.
[0067] In the embodiments of the present application, when the initial recognition result or hot word involves two or more languages, the phoneme text of the word in the second language in the first language is used to replace its phoneme text in the second language. This can avoid the problem of excessive complexity of the processing process and excessive consumption of computing resources by the hardware.
[0068] In some embodiments of the present application, when the target character includes a single letter or a non-word combination composed of multiple letters, obtaining the phoneme text of the target character according to the pronunciation of the target character in the first language includes:
[0069] Based on the pronunciation of each letter in the first language, obtaining the phoneme text of each letter;
[0070] Concatenating the phoneme texts of the letters in the target character to generate the phoneme text of the target character.
[0071] It should be noted that the situation where the target character includes a single letter or a non-word combination composed of multiple letters is similar to the situation where the target character includes symbols in the above embodiments. Among them, a single letter can be, for example, the "E" in "一往情深". A non-word combination composed of multiple letters can be, for example, YY, DD, GG, MM, etc. A single letter and a non-word combination composed of multiple letters are different from traditional characters and are often difficult to process. If the single letter and the non-word combination composed of multiple letters are directly deleted from the original text (hot word or initial recognition result), it is very likely to affect the confirmation of the target hot word, and further affect the accuracy of identifying the page element to be manipulated. For this reason, the embodiments of the present application will generate corresponding phoneme texts based on the pronunciation of each letter in the first language, and concatenate them with the phoneme texts of the remaining text information in the first language to obtain the phoneme text of the initial recognition result or the phoneme text of the hot word. For example, when the first language is Chinese, if the single letter is "E", then its phoneme in Chinese can be "yi". Similarly, if the non-word combination is YY, DD, GG, MM, then their phonemes in Chinese can be "waiwai", "didi", "gege", "meimei" respectively.
[0072] It can be understood that the accuracy of identifying the target hot word can also be improved through the above processing in this embodiment. For example, the hot word is "E往情深", and its phoneme text in the first language is "yiwangqingshen". The initial recognition result is "一往情深", and its phoneme text in the first language is "yiwangqingshen". Although the hot word is different from the initial recognition result, when identifying the target hot word, "E往情深" can still be determined as the target hot word.
[0073] In the embodiments of the present application, corresponding processing can be performed on the letters and non-word combinations in the initial recognition result and the hot word, so as to reduce the influence of the letters and non-word combinations on the accuracy of identifying the page element to be manipulated.
[0074] In order to reduce the influence on the page element to be manipulated due to different digital expressions or understandings, before matching the phoneme text of the initial recognition result with the phoneme text of each hot word according to the similarity to obtain the successfully matched target hot word, the method further includes:
[0075] When the initial recognition result or hot words include numbers, the numbers are adjusted to Arabic numerals;
[0076] Arabic numerals are concatenated to the phoneme text of the remaining text information in the first language to obtain the phoneme text of the initial recognition result or the phoneme text of the hot word, wherein the remaining text information includes the text information other than numerals in the initial recognition result or the text information other than numerals in the hot word.
[0077] It should be noted that the same number has multiple ways of expression, for example, one, one, and 1 all represent the same number. Another example is that the same expression can represent different numbers, for example, 12 can represent two numbers, 1 and 2, or it can represent a number, 12. Therefore, if there are different understandings or expressions of numbers in the initial recognition results and hot words, it will inevitably affect the confirmation of the target hot words, and ultimately affect the accuracy of identifying the page elements to be manipulated. Moreover, the number is usually the key information. For example, the hot word or initial recognition result of adjusting the air-conditioning temperature to 26 degrees. 26 should not be deleted as key information, otherwise, even if it will not affect the confirmation of the target hot word, the page elements may not be correctly manipulated due to the lack of key information. For this reason, the embodiment of the present application will use a unified expression method to represent the numbers. For example, all numbers are adjusted to Arabic numerals. In some embodiments, the numbers can also be uniformly adjusted to any other identical digital representation method. For example, all numbers are adjusted to Roman numerals.
[0078] In the embodiment of the present application, a unified representation method is used to represent the numbers in the initial recognition results and hot words, which can reduce the impact of different numerical expressions or different understandings on the recognition of the page elements to be manipulated.
[0079] In some embodiments of the present application, when a target page element in an interactive interface includes a control for adjusting a parameter value within a target range, a hot word corresponding to the target page element includes the target range.
[0080] It should be noted that for page elements associated with numerical ranges, registering a hot word for each number in the numerical range will result in too many hot words. Therefore, this embodiment can greatly reduce the number of hot words in the hot word library by registering a numerical range threshold or directly registering a numerical range as a hot word. In some embodiments, the hot word library also includes the interval between adjacent numbers in the numerical range, the number of numbers, etc. The target range is the numerical range of the page element.
[0081] For example, if the application scenario of the present application is a vehicle-machine interaction scenario, for the page element for setting brightness, the corresponding hot word = brightness${1-100}, indicating that this hot word can match any number for adjusting brightness in the range of brightness 1 to brightness 100. For another example, for the page element for setting temperature, the corresponding hot word = temperature${16.0-30.0, 0.5}, indicating that this hot word can match any number for adjusting temperature in the range of temperature 16.0 to temperature 30.0, and the adjustment step is 0.5 degrees.
[0082] In the embodiment of the present application, hot words can be registered based on the numerical range of the page element, thereby avoiding the problem of too many hot words in the hot word library due to the existence of the numerical range.
[0083] In some embodiments of the present application, the phoneme text of the initial recognition result is matched with the phoneme text of each hot word according to the similarity to obtain the successfully matched target hot words, including:
[0084] The phoneme text of the initial recognition result is matched with the phoneme text of each hot word according to the similarity; the hot word with the highest similarity is determined as the target hot word.
[0085] It should be noted that in the case of long hot words, the user may have only said part of the content. At this time, the matching degree of the initial recognition result and all hot words will not be too high. In the embodiment of the present application, the hot word with the highest similarity will be selected as the target hot word, so that the target hot word can still be matched. For example, the hot word is "Yang Kang" healing classical song list, the user only said part of the content, and the initial recognition result obtained is Yang Kang healing. If the conventional matching method is used, it is obvious that Yang Kang healing is completely different from the "Yang Kang" healing classical song list, and the two will not match successfully. In the implementation mode of the present application, the two are converted into phoneme texts, yangkangliaoyugudiangedan and yangkangliaoyu, respectively. The similarity of the two phoneme texts is the highest, and they can be matched successfully, and the target hot word is finally obtained: "Yang Kang" healing classical song list. The target hot word can then be displayed on the screen, and the page element corresponding to the target hot word can be triggered.
[0086] In the embodiment of the present application, for a long hot word, the requirements on the user can be reduced. When the user speaks part of the content, the corresponding page element is controlled to respond.
[0087] In some embodiments of the present application, generating a hot word library based on text information in the interactive interface includes:
[0088] According to the user's attention to each area in the interactive interface, an area of interest is determined in the interactive interface; and a hot word library is generated based on text information in the area of interest.
[0089] It should be noted that the user's interactive voice is usually related to the page elements of interest in the interactive interface. Therefore, in the process of generating a hot word library, the hot word library can be generated only based on the page elements of interest to the user, thereby avoiding excessive data volume in the hot word library. In this embodiment, the user's area of interest in the interactive interface is first determined based on the user's attention, and then the page elements in the area of interest are regarded as page elements of interest to the user. And a hot word library is generated based on the text information in the area of interest. Among them, the user's attention to each area can be determined by the user's line of sight focus, the user's voice, the user's action, etc., which is not limited here. For example, the position of the user's line of sight focus in the interactive interface can be calculated, and then the range with the position as the center and the target distance as the radius is regarded as the area of interest, and then a hot word library is generated based on the text information in the area of interest.
[0090] In some embodiments, the content that the user is interested in can be determined directly based on data in different modes of the user (such as the user's visual focus, the user's voice, the user's action, etc.), and then a hot word library is generated based on the content that the user is interested in. For example, the position of the user's visual focus on the interactive interface can be calculated, and then a hot word library is generated based on text information within a range with the target distance as the radius and the position as the center.
[0091] In the embodiment of the present application, a hot word library can be generated based only on the page elements that the user is interested in, thereby avoiding the problem of excessive data volume in the hot word library.
[0092] For ease of understanding, the method provided in the present application is described below using an application in a vehicle-computer scenario as an example, but the method provided in the present application is not limited to application in a vehicle-computer scenario.
[0093] like Figure 2 As shown, it is the interface displayed by the car display screen, which is equivalent to the interactive interface in the above-mentioned embodiments, and will not be repeated here. In this embodiment, the content first displayed on the car display screen is the location navigation page, and the search list of the location navigation page includes addresses such as "Beautiful Home Community" and "Happy and Joyful Home". First, a hot word library is generated based on the vocabulary displayed on the car display screen. For example, the hot word library includes two hot words: Beautiful Home Community and Happy and Joyful Home. The user can speak as an interactive voice based on the content currently displayed on the car display screen. Suppose that the initial recognition result obtained by voice recognition of the interactive voice is: Beautiful Home. Then, the phoneme text of the initial recognition result is: meilizhijia, and the phoneme texts of the two hot words are: meilizhijiaxiaoqu and kaixinkuailejiayuan respectively. Through the similarity matching of the phoneme text, it can be determined that the target hot word is: Beautiful Home Community. Then, the page element corresponding to the Beautiful Home Community is triggered, so that the Beautiful Home Community is used as the destination of the current navigation. It should be noted that Figure 2The navigation map shown is a virtual map drawn for the convenience of explaining this embodiment. The location names are virtual names, Figure 2 and the locations shown in the navigation map do not represent any real locations.
[0094] For another example, Figure 3 as shown, the content currently displayed on the in-vehicle display screen is a playlist selection page, which includes playlist names such as "Common Anime Divine Comedies Hidden by Lemon Fungus", "Essential Playlist for Driving", "Complete Collection of Common Music in Coffee Shops", "Relaxing Playlist @ Little Mengge", etc. First, the playlist names can be registered as hotwords to generate a hotword library. The user can speak based on the content currently displayed on the in-vehicle display screen as the interactive voice. Suppose the initial recognition result obtained by voice recognition of the interactive voice is: Lemon King. Then, the phoneme text of the initial recognition result is: ningmengjun, and the phoneme texts of each hotword are respectively: ningmengjunsicangjianjichangyongdedongmanshenqu, kaichebibeigedan, kafeidianchangjianyinyuedaquan, fangsonggedanaitexiaomengge, etc. Through the similarity matching of the phoneme texts, the target hotword can be determined as: Common Anime Divine Comedies Hidden by Lemon Fungus. Furthermore, the page element corresponding to the Common Anime Divine Comedies Hidden by Lemon Fungus is triggered. Thus, the playlist of Common Anime Divine Comedies Hidden by Lemon Fungus is used as the currently playing playlist.
[0095] Based on the same inventive concept as the above voice interaction method, an embodiment of the present application also provides a voice interaction device, as Figure 4 shown, the device includes:
[0096] A hotword library generation module 401, configured to generate a hotword library based on the text information in the interaction interface when the interaction interface is displayed, where each hotword in the hotword library corresponds to a page element in the interaction interface. A hotword matching module 402, configured to match the phoneme text of the initial recognition result with the phoneme text of each hotword according to the similarity when receiving the user's interactive voice, to obtain the target hotword with a successful match, where the initial recognition result is the text information obtained by recognizing the interactive voice. A correction module 403, configured to correct the initial recognition result using the target hotword to obtain a correction result. A control module 404, configured to control the corresponding page element in the interaction interface to respond based on the correction result.
[0097] In an optional embodiment, the device further includes:
[0098] A phoneme generation module is used to obtain the phoneme text of the target character according to the pronunciation of the target character in a first language when the target information includes a target character, wherein the target information includes: an initial recognition result or a hot word, and the target character includes: at least one of a letter and a symbol; a splicing module is used to splice the phoneme text of the target character to the phoneme text of the remaining text information in the first language to obtain the phoneme text of the target information, wherein the remaining text information includes text information in the target information except the target character.
[0099] In an optional embodiment, when the target character includes: a word in a second language composed of multiple letters, the phoneme generation module is specifically used to determine the transliteration result corresponding to the target character based on a transliteration vocabulary; wherein the transliteration vocabulary includes multiple words in the second language and the transliteration result of each word in the first language; calculate the phoneme text of the transliteration result corresponding to the target character to obtain the phoneme text of the target character.
[0100] In an optional embodiment, when the target character includes a single letter or a non-word combination of multiple letters, the phoneme generation module is specifically used to obtain the phoneme text of each letter based on the pronunciation of each letter in the first language; and concatenate the phoneme texts of each letter in the target character to generate the phoneme text of the target character.
[0101] In an optional embodiment, the device also includes: a digital processing module, which is used to adjust the numbers into Arabic numerals when the initial recognition results or hot words include numbers; splicing the Arabic numerals to the phoneme text of the remaining text information in the first language to obtain the phoneme text of the initial recognition result or the phoneme text of the hot word, wherein the remaining text information includes text information other than numbers in the initial recognition result or text information other than numbers in the hot word.
[0102] In an optional embodiment, when a target page element in the interactive interface includes a control for adjusting a parameter value within a target range, the hot word corresponding to the target page element includes the target range.
[0103] In an optional embodiment, the hot word matching module 402 is specifically used to match the phoneme text of the initial recognition result with the phoneme text of each hot word according to similarity; and determine the hot word with the highest similarity as the target hot word.
[0104] In an optional embodiment, the hot word library generation module 401 is specifically used to determine the area of interest in the interactive interface according to the user's attention to each area in the interactive interface; and generate the hot word library based on the text information in the area of interest.
[0105] For the specific definition of the voice interaction device, please refer to the definition of the voice interaction method above, which will not be repeated here. Each module in the above-mentioned voice interaction device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0106] Example Vehicles
[0107] Another embodiment of the present application also provides a vehicle, comprising: a controller; the controller is configured to: when displaying an interactive interface, generate a hot word library based on text information in the interactive interface, wherein each hot word in the hot word library corresponds to a page element in the interactive interface; when receiving a user's interactive voice, match the phoneme text of the initial recognition result with the phoneme text of each hot word according to similarity to obtain a successfully matched target hot word, wherein the initial recognition result is text information obtained by recognizing the interactive voice; correct the initial recognition result using the target hot word to obtain a corrected result; and control the corresponding page element in the interactive interface to respond based on the corrected result.
[0108] In an optional embodiment, before matching the phoneme text of the initial recognition result with the phoneme text of each hot word according to similarity to obtain a successfully matched target hot word, the method further includes: when the target information includes a target character, obtaining the phoneme text of the target character according to the pronunciation of the target character in the first language, wherein the target information includes: the initial recognition result or the hot word, and the target character includes: at least one of a letter and a symbol; splicing the phoneme text of the target character to the phoneme text of the remaining text information in the first language to obtain the phoneme text of the target information, wherein the remaining text information includes text information in the target information except the target character.
[0109] In an optional embodiment, when the target character includes: a word in a second language composed of multiple letters, obtaining a phonetic text of the target character according to the pronunciation of the target character in a first language includes: determining a transliteration result corresponding to the target character based on a transliteration word library; wherein the transliteration word library includes multiple words in the second language and a transliteration result of each word in the first language; and calculating the phonetic text of the transliteration result corresponding to the target character to obtain the phonetic text of the target character.
[0110] In an optional embodiment, when the target character includes a single letter or a non-word combination of multiple letters, the phonetic text of the target character is obtained according to the pronunciation of the target character in the first language, including: obtaining the phonetic text of each letter based on the pronunciation of each letter in the first language; and concatenating the phonetic texts of each letter in the target character to generate the phonetic text of the target character.
[0111] In an optional embodiment, before matching the phoneme text of the initial recognition result with the phoneme text of each hot word according to similarity to obtain a successfully matched target hot word, the method further includes: when the initial recognition result or the hot word includes numbers, adjusting the numbers to Arabic numerals; splicing the Arabic numerals to the phoneme text of the remaining text information in the first language to obtain the phoneme text of the initial recognition result or the phoneme text of the hot word, wherein the remaining text information includes text information other than numbers in the initial recognition result or text information other than numbers in the hot word.
[0112] In an optional embodiment, when a target page element in the interactive interface includes a control for adjusting a parameter value within a target range, the hot word corresponding to the target page element includes the target range.
[0113] In an optional embodiment, the phoneme text of the initial recognition result is matched with the phoneme text of each hot word according to similarity to obtain a successfully matched target hot word, including: matching the phoneme text of the initial recognition result with the phoneme text of each hot word according to similarity; and determining the hot word with the highest similarity as the target hot word.
[0114] In an optional embodiment, generating a hot word library based on text information in the interactive interface includes: determining an area of interest in the interactive interface according to the user's attention to each area in the interactive interface; and generating a hot word library based on text information in the area of interest.
[0115] For the definitions of the various steps executed by the controller and related concepts, please refer to the relevant description above, and the embodiments of the present application will not be elaborated here.
[0116] Exemplary Electronic Devices
[0117] Another embodiment of the present application also provides an electronic device, see Figure 5 As shown, an exemplary embodiment of the present specification also provides an electronic device, including: a memory and a processor, the memory storing a computer program, and the processor executing the computer program when executing the computer program performs the steps of the voice interaction method according to various embodiments of the present specification described in the above embodiments of the present specification.
[0118] The internal structure of the electronic device can be as follows Figure 5As shown, the electronic device includes a processor, a memory, a network interface and an input device connected via a system bus. The processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the electronic device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, the steps in the voice interaction method according to various embodiments of the present specification are described in the above embodiments of the present specification.
[0119] The processor may include a main processor and may also include a baseband chip, a modem, etc.
[0120] The memory stores a program for executing the technical solution of the present invention, and may also store an operating system and other key services. Specifically, the program may include a program code, and the program code includes computer operation instructions. More specifically, the memory may include a read-only memory (ROM), other types of static storage devices that can store static information and instructions, a random access memory (RAM), other types of dynamic storage devices that can store information and instructions, a disk storage, a flash, and the like.
[0121] The processor may be a general-purpose processor, such as a general-purpose central processing unit (CPU), a microprocessor, etc., or an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the scheme of the present invention. It may also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component.
[0122] The input device may include a device for receiving data and information input by a user, such as a keyboard, a mouse, a camera, a scanner, a light pen, a voice input device, a touch screen, a pedometer, or a gravity sensor.
[0123] Output devices may include means that allow information to be output to a user, such as display screens, printers, speakers, etc.
[0124] The communication interface may include using any transceiver or the like to communicate with other devices or communication networks, such as Ethernet, Radio Access Network (RAN), Wireless Local Area Network (WLAN), etc.
[0125] The processor executes the program stored in the memory and calls other devices, which can be used to implement each step of any voice interaction method provided in the above embodiments of the present application.
[0126] The electronic device may also include a display component and a voice component. The display component may be a liquid crystal display or an electronic ink display. The input device of the electronic device may be a touch layer covered on the display component, or a button, trackball or touchpad provided on the housing of the electronic device, or an external keyboard, touchpad or mouse.
[0127] Those skilled in the art will understand that Figure 5 The structure shown in the figure is only a block diagram of a part of the structure related to the scheme of this specification, and does not constitute a limitation on the electronic device to which the scheme of this specification is applied. The specific electronic device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.
[0128] Exemplary computer program products and storage media
[0129] In addition to the above methods and devices, the voice interaction method provided in the embodiments of this specification may also be a computer program product, which includes a computer program, which, when executed by a processor, enables the processor to perform the steps of the voice interaction method according to various embodiments of this specification described in the above "Exemplary Method" section of this specification. The computer program may be stored in a computer-readable storage medium or in the cloud.
[0130] The computer program product may be written in any combination of one or more programming languages to write program code for performing the operations of the embodiments of the present specification, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.
[0131] In addition, an embodiment of the present specification also provides a computer-readable storage medium on which a computer program is stored, and the computer program is executed by a processor to execute the steps of the voice interaction method according to various embodiments of the present specification described in the above "Exemplary Method" section of the present specification.
[0132] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this specification can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0133] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0134] The above-mentioned embodiments only express several implementation methods of this specification, and the descriptions are relatively specific and detailed, but they cannot be understood as limiting the scope of the solutions provided by the embodiments of this specification. It should be pointed out that for ordinary technicians in this field, several modifications and improvements can be made without departing from the concept of this specification, which all belong to the protection scope of this specification. Therefore, the protection scope of the patent of this specification shall be based on the attached claims.
Claims
1. A voice interaction method, characterized in that: The method comprises: In the case of displaying an interactive interface, generating a hot word library based on text information in the interactive interface, wherein each hot word in the hot word library corresponds to a page element in the interactive interface; When receiving the interactive voice of the user, the phoneme text of the initial recognition result is matched with the phoneme text of each of the hot words according to the similarity, so as to obtain the successfully matched target hot words, wherein the initial recognition result is the text information obtained by recognizing the interactive voice; Correcting the initial recognition result using the target hot word to obtain a correction result; Based on the correction result, the corresponding page elements in the interactive interface are controlled to respond.
2. The method according to claim 1, characterized in that: Before matching the phoneme text of the initial recognition result with the phoneme text of each of the hot words according to similarity to obtain a successfully matched target hot word, the method further includes: In the case where the target information includes a target character, obtaining a phoneme text of the target character according to the pronunciation of the target character in the first language, wherein the target information includes: the initial recognition result or the hot word, and the target character includes: at least one of a letter and a symbol; The phoneme text of the target character is concatenated with the phoneme text of the remaining text information in the first language to obtain the phoneme text of the target information, wherein the remaining text information includes text information in the target information except the target character.
3. The method according to claim 2, characterized in that In the case where the target character includes a word in a second language composed of a plurality of letters, obtaining a phoneme text of the target character according to the pronunciation of the target character in a first language includes: Determining a transliteration result corresponding to the target character based on a transliteration word library; wherein the transliteration word library includes a plurality of words in a second language and a transliteration result of each word in the first language; The phoneme text of the transliteration result corresponding to the target character is calculated to obtain the phoneme text of the target character.
4. The method according to claim 2, characterized in that: In the case where the target character includes a single letter or a non-word combination of multiple letters, obtaining a phonetic text of the target character according to the pronunciation of the target character in the first language includes: Based on the pronunciation of each letter in the first language, obtain a phoneme text of each letter; The phoneme texts of the letters in the target character are concatenated to generate the phoneme text of the target character.
5. The method according to claim 1, characterized in that Before matching the phoneme text of the initial recognition result with the phoneme text of each of the hot words according to similarity to obtain a successfully matched target hot word, the method further includes: In the case where the initial recognition result or the hot word includes a number, adjusting the number to an Arabic numeral; The Arabic numerals are concatenated to the phoneme text of the remaining text information in the first language to obtain the phoneme text of the initial recognition result or the phoneme text of the hot word, wherein the remaining text information includes the text information other than the numbers in the initial recognition result or the text information other than the numbers in the hot word.
6. The method according to claim 1, characterized in that In the case where the target page element in the interactive interface includes a control for adjusting a parameter value within a target range, the hot word corresponding to the target page element includes the target range.
7. The method according to any one of claims 1 to 6, characterized in that: The phoneme text of the initial recognition result is matched with the phoneme text of each of the hot words according to the similarity to obtain the target hot words that are matched successfully, including: Matching the phoneme text of the initial recognition result with the phoneme text of each hot word according to similarity; The hot word with the highest similarity is determined as the target hot word.
8. The method according to any one of claims 1 to 6, characterized in that: Generating a hot word library based on the text information in the interactive interface includes: Determining an area of interest in the interactive interface according to the user's attention to each area in the interactive interface; A hot word library is generated based on the text information in the region of interest.
9. A voice interaction device, characterized in that: The device comprises: A hot word library generation module, used to generate a hot word library based on text information in the interactive interface when the interactive interface is displayed, wherein each hot word in the hot word library corresponds to a page element in the interactive interface; A hot word matching module is used to match the phoneme text of the initial recognition result with the phoneme text of each hot word according to similarity when receiving the interactive voice of the user, so as to obtain a successfully matched target hot word, wherein the initial recognition result is the text information obtained by recognizing the interactive voice; A correction module, used to correct the initial recognition result using the target hot word to obtain a correction result; A control module is used to control corresponding page elements in the interactive interface to respond based on the correction result.
10. An electronic device, characterized in that: include: Memory and processor; The memory is used to store programs; the processor is used to implement the voice interaction method as described in any one of claims 1 to 8 by running the programs in the memory.
11. A vehicle, characterized in that: Comprising a controller; the controller is configured to implement the voice interaction method as described in any one of claims 1 to 8.
12. A computer program product, characterized in that The computer program product stores a computer program, and when the computer program is executed by a processor, the voice interaction method according to any one of claims 1 to 8 is implemented.
