A natural speech translation system
Through the natural speech translation system, interactive interfaces and modular algorithm services are used, combined with text and multi-modal speech models, to extract speech features and information, and generate natural speech translation, which solves the problem of single speech translation effect in the existing technology and achieves A translation effect that is closer to the style and environment of the original speaker.
Patent Information
- Application Number
- CN202410883467.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-03
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2044-07-03
AI Technical Summary
Existing speech translation technology cannot effectively retain the timbre, emotion and speaking style of the original speaker, and does not support paralinguistic and multi-modal speech generation, resulting in a single and unnatural speech effect after translation.
A natural speech translation system is designed, which uses interactive interfaces and modular algorithm services to perform human voice detection, speech recognition, paralanguage recognition and text translation. It combines text language models and multi-modal speech models to extract semantic features and multi-modal speech models. modal speech information and generate translated speech data with paralinguistic and multi-modal features.
Natural speech generation during speech translation is realized, making the translated speech effect closer to the original speaker's speaking characteristics and environment, and improving the singleness and vividness of the speech translation effect in the existing technology.
Smart Images

Figure CN118430513B
Abstract
Description
Technical Field
[0001] The present application relates to the field of speech processing technology, and in particular to a natural speech translation system. Background Art
[0002] In recent years, on the one hand, text-to-speech technology has made breakthrough progress and has been widely used in business scenarios such as live streaming, popular science, and customer service. With the help of related voice cloning, intelligent question-and-answer technologies, ordinary users can complete online communication, short video dubbing and other media production tasks through text-to-speech. On the other hand, under the new pattern of domestic foreign trade and cultural propaganda, the demand for foreign trade, corporate overseas expansion, and domestic and foreign cultural exchanges is increasing day by day. However, communication is inconvenient due to language differences at home and abroad, resulting in slow communication at home and abroad. As a way to break the language barrier between different countries, speech translation technology has very significant economic value and application potential.
[0003] Existing speech translation technology only realizes the speech translation function, but does not retain the characteristics of the original speaker such as timbre, emotion and speaking style. It also does not support the generation of paralanguage (such as laughter, crying, etc.) and multimodal (singing, whispering) natural speech, making the generated translated speech effect single, unnatural and unvivid. Summary of the invention
[0004] The present application provides a natural speech translation system for improving the technical problem that the existing speech translation technology does not support paralanguage and multimodal natural speech generation, resulting in the generated translated speech effect being single, unnatural and unvivid.
[0005] In view of this, the first aspect of the present application provides a natural speech translation system, including: an interactive interface, a data storage service, and a modular algorithm service;
[0006] The interactive interface is used to store the voice data submitted by the user in the data storage service, wherein the voice data at least includes the voice to be translated;
[0007] The modular algorithm service is used to pull the voice data from the data storage service, perform voice detection on the voice to be translated, and after judging that the voice to be translated meets preset requirements according to the voice detection result, perform voice recognition, paralanguage recognition and text translation on the voice to be translated to obtain a translated text with paralanguage information;
[0008] A text language model is called to extract semantic features of the translated text with paralanguage information, a multimodal speech model is called to process the speech to be translated and the semantic features, and translated speech data with paralanguage information and multimodal speech information is generated, and the translated speech data is submitted to the interactive interface for display.
[0009] Optionally, the system further includes a message center;
[0010] The message center is used to subscribe to the status of the modular algorithm service and publish information to the interactive interface.
[0011] Optionally, the modular algorithm service is further used to register the detection result of whether the speech to be translated meets the preset requirements to the message center;
[0012] The message center is used to send data non-conformity information to the interactive interface when the speech to be translated does not meet the preset requirements, so as to prompt the user to change the speech to be translated; when the speech to be translated meets the preset requirements, the modular algorithm service is triggered to execute the next task.
[0013] Optionally, the message center is also used to obtain computing resources. When it is determined that the computing resources are insufficient, the current task is added to the task waiting queue. When it is determined that the computing resources are idle, the current task is executed and the queuing information of the task waiting queue is pulled to determine whether there are any queued tasks to be processed.
[0014] Optionally, the modular algorithm service is further used to send the translated text with the paralanguage information to the message center, which is fed back by the message center to the interactive interface for visualization;
[0015] The interactive interface is also used to respond to the user's editing operation on the translated text with paralanguage information, store the edited translated text with paralanguage information in the data storage service, and register the information in the message center, and the message center notifies the modular algorithm service to execute the next task.
[0016] Optionally, the modular algorithm service is further used to cut out a speech segment with human voice from the speech to be translated after the speech to be translated meets preset requirements.
[0017] Optionally, the modular algorithm service is further used to call a speech detection plug-in to detect index parameters of the speech to be translated, and adjust the translated speech data based on the index parameters, wherein the index parameters include duration and / or sampling rate.
[0018] Optionally, the modular algorithm service is specifically used for:
[0019] Calling the text language model to extract the semantic features of the translated text with paralinguistic information;
[0020] Calling a speech timbre model to extract speech timbre features of the speech to be translated;
[0021] Calling a speech prosody model to extract speech prosody features of the speech to be translated;
[0022] Calling a speech-text alignment module to align the speech to be translated and the translated text with paralinguistic information to obtain the pronunciation duration of the text;
[0023] Calling a large language model to extract multimodal speech information of the speech to be translated;
[0024] The semantic features, the speech timbre features, the speech prosody features, the multimodal speech information and the text pronunciation duration are input into a speech acoustic model for processing to generate translated speech data having paralinguistic information and multimodal speech information.
[0025] Optionally, the training process of the speech prosody model includes:
[0026] Acquire a speech-text pair, the speech-text pair comprising a speech sample and a translation text sample corresponding to the speech sample;
[0027] Performing modality marking on the speech-text pair to obtain multimodal speech information;
[0028] Extracting the speech style features and speech prosody features of the speech sample, extracting the semantic features of the translated text sample, aligning the speech sample with the corresponding translated text sample, and obtaining the text pronunciation duration;
[0029] The multimodal speech information, speech style features and semantic features of the speech-text pair are used as input, and the speech prosody features and text pronunciation duration of the speech-text pair are used as training targets to train the preset model to obtain a speech prosody model.
[0030] Optionally, the voice data also includes background voice;
[0031] The modular algorithm service is also used to synthesize the background speech into translated speech data having paralinguistic information and multimodal speech information.
[0032] It can be seen from the above technical solutions that this application has the following advantages:
[0033] The natural speech translation system provided by the present application extracts paralanguage information from the speech to be translated, generates a translation text with paralanguage, extracts multimodal speech information through a multimodal speech model, and combines the paralanguage information, multimodal speech information and semantic features of the translation text to synthesize translated speech data with paralanguage information and multimodal speech information, thereby achieving natural speech generation supporting paralanguage and multimodal speech information during speech translation, making the speech translation effect closer to the speaking characteristics and environment of the original speaker, thereby improving the technical problem that the existing speech translation technology does not support paralanguage and multimodal natural speech generation, making the generated translated speech effect single, not natural and vivid enough. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] 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 only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0035] Figure 1 A structural schematic diagram of a natural speech translation system provided in an embodiment of the present application;
[0036] Figure 2 A schematic diagram of a natural speech translation process provided in an embodiment of the present application;
[0037] Figure 3 Another schematic diagram of a natural speech translation process provided by an embodiment of the present application;
[0038] Figure 4 A schematic diagram of a natural speech translation effect determination process provided in an embodiment of the present application. DETAILED DESCRIPTION
[0039] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings 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.
[0040] For easier understanding, please refer to Figure 1 , the embodiment of the present application provides a natural speech translation system, including: an interactive interface, a data storage service and a modular algorithm service;
[0041] An interactive interface for storing voice data submitted by a user in a data storage service, where the voice data at least includes the voice to be translated;
[0042] Modular algorithm service, used to pull voice data from the data storage service, perform voice detection on the voice to be translated, and after judging that the voice to be translated meets the preset requirements based on the voice detection result, perform voice recognition, paralanguage recognition and text translation on the voice to be translated to obtain the translated text with paralanguage information;
[0043] The text language model is called to extract the semantic features of the translated text with paralinguistic information, and the multimodal speech model is called to process the speech and semantic features to be translated, to generate translated speech data with paralinguistic information and multimodal speech information, and the translated speech data is submitted to the interactive interface for display.
[0044] In an embodiment of the present application, a user can submit voice data through an interactive interface of a natural speech translation system. The voice data includes at least the voice to be translated. After submitting the voice data, the user can select the target language (such as Chinese, English, French, etc.) into which the voice to be translated needs to be translated on the exchange interface. The interactive interface can store the target language selected by the user together with the voice data in a data storage service.
[0045] The modular algorithm service will pull voice data from the data storage service, and detect whether there is human voice in the voice to be translated by calling the voice analysis plug-in. When there is human voice in the voice detection result, it is determined that the voice to be translated meets the preset requirements. The modular algorithm service will further perform voice recognition and paralanguage recognition on the voice to be translated, and perform text translation based on the voice recognition results, translating it into text in the target language to obtain a translated text with paralanguage information (such as laughter, crying, etc.).
[0046] Furthermore, modular algorithm services are specifically used for:
[0047] Calling the text language model to extract the semantic features of the translated text with paralinguistic information;
[0048] Calling the speech timbre model to extract the speech timbre features of the speech to be translated;
[0049] Calling the speech prosody model to extract the speech prosody features of the speech to be translated;
[0050] Call the speech-text alignment module to align the speech to be translated and the translated text with paralinguistic information to obtain the pronunciation duration of the text;
[0051] Calling a large language model to extract multimodal speech information of the speech to be translated;
[0052] Semantic features, speech timbre features, speech prosody features, multimodal speech information and text pronunciation duration are input into the speech acoustic model for processing to generate translated speech data with paralinguistic information and multimodal speech information.
[0053] The modular algorithm service integrates multiple trained models, which are combined in parallel and cascade in the processing flow. When multiple models are inferring, they are inferring hierarchically according to the parallel and serial relationship. Specifically, the modular algorithm service calls the text language model to extract the semantics of the translated text with paralinguistic information and its related grammatical information to obtain semantic features; calls the speech timbre model to extract the speech timbre features of the speech to be translated; calls the speech prosody model to extract the speech prosody features of the speech to be translated, including high-dimensional feature representations of speech speed, style and / or emotions; calls the speech text alignment module to align the speech to be translated and the translated text with paralinguistic information to obtain the text pronunciation duration; calls the large language model to mark the modal type (such as whispering, singing, etc.) of the speech to be translated to obtain the multimodal speech information of the speech to be translated; inputs the semantic features, speech timbre features, speech prosody features, multimodal speech information and text pronunciation duration into the speech acoustic model for processing to generate translated speech data with paralinguistic information and multimodal speech information, and the translated speech data is the speech of the original speaker with corresponding semantic features and timbre features. After the modular algorithm service synthesizes the translated voice data, it submits the translated voice data to the interactive interface for display so that users can verify the effect.
[0054] The natural speech translation system provided by the present application extracts paralanguage information from the speech to be translated, generates a translation text with paralanguage, extracts multimodal speech information through a multimodal speech model, and combines the paralanguage information, multimodal speech information and semantic features of the translation text to synthesize translated speech data with paralanguage information and multimodal speech information, thereby achieving natural speech generation supporting paralanguage and multimodal speech information during speech translation, making the speech translation effect closer to the speaking characteristics and environment of the original speaker, thereby improving the technical problem that the existing speech translation technology does not support paralanguage and multimodal natural speech generation, making the generated translated speech effect single, not natural and vivid enough.
[0055] The above is an embodiment of a natural speech translation system provided by the present application, and the following is another embodiment of a natural speech translation system provided by the present application.
[0056] A natural speech translation system provided in an embodiment of the present application includes: an interactive interface, a data storage service, a modular algorithm service, and a message center;
[0057] An interactive interface for storing voice data submitted by a user in a data storage service, where the voice data at least includes the voice to be translated;
[0058] The message center is used to subscribe to the status of the modular algorithm service and publish information to the interactive interface;
[0059] Modular algorithm service, used to pull voice data from the data storage service, perform voice detection on the voice to be translated, and after judging that the voice to be translated meets the preset requirements based on the voice detection result, perform voice recognition, paralanguage recognition and text translation on the voice to be translated to obtain the translated text with paralanguage information;
[0060] The text language model is called to extract the semantic features of the translated text with paralinguistic information, and the multimodal speech model is called to process the speech and semantic features to be translated, to generate translated speech data with paralinguistic information and multimodal speech information, and the translated speech data is submitted to the interactive interface for display.
[0061] In the embodiment of the present application, the interactive interface is not only the entry for users to upload voice data, but also used to display the entire translation process, check the intermediate process and test results, secondary edit and select the text content for text-to-speech conversion, and interactively optimize the translation voice problem. Users can submit voice data through the interactive interface of the natural speech translation system. The voice data at least includes the voice to be translated, and can also include background voice and other data. After submitting the voice data, the user can select the target language (such as Chinese, English, French, etc.) into which the voice to be translated needs to be translated in the exchange interface. The interactive interface can store the target language selected by the user together with the voice data in the data storage service, and register the information in the message center. The message center then sends the startup detection information to the modular algorithm service to trigger the modular algorithm service to start the detection service. After receiving the startup detection information, the modular algorithm service pulls the voice data from the data storage service and performs human voice detection on the voice to be translated.
[0062] Please refer to Figure 2 ,Furthermore, the modular algorithm service is also used to register the ,detection result of whether the speech to be translated meets the preset ,requirements to the message center;
[0063] The message center is used to send data non-conformity information to the interactive interface when the voice to be translated does not meet the preset requirements, so as to prompt the user to change the voice to be translated; when the voice to be translated meets the preset requirements, the modular algorithm service is triggered to execute the next task.
[0064] When the voice detection result obtained by the modular algorithm service is that there is a human voice in the voice to be translated, it is determined that the voice to be translated meets the preset requirements. When the voice detection result is that there is no human voice in the voice to be translated, it is determined that the voice to be translated does not meet the preset requirements. After the message center receives the detection result, when the voice to be translated does not meet the preset requirements, it sends data non-compliance information to the interactive interface to prompt the user to change the voice to be translated; when the voice to be translated meets the preset requirements, the modular algorithm service is triggered to execute the next task.
[0065] Furthermore, before triggering the modular algorithm service to execute the next task, the message center is also used to obtain computing resources. When it is determined that the computing resources are insufficient, the current task (i.e., triggering the modular algorithm service to execute the next task) is added to the task waiting queue. When it is determined that the computing resources are idle, the current task is executed, and the queue information of the task waiting queue is pulled to determine whether there are queued tasks to be processed. If there are queued tasks to be processed, the tasks are executed in the queue order.
[0066] When the speech to be translated meets the preset requirements, the message center can send preprocessing information to the modular algorithm service to perform preprocessing tasks on the speech to be translated. Specifically, the modular algorithm service can cut out voice segments with human voices from the speech to be translated, and then perform speech recognition, paralanguage recognition and text translation on the voice segments to obtain a translated text with paralanguage information.
[0067] It should be noted that the modular algorithm service is also used to call the voice detection plug-in to detect the index parameters of the voice to be translated, including duration and / or sampling rate, for subsequent voice translation. The progress of the modular algorithm service execution task is registered with the message center, which is fed back to the interactive interface by the message center to show the progress to the user.
[0068] Furthermore, the modular algorithm service is also used to send the translated text with paralinguistic information to the message center, which is fed back to the interactive interface for visualization;
[0069] The interactive interface is also used to respond to the user's editing operation on the translated text with paralanguage information, store the edited translated text with paralanguage information in the data storage service, and register the information in the message center, and the message center notifies the modular algorithm service to execute the next task.
[0070] The interactive interface provides an interactive editing function. Users can choose to personalize the translation text with paralinguistic information according to the visualization results of the interactive interface, such as adding punctuation marks to the translation text to control pauses, adding some paralinguistic markers to generate paralinguistic voices (such as laughter, crying, etc.), adjusting the paralinguistic information of the translation text, adjusting the translation content of the translation text, etc. After the user completes the editing, the interactive interface submits the edited translation text with paralinguistic information to the data storage service for subsequent reasoning and product delivery, and submits the user's editing information to the message for registration. The message center notifies the modular algorithm service to perform the next task. Specifically, the message center can send voice generation information to the modular algorithm service to perform the voice generation task. It should be noted that when the user wants to cancel the edit, the user can return to the translation text before the edit through the registration information in the message. By adding the message center to the natural speech translation system for information registration, it helps to improve the convenience of the translation system, thereby improving the user experience.
[0071] Please refer to Figure 3 In order to achieve realistic natural speech effects, the modular algorithm service integrates multiple trained models. These models are combined together in a parallel and cascaded manner in the processing flow. When multiple models are inferred, they are graded according to parallel and series relationships. Specifically, the modular algorithm service calls the text language model to extract the semantics of the translated text with paralinguistic information and its related grammatical information to obtain semantic features; calls the speech timbre model to extract the speech timbre features of the speech to be translated; calls the speech prosody model to extract the speech prosody features of the speech to be translated, including high-dimensional feature representations of speech speed, style and / or emotion; calls the speech-text alignment module to align the speech to be translated and the translated text with paralinguistic information to obtain the pronunciation duration of the text; calls the large language model to mark the modal type (such as whispering, singing, etc.) of the speech to be translated to obtain multimodal speech information of the speech to be translated; inputs the semantic features, speech timbre features, speech prosody features, multimodal speech information and text pronunciation duration into the speech acoustic model for processing to generate translated speech data with paralinguistic information and multimodal speech information, and the translated speech data is the speech of the original speaker with corresponding semantic features and timbre features. The modular algorithm service is also used to adjust the translated voice data based on indicator parameters such as duration and sampling rate to keep the voice length and sampling rate consistent before and after translation. Taking into account the differences in basic speaking speed of different languages, the duration of the translated voice can also be adjusted according to the language.
[0072] It should be noted that when training these cascade models, speech samples can be obtained from public speech datasets, and the speech samples can be input into a speech recognition model for speech recognition, and then text translation can be performed to obtain speech-text pairs; then the speech-text pairs can be manually annotated for paralinguistic labeling and speech modal type labeling, or the speech-text pairs can be labeled for paralinguistic labeling and speech modal type labeling through a large language model to obtain speech-text pairs with paralinguistic information and multimodal speech information, that is, a training dataset is obtained; the text language model is trained with the text with paralinguistic information in the training dataset, and the text language model learns the intermediate feature representation of the text with paralinguistic information through self-supervision, so as to extract the text semantics and its related grammatical information through the trained text language model.
[0073] Furthermore, the training process of the speech acoustic model in the multimodal speech model includes:
[0074] The above-mentioned text language model is called to extract the semantics of the text with paralinguistic information in the training data set and its related grammatical information to obtain semantic features; the speech timbre model can be called to extract the speech timbre features of the speech samples in the training data set; the speech prosody model is called to extract the speech prosody features of the speech samples in the training data set, including high-dimensional feature representations of speech speed, style and / or emotions; the speech-text alignment module is called to align the speech samples and the text with paralinguistic information in the training data set to obtain the pronunciation duration of the text; the semantic features, speech timbre features, speech prosody features, multimodal speech information and text pronunciation duration are used as input data, and the speech acoustic model is trained with the corresponding translated speech data with paralinguistic information and multimodal speech information as the target. Among them, the speech timbre model and the speech prosody model can adopt existing models.
[0075] Furthermore, the training process of the speech prosody model in the multimodal speech model in the present application includes:
[0076] Obtaining a speech-text pair, the speech-text pair comprising a speech sample and a translation text sample corresponding to the speech sample;
[0077] Perform modality tagging on speech-text pairs to obtain multimodal speech information;
[0078] Extract the speech style features and speech prosody features of the speech sample, extract the semantic features of the translated text sample, align the speech sample with the corresponding translated text sample, and obtain the pronunciation duration of the text;
[0079] The multimodal speech information, speech style features and semantic features of the speech-text pair are used as input, and the speech prosody features of the speech-text pair and the pronunciation duration of the text are used as training targets to train the preset model and obtain a speech prosody model.
[0080] The natural speech translation system in this application does not require training or fine-tuning of model parameters during the application phase, and can implement out-of-the-box use of the model, thus achieving zero-shot natural speech translation.
[0081] When the user also uploads background speech, the modular algorithm service is also used to synthesize the background speech into translated speech data with paralanguage information and multimodal speech information. After the modular algorithm service synthesizes the translated speech data, the translated speech data (i.e., the finished product) can be stored in the data storage service, which is then submitted to the interactive interface for display by the data storage service for users to verify the effect. Users can adjust the parameters and content of the generated translated speech data through the interactive editing function of the interactive interface. For example, the interactive interface can provide speech speed estimation, background speech, etc. of the generated speech. Users can adjust the speech speed parameters of the translated speech data or replace the background speech as needed. Users can cooperate with the speech generation link to generate natural speech with controllable effects, including controlling the addition, deletion, and modification of paralanguage, speaking methods (emotion, speech speed, intonation, etc.), and speech modalities (whispering, singing, etc.). After the user confirms the effect of speech translation production through interactive editing and effect verification, he can operate the interactive interface to deliver the finished product, and register the relevant progress to the message center. Please refer to Figure 4 .
[0082] The present application provides a natural speech translation system that can be used across languages and out of the box, integrates multiple language speech to construct a large speech data set, uses large model annotation and training, and multiple model combination technologies to achieve zero-sample natural speech translation. The design of the natural speech translation system in the embodiment of the present application satisfies the process efficiency and reliability, and can meet the user's personalized and customized needs through the introduction of process cross-language text representation, graphical interface interaction and other links, providing a landing path for the inclusive application of speech generation related technologies.
[0083] The natural speech translation system provided by the present application extracts paralanguage information from the speech to be translated, generates a translation text with paralanguage, extracts multimodal speech information through a multimodal speech model, and combines the paralanguage information, multimodal speech information and semantic features of the translation text to synthesize translated speech data with paralanguage information and multimodal speech information, thereby achieving natural speech generation supporting paralanguage and multimodal speech information during speech translation, making the speech translation effect closer to the speaking characteristics and environment of the original speaker, thereby improving the technical problem that the existing speech translation technology does not support paralanguage and multimodal natural speech generation, making the generated translated speech effect single, not natural and vivid enough.
[0084] The terms "first", "second", "third", "fourth", etc. (if any) in the specification of this application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0085] It should be understood that in this application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.
[0086] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0087] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0088] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0089] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including a number of instructions for executing all or part of the steps of the method described in each embodiment of the present application through a computer device (which can be a personal computer, server, or network device, etc.). The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (full name in English: Read-Only Memory, English abbreviation: ROM), random access memory (full name in English: Random Access Memory, English abbreviation: RAM), disk or optical disk and other media that can store program codes.
[0090] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A natural speech translation system, characterized in that: include: Interactive interface, data storage service and modular algorithm service; The interactive interface is used to store the voice data submitted by the user in the data storage service, wherein the voice data at least includes the voice to be translated; The modular algorithm service is used to pull the voice data from the data storage service, perform voice detection on the voice to be translated, and after judging that the voice to be translated meets preset requirements according to the voice detection result, perform voice recognition, paralanguage recognition and text translation on the voice to be translated to obtain a translated text with paralanguage information; Calling a text language model to extract semantic features of the translated text with paralanguage information, calling a multimodal speech model to process the speech to be translated and the semantic features, generating translated speech data with paralanguage information and multimodal speech information, and submitting the translated speech data to the interactive interface for display; The modular algorithm service is specifically used for: Calling the text language model to extract the semantic features of the translated text with paralinguistic information; Calling a speech timbre model to extract speech timbre features of the speech to be translated; Calling a speech prosody model to extract speech prosody features of the speech to be translated; Calling a speech-text alignment module to align the speech to be translated and the translated text with paralinguistic information to obtain the pronunciation duration of the text; Calling a large language model to extract multimodal speech information of the speech to be translated; The semantic features, the speech timbre features, the speech prosody features, the multimodal speech information and the text pronunciation duration are input into a speech acoustic model for processing to generate translated speech data having paralinguistic information and multimodal speech information.
2. The natural speech translation system according to claim 1, characterized in that: The system also includes a message center; The message center is used to subscribe to the status of the modular algorithm service and publish information to the interactive interface.
3. The natural speech translation system according to claim 2, characterized in that: The modular algorithm service is further used to register the detection result of whether the speech to be translated meets the preset requirements to the message center; The message center is used to send data non-conformity information to the interactive interface when the speech to be translated does not meet the preset requirements, so as to prompt the user to change the speech to be translated; When the speech to be translated meets the preset requirements, the modular algorithm service is triggered to execute the next task.
4. The natural speech translation system according to claim 3, characterized in that: The message center is also used to obtain computing resources. When it is determined that the computing resources are insufficient, the current task is added to the task waiting queue. When it is determined that the computing resources are idle, the current task is executed and the queue information of the task waiting queue is pulled to determine whether there are any queued tasks to be processed.
5. The natural speech translation system according to claim 2, characterized in that: The modular algorithm service is further used to send the translated text with the paralinguistic information to the message center, which is fed back to the interactive interface for visualization; The interactive interface is also used to respond to the user's editing operation on the translated text with paralanguage information, store the edited translated text with paralanguage information in the data storage service, and register the information in the message center, and the message center notifies the modular algorithm service to execute the next task.
6. The natural speech translation system according to claim 1, characterized in that: The modular algorithm service is also used to cut out a speech segment with human voice from the speech to be translated after the speech to be translated meets preset requirements.
7. The natural speech translation system according to claim 1, characterized in that: The modular algorithm service is further used to call a speech detection plug-in to detect index parameters of the speech to be translated, and adjust the translated speech data based on the index parameters, wherein the index parameters include duration and / or sampling rate.
8. The natural speech translation system according to claim 1, characterized in that: The training process of the speech prosody model includes: Acquire a speech-text pair, the speech-text pair comprising a speech sample and a translation text sample corresponding to the speech sample; Performing modality marking on the speech-text pair to obtain multimodal speech information; Extracting the speech style features and speech prosody features of the speech sample, extracting the semantic features of the translated text sample, aligning the speech sample with the corresponding translated text sample, and obtaining the text pronunciation duration; The multimodal speech information, speech style features and semantic features of the speech-text pair are used as input, and the speech prosody features and text pronunciation duration of the speech-text pair are used as training targets to train the preset model to obtain a speech prosody model.
9. The natural speech translation system according to any one of claims 1 to 8, characterized in that: The voice data also includes background voice; The modular algorithm service is also used to synthesize the background speech into translated speech data having paralinguistic information and multimodal speech information.
Citation Information
Cited By
Context-aware translation system, method and computer program product
TWI938093B
