Rhythm-level prediction model generation method and apparatus, and rhythm-level prediction method and apparatus

The invention provides a rhythm-level prediction model generation method and apparatus, and a rhythm-level prediction method and apparatus. The rhythm-level prediction model generation method comprises: generating an initial rhythm-level prediction model according to a precisely marking data set; collecting speech and corresponding text data, detecting feature information in the speech, and adding the feature information to a corresponding position of the text data; according to the initial rhythm-level prediction model, carrying out rhythm-level prediction on the text data with added feature information to obtain an initial rhythm-level prediction result; and according to the precisely marking data set and the initial rhythm-level prediction result, carrying out training to generate an updated rhythm-level prediction model, and applying the updated rhythm-level prediction model to rhythm-level prediction for speech synthesis. With the method, accuracy of the generated rhythm-level prediction model is improved and thus accuracy of the rhythm-level prediction is enhanced; and the voice synthesis effect is improved.