A rhythmic boundary prediction method and system

Through the combination of low-precision prosodic model and Bert neural network, unsupervised prosodic boundary prediction is achieved, solving the problems of high cost and low efficiency of prosodic annotation in the existing technology, and improving the prosodic prediction accuracy of Chinese speech synthesis.

CN115457932BActive Publication Date: 2024-10-29INST OF ACOUSTICS CHINESE ACAD OF SCI
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211077901.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-05
Publication Date
2024-10-29
Estimated Expiration
2042-09-05

AI Technical Summary

Technical Problem

In existing speech synthesis technology, prosodic annotation requires a large amount of high-quality annotated text data, resulting in high cost and inefficiency, making it difficult to effectively predict the prosodic boundaries of Chinese speech.

Method used

By establishing a low-precision prosodic model, using the HMM enhanced model to unsupervisedly infer enhanced labels, and combining it with the Bert neural network model to train a Bert-based prosodic boundary prediction model, reducing reliance on high-quality annotation data and achieving automatic annotation of prosodic boundaries.

Benefits of technology

It reduces the cost of rhythm annotation, improves the accuracy of rhythm prediction, reduces over-fitting problems caused by too little data, and meets the needs of real-time synthesis applications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115457932B_ABST
    Figure CN115457932B_ABST
Patent Text Reader

Abstract

The present application provides a prosody boundary prediction method and system, including: using annotated text to train an existing prosody model to obtain K low-precision prosody models; using the K low-precision prosody models to annotate unannotated text to obtain K groups of low-precision weak labels; using an HMM enhancement model to infer enhanced labels from the K groups of low-precision weak labels; using an unannotated data set and the enhanced labels to train a Bert-based prosody boundary prediction model, inputting the unannotated data to be predicted into the Bert-based prosody boundary prediction model, and obtaining corresponding predicted prosody boundary labels. The present application can complete high-quality training of a Bert-based prosody boundary prediction model using only a small amount of annotated data and a large amount of unannotated data, thereby reducing the overfitting problem caused by too little data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of speech synthesis, and in particular to a prosodic boundary prediction method and system. Background Art

[0002] With the development of deep learning, speech synthesis systems have been greatly improved. However, in speech synthesis, the prosodic performance of speech still has a lot of room for improvement. Among them, text prosodic boundary prediction is an important research direction, and its results directly affect the naturalness and intelligibility of synthesized speech. In prosodic information, such as the rhythm and intonation of speech, it corresponds to the changes in syllable length, loudness and pitch, and plays an important perceptual role in human speech communication. For Chinese speech synthesis, typical prosodic boundary labels are composed of prosodic words (PW), prosodic phrases (PPH) and intonation phrases (IPH), which can construct a three-layer prosodic tree.

[0003] However, existing related methods require a large amount of high-quality annotated text data, and each sequence needs to be pre-labeled with token-level labels. Rhythm annotation is a linguistic problem that often requires professional background knowledge and long-term training, which leads to the high cost of prosody annotation. Summary of the invention

[0004] The purpose of this application is to solve the defects of the prior art.

[0005] The present application provides a prosody boundary prediction method and system, which can obtain prosody boundary prediction labels and perform prosody annotation without requiring a large amount of high-quality annotated text data.

[0006] In a first aspect, the present application provides a prosody boundary prediction method, comprising: establishing a prosody label annotated data set, and using an existing prosody model to train K low-precision prosody models on the prosody label annotated data set, wherein K is an integer greater than zero; using the K low-precision prosody models to automatically annotate an unlabeled data set to obtain K groups of low-precision weak labels; based on the K groups of low-precision weak labels, using an HMM enhancement model to unsupervisedly infer enhanced labels from the K groups of low-precision weak labels; based on the unlabeled data set and the enhanced labels, training a Bert-based prosody boundary prediction model to obtain a trained Bert-based prosody boundary prediction model; based on the trained Bert-based prosody boundary prediction model, inputting the unlabeled data to be predicted to obtain prosody labels, thereby determining prosody boundaries.

[0007] In a feasible embodiment, based on the K groups of low-precision weak labels, the HMM enhancement model is used to unsupervisedly infer enhanced labels from the K groups of low-precision weak labels, including: using the HMM enhancement model to process the K groups of low-precision weak labels, wherein the enhanced labels are used as hidden variables of the HMM enhancement model, and the K groups of low-precision weak labels are observable values; constructing a Bert neural network model, based on the unlabeled data set and the K groups of low-precision weak labels, using the Bert embedding word vector method for input, and outputting the transfer matrix and emission matrix of the HMM enhancement model; based on the observable values, transfer matrix and emission matrix of the HMM enhancement model, using forward and backward reasoning to predict, to obtain the hidden variables of the HMM enhancement model, i.e., the enhanced labels.

[0008] In a feasible embodiment, the prosody boundary prediction method further includes: performing model training on the HMM enhancement model by using an unsupervised EM algorithm, and in order to ensure the stability of the training process of the HMM enhancement model, a strategy of gradually reducing the learning rate is used for training.

[0009] In a feasible embodiment, the method of training a Bert-based prosodic boundary prediction model based on the unlabeled dataset and the enhanced labels to obtain a trained Bert-based prosodic boundary prediction model includes: constructing a Bert-based prosodic boundary prediction model using a distilled 312-dimensional word embedding vector, four layers of self-attention layers, and a fully connected layer; inputting the unlabeled dataset into the Bert-based prosodic boundary prediction model to obtain a probabilistic label output by the Bert-based prosodic boundary prediction model; and training the prosodic boundary prediction model based on minimizing the cross entropy error between the enhanced labels and the probabilistic labels.

[0010] In a feasible embodiment, the prosody boundary prediction method further includes: in the process of training the prosody boundary prediction model, selecting different learning rates for the Tiny_Bert layer and the linear layer to achieve better learning effect.

[0011] In a feasible embodiment, the prosodic boundary prediction model based on the trained Bert is input into the unlabeled data to be predicted to obtain the prosodic label, including: segmenting the unlabeled data to be predicted by words and converting them into corresponding digital serial numbers according to a dictionary; inputting the digital serial numbers to be processed into the Bert-based prosodic boundary prediction model; the Bert-based prosodic boundary prediction model outputs predicted word-level prosodic labels, thereby determining prosodic boundaries; wherein the prosodic labels include: prosodic word boundary labels, prosodic phrase boundary labels and intonation phrase boundary labels.

[0012] In a second aspect, the present application provides a rhythmic boundary prediction system, characterized in that it includes: an existing rhythmic model, used to perform model training using a rhythmic label-labeled data set to obtain K low-precision rhythmic models, wherein K is an integer greater than zero; a low-precision rhythmic model, used to label an unlabeled data set to obtain K groups of low-precision weak labels; an HMM enhancement model, based on the unlabeled data set and the K groups of low-precision weak labels, to obtain enhanced labels; a Bert-based rhythmic boundary prediction model, used to input the unlabeled data to be predicted to obtain a predicted rhythmic boundary label corresponding to the unlabeled data to be predicted, wherein the unlabeled data set and the enhanced label are used to perform model training to obtain a trained Bert-based rhythmic boundary prediction model.

[0013] In a feasible embodiment, the HMM enhanced model includes: the hidden variables of the HMM enhanced model are enhanced labels; the observable values ​​of the HMM enhanced model are K groups of low-precision weak labels; the transfer matrix and emission matrix of the HMM enhanced model are the outputs of the Bert neural network model, wherein the Bert neural network model, based on the unlabeled data set and the K groups of low-precision weak labels, uses the Bert embedding word vector method for input, and outputs the transfer matrix and emission matrix of the HMM enhanced model; wherein the HMM enhanced model, based on the observable values, transfer matrix and emission matrix, uses forward and backward reasoning to predict to obtain hidden variables, i.e., enhanced labels.

[0014] In a feasible embodiment, the rhythmic boundary prediction system further includes: an HMM enhancement model for model training, which is trained by an unsupervised EM algorithm and a strategy of gradually reducing the learning rate.

[0015] In a feasible embodiment, the Bert-based prosodic boundary prediction model includes: the Bert-based prosodic boundary prediction model includes a distilled 312-dimensional word embedding vector, four layers of self-attention layers of Tiny_Bert, and a fully connected layer; the training process of the Bert-based prosodic boundary prediction model includes: inputting the unlabeled data set into the Bert-based prosodic boundary prediction model to obtain the prosodic boundary prediction model-based ... In the process of training the prosodic boundary prediction model, different learning rates are selected for the Tiny_Bert layer and the linear layer to achieve better learning effect; the use process of the Bert-based prosodic boundary prediction model includes: segmenting the unlabeled data to be predicted by words, and converting them into corresponding digital serial numbers according to a dictionary, inputting the digital serial numbers to be processed into the Bert-based prosodic boundary prediction model, and the Bert-based prosodic boundary prediction model outputs predicted word-level prosodic labels to determine prosodic boundaries, wherein the prosodic labels include: prosodic word boundary labels, prosodic phrase boundary labels and intonation phrase boundary labels.

[0016] The present application provides a prosody boundary prediction method and system, the prosody boundary prediction method comprising: using a prosody label annotated data set to perform model training on an existing prosody boundary prediction model to obtain K low-precision prosody models; using the K low-precision prosody models to annotate the unlabeled data set to obtain K groups of low-precision weak labels; using an HMM enhancement model to infer enhanced labels from the K groups of low-precision weak labels; using the unlabeled data set and the enhanced labels to perform model training on a Bert-based prosody boundary prediction model, inputting the unlabeled data to be predicted into the Bert-based prosody boundary prediction model, and obtaining predicted prosody boundary labels corresponding to the unlabeled data to be predicted.

[0017] The present application provides a prosody boundary prediction method and system, which uses a small amount of annotated data and an existing model to automatically annotate a large amount of unannotated data with low-quality annotated data from multiple sources, and uses these low-quality annotated data to train an HMM enhancement model to complete denoising enhancement to obtain enhanced annotated data, and then the enhanced data is used to train the Bert-based prosody boundary prediction model, and the above process is repeated until a converged result is obtained. After that, the Bert-based prosody boundary prediction model can be used to automatically output the prosody boundary results of the text to be annotated data. The method of the patented technology of the present invention is divided into a training stage and a prediction stage. In the training stage, only a small amount of annotated data can be used to complete the high-quality training of the Bert-based prosody boundary prediction model, reducing the overfitting problem due to too little data. In the prediction stage, the characteristics of the word granularity can be used as input while ensuring the prediction performance, avoiding the dependence on the word segmentation system and the error accumulation that may be caused by the series system. The model is based on the distilled Bert, directly models the relationship between any two words in the text, and improves the prediction speed to meet the requirements of real-time synthesis applications. The advantage of the present invention is that it can solve the high cost problem of prosody prediction requiring a large amount of high-precision data, while improving the accuracy of the prosody prediction system. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 A schematic diagram of a flow chart of a rhythmic boundary prediction method according to an embodiment of the present invention;

[0019] Figure 2 A schematic diagram of the flow of the prediction phase of the Bert-based prosody boundary prediction model according to an embodiment of the present invention;

[0020] Figure 3 The figure is a schematic diagram of the composition of a rhythmic boundary prediction system according to an embodiment of the present invention. DETAILED DESCRIPTION

[0021] In order to make the purpose, technical scheme and advantages of the present invention clearer, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all of the embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention. Based on the embodiments of the present invention, all other embodiments obtained by technicians in the technical field without making creative work are within the scope of protection of the present invention.

[0022] In order to make the public have a better understanding of the present invention, some specific details are described in detail in the following detailed description of the present invention. For those skilled in the art, the present invention can be fully understood without the description of these details.

[0023] Example 1

[0024] Figure 1 FIG. 1 is a flow chart of a prosody boundary prediction method according to an embodiment of the present invention. Figure 1 As shown, an embodiment of the present invention provides a prosody boundary prediction method, comprising the following steps:

[0025] Step S110, establishing a prosody label annotated data set, and using an existing prosody model to train K low-precision prosody models on the prosody label annotated data set, where K is an integer greater than zero;

[0026] Step S120, automatically annotating the unlabeled data set using the K low-precision prosody models to obtain K groups of low-precision weak labels;

[0027] Step S130, based on the K groups of low-precision weak labels, using the HMM enhancement model to unsupervisedly infer enhanced labels from the K groups of low-precision weak labels;

[0028] Step S140, training a Bert-based prosodic boundary prediction model based on the unlabeled data set and the enhanced labels to obtain a trained Bert-based prosodic boundary prediction model;

[0029] Step S150 , based on the trained Bert-based prosodic boundary prediction model, unlabeled data to be predicted is input to obtain prosodic labels, thereby determining prosodic boundaries.

[0030] Since high-quality prosodic annotation databases are difficult to obtain, the embodiment of the present invention adopts a semi-supervised method to solve the high dependence on data. The training set required by the embodiment of the present invention only requires a small amount of annotated data (hundreds of sentences) and a large amount of unlabeled data.

[0031] In step S110, a prosodic label annotated data set (hundred-sentence level) is established for prosodic words, prosodic phrases and intonation phrases, and the data is processed into a format with characters as units and corresponding prosodic annotations to train an existing prosodic prediction model. At the same time, K prosodic models are built using the currently mature prosodic prediction model architecture and trained on the annotated data to obtain K low-precision prosodic models.

[0032] In step S120, based on the K low-precision prosody models obtained in step S110, a large amount of unlabeled data is input into the model to automatically generate K groups of low-precision weak labels.

[0033] In step S130, based on the K groups of low-precision weak-label annotated data automatically annotated by the K low-precision prosody models obtained in step S120, an HMM enhancement model is used to obtain enhanced labels.

[0034] This embodiment uses a method based on a hidden Markov model to denoise these labels, by modeling the true labels as hidden variables and inferring them from weak labels through unsupervised learning. The modeled true labels are hidden variables, and the K groups of weak labels generated by different models are observable values. It is assumed here that each group of weak labels is obtained by the emission matrix of the true label, that is, it can be understood that the relationship between the weak label and the true label is obtained through a transformation. Under this assumption, we set K emission matrices for K groups of weak labels respectively, and learn and infer the data distribution of the true label in an unsupervised manner. At the same time, in order to better utilize the information of long context, we change the traditional HMM using a fixed transition matrix and emission matrix to a Bert embedded word vector as input, and regard the transfer matrix and emission matrix as the output of the neural network.

[0035] To ensure the stability of the learning process, a strategy of gradually reducing the learning rate is used during training, and the model is trained using an unsupervised EM algorithm.

[0036] Finally, forward-backward reasoning is used to obtain enhanced labels from K groups of weak labels for subsequent rhythm model training.

[0037] In step S140, the pre-trained Bert model is trained using a large amount of Mandarin text data. Benefiting from this pre-training, the model is able to capture rich semantic and grammatical knowledge, thereby facilitating downstream tasks. The Bert-based prosodic boundary prediction model uses a distilled 312-dimensional word embedding vector, four layers of self-attention layers of Tiny_Bert, and a fully connected layer.

[0038] The Bert-based prosodic boundary prediction model is trained by minimizing the cross entropy error between the enhanced labels inferred by the HMM obtained in step S130 and the prosodic boundary prediction model generated by the Bert-based prosodic boundary prediction model. During training, we select different learning rates for the BERT layer and the linear layer to achieve better learning results.

[0039] Figure 2 FIG. 1 is a flow chart of the prediction phase of the Bert-based prosody boundary prediction model according to an embodiment of the present invention. Figure 2 As shown, in step S150, the prediction stage based on the Bert prosodic boundary prediction model mainly includes the following steps:

[0040] Step S210, segmenting the text by characters and converting them into numerical numbers corresponding to the text according to a dictionary;

[0041] Step S220, inputting the text sequence to be processed into a Bert-based prosodic boundary prediction model;

[0042] Step S230, outputting predicted word-level prosodic word boundaries, prosodic phrase boundaries, and intonation phrase boundary labels based on the Bert prosodic boundary prediction model;

[0043] Step S240: finally obtaining a prosodic word boundary, a prosodic phrase boundary and an intonation phrase boundary label sequence.

[0044] Example 2

[0045] This embodiment provides a prosody boundary prediction system, including:

[0046] The existing prosody model is used to perform model training using the prosody label annotated data set to obtain K low-precision prosody models, where K is an integer greater than zero;

[0047] The low-precision rhythm model is used to label the unlabeled data set and obtain K groups of low-precision weak labels;

[0048] An HMM enhancement model is used to obtain enhanced labels based on the unlabeled data set and the K groups of low-precision weak labels.

[0049] The Bert-based prosodic boundary prediction model is used to input the unlabeled data to be predicted and obtain the predicted prosodic boundary label corresponding to the unlabeled data to be predicted, wherein the unlabeled data set and the enhanced label are used to perform model training to obtain a trained Bert-based prosodic boundary prediction model.

[0050] The HMM enhancement model includes: the hidden variables of the HMM enhancement model are the enhancement labels; the observable values ​​are the K groups of low-precision weak labels; the transfer matrix and the emission matrix are the outputs of the Bert neural network model, wherein the Bert neural network model, based on the unlabeled data set and the K groups of low-precision weak labels, uses the Bert embedding word vector method for input, and outputs the transfer matrix and emission matrix of the HMM enhancement model; wherein the HMM enhancement model, based on the observable values, the transfer matrix and the emission matrix, uses forward and backward prediction to obtain the hidden variables, i.e., the enhancement labels. wherein the HMM enhancement model performs model training, and is trained by an unsupervised EM algorithm and a strategy of gradually reducing the learning rate.

[0051] The Bert-based prosodic boundary prediction model comprises: the Bert-based prosodic boundary prediction model comprises a distilled 312-dimensional word embedding vector, four layers of self-attention layers of Tiny_Bert, and a fully connected layer; the training process of the Bert-based prosodic boundary prediction model comprises: inputting the unlabeled data set into the Bert-based prosodic boundary prediction model to obtain a probability label output by the Bert-based prosodic boundary prediction model, and training the prosodic boundary prediction model based on minimizing the cross entropy error between the enhanced label and the probability label, wherein, in the process of training the prosodic boundary prediction model, different learning rates are selected for the Tiny_Bert layer and the linear layer to achieve better learning effect; the use process of the Bert-based prosodic boundary prediction model comprises: segmenting the unlabeled data to be predicted by words to obtain a corresponding digital text sequence; inputting the digital text sequence into the trained Bert-based prosodic boundary prediction model to obtain a predicted prosodic boundary label corresponding to the unlabeled data to be predicted; wherein, the predicted prosodic boundary label comprises: a prosodic word boundary label, a prosodic phrase boundary label, and an intonation phrase boundary label.

[0052] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0053] The specific embodiments described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. Therefore, it is understood that the above is only one of the specific implementation methods of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A prosody boundary prediction method, characterized in that: include: Establishing a prosody label annotated data set, and using an existing prosody model to train K low-precision prosody models on the prosody label annotated data set, where K is an integer greater than zero; Automatically annotating unlabeled data sets using the K low-precision prosody models to obtain K groups of low-precision weak labels; Based on the K groups of low-precision weak labels, an HMM enhancement model is used to unsupervisedly infer enhanced labels from the K groups of low-precision weak labels; Based on the unlabeled data set and the enhanced labels, a Bert-based prosodic boundary prediction model is trained to obtain a trained Bert-based prosodic boundary prediction model; Based on the trained Bert-based prosodic boundary prediction model, unlabeled data to be predicted is input to obtain prosodic labels, thereby determining prosodic boundaries.

2. The prosody boundary prediction method according to claim 1, characterized in that: The method of inferring enhanced labels from the K groups of low-precision weak labels in an unsupervised manner using an HMM enhanced model based on the K groups of low-precision weak labels includes: Using the HMM enhancement model, the K groups of low-precision weak labels are processed, wherein the enhanced labels are used as hidden variables of the HMM enhancement model, and the K groups of low-precision weak labels are observable values; Constructing a Bert neural network model, based on the unlabeled data set and the K groups of low-precision weak labels, using the Bert word embedding method for input, and outputting the transfer matrix and emission matrix of the HMM enhanced model; Based on the observable values, transfer matrix and emission matrix of the HMM enhanced model, forward-backward reasoning prediction is used to obtain the hidden variables of the HMM enhanced model, that is, the enhanced labels.

3. The prosody boundary prediction method according to claim 2, characterized in that: Also includes: The HMM enhanced model is trained by an unsupervised EM algorithm. To ensure the stability of the training process of the HMM enhanced model, a strategy of gradually reducing the learning rate is used for training.

4. The prosody boundary prediction method according to claim 1, characterized in that: The method of training a Bert-based prosodic boundary prediction model based on the unlabeled data set and the enhanced label to obtain a trained Bert-based prosodic boundary prediction model includes: A Bert-based prosodic boundary prediction model is constructed using a distilled 312-dimensional word embedding vector, four self-attention layers of Tiny_Bert, and a fully connected layer. Inputting the unlabeled data set into the Bert-based prosodic boundary prediction model to obtain a probability label output by the Bert-based prosodic boundary prediction model; A prosodic boundary prediction model is trained based on minimizing the cross entropy error between the enhanced labels and the probabilistic labels.

5. The prosody boundary prediction method according to claim 4, characterized in that: Also includes: In the process of training the rhythmic boundary prediction model, different learning rates are selected for the Tiny_Bert layer and the linear layer to achieve better learning effect.

6. The prosody boundary prediction method according to claim 1, characterized in that: The method of inputting unlabeled data to be predicted based on the trained Bert-based prosody boundary prediction model to obtain a prosody label includes: The unlabeled data to be predicted is divided into words and converted into corresponding digital numbers according to the dictionary; Inputting the digital sequence to be processed into the Bert-based prosodic boundary prediction model; The Bert-based prosodic boundary prediction model outputs predicted word-level prosodic labels, thereby determining prosodic boundaries; The prosodic labels include: prosodic word boundary labels, prosodic phrase boundary labels and intonation phrase boundary labels.

7. A prosody boundary prediction system, characterized in that: include: The existing prosody model is used to perform model training using the prosody label annotated data set to obtain K low-precision prosody models, where K is an integer greater than zero; The low-precision rhythm model is used to label the unlabeled data set and obtain K groups of low-precision weak labels; An HMM enhancement model is used to obtain enhanced labels based on the unlabeled data set and the K groups of low-precision weak labels. The Bert-based prosodic boundary prediction model is used to input unlabeled data to be predicted and obtain predicted prosodic boundary labels corresponding to the unlabeled data to be predicted, wherein the unlabeled data set and the enhanced labels are used to perform model training to obtain a trained Bert-based prosodic boundary prediction model.

8. The prosody boundary prediction system according to claim 7, characterized in that: The HMM enhanced model comprises: The hidden variables of the HMM enhanced model are enhanced labels; The observable values ​​of the HMM enhanced model are the low-precision weak labels described in the K groups; The transfer matrix and emission matrix of the HMM enhanced model are the outputs of the Bert neural network model, wherein the Bert neural network model is based on the unlabeled data set and the K groups of low-precision weak labels, uses the Bert embedding word vector method for input, and outputs the transfer matrix and emission matrix of the HMM enhanced model; Among them, the HMM enhanced model uses forward-backward reasoning prediction based on the observable values, transfer matrix and emission matrix to obtain hidden variables, namely enhanced labels.

9. The prosody boundary prediction system according to claim 8, characterized in that: Also includes: The HMM enhanced model is trained through the unsupervised EM algorithm and the strategy of gradually reducing the learning rate.

10. The prosody boundary prediction system according to claim 7, characterized in that: The Bert-based prosodic boundary prediction model includes: The Bert-based prosodic boundary prediction model includes a distilled 312-dimensional word embedding vector, four layers of self-attention layers, and a fully connected layer. The training process of the Bert-based rhythmic boundary prediction model includes: inputting the unlabeled data set into the Bert-based rhythmic boundary prediction model to obtain the probability label output by the Bert-based rhythmic boundary prediction model, and training the rhythmic boundary prediction model based on minimizing the cross entropy error between the enhanced label and the probability label, wherein, in the process of training the rhythmic boundary prediction model, different learning rates are selected for the Tiny_Bert layer and the linear layer to achieve better learning effect; The use process of the Bert-based prosodic boundary prediction model includes: segmenting the unlabeled data to be predicted by words and converting them into corresponding digital numbers according to a dictionary, inputting the digital numbers to be processed into the Bert-based prosodic boundary prediction model, and the Bert-based prosodic boundary prediction model outputs predicted word-level prosodic labels to determine prosodic boundaries, wherein the prosodic labels include: prosodic word boundary labels, prosodic phrase boundary labels and intonation phrase boundary labels.

Citation Information

Patent Citations

  • Rhythm labeling method and device, computer equipment and storage medium

    CN114360494A

  • KR20220096129A