Intonation scoring method, intonation scoring system, computing device and storage medium
Patent Information
- Application Number
- CN202110338134.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-03-30
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2041-03-30
Smart Images

Figure CN115148225B
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of intonation scoring, and in particular to an intonation scoring method, an intonation scoring system, a computing device and a storage medium. Background Art
[0002] In the related art, when evaluating intonation scores, a relatively single measurement method is usually used to measure the fundamental frequency similarity between the target speech and the sample speech. This method is too simple, has insufficient adaptability, and has limited effectiveness. Especially in the teaching scenario of children's English, students' oral pronunciation is more random and changeable than that of adult students, so a stronger intonation evaluation method is needed. Summary of the invention
[0003] In order to overcome the problems existing in the related art, the present application provides a method for scoring intonation, which can achieve more accurate, stable and reasonable scoring of spoken intonation.
[0004] A method for scoring intonation, comprising: obtaining a target audio corresponding to text content input by a user; obtaining a sample audio corresponding to the text content; respectively calculating the fundamental frequency envelopes of the target audio and the sample audio; respectively obtaining time alignment information of the same text segment in the text content corresponding to the target audio and the sample audio; calculating at least two types of fundamental frequency similarity feature values between the target audio and the sample audio according to the fundamental frequency envelope and the time alignment information; and inputting the at least two types of fundamental frequency similarity feature values into a preset intonation scoring model to obtain the intonation score of the target audio.
[0005] In the above method, the text fragment includes a first type of text fragment, and the first type of text fragment includes at least one word; the time alignment information of the same text fragment in the text content corresponding to the target audio and the example audio is obtained respectively, and at least two types of fundamental frequency similarity feature values between the target audio and the example audio are calculated according to the fundamental frequency envelope and the time alignment information, including: obtaining first time alignment information of the same first type of text fragment in the text content corresponding to the target audio and the example audio respectively; and calculating at least two types of fundamental frequency similarity feature values between the target audio and the example audio based on the first type of text fragment according to the fundamental frequency envelope and the first time alignment information.
[0006] The above method also includes: dividing the text content to obtain at least two first-category text fragments, and each first-category text fragment includes the same number of words; or dividing the text content to obtain at least two first-category text fragments, and at least two first-category text fragments include different numbers of words.
[0007] In the above method, the fundamental frequency similarity feature values obtained based on the first type of text segments include basic statistical feature values, distance feature values, fundamental frequency range feature values and polynomial fitting coefficient feature values.
[0008] In the above method, the basic statistical characteristic values obtained based on the first type of text fragments include the minimum fundamental frequency, the maximum fundamental frequency, the median fundamental frequency and the fundamental frequency value range.
[0009] The distance feature values obtained based on the first type of text fragments include Euclidean distance, Manhattan distance, DTW distance, longest common subsequence score and BLEU score.
[0010] Among them, the fundamental frequency range class feature value includes: calculating the fundamental frequency value range of the target audio and the example audio of each text segment respectively; calculating the ratio of the fundamental frequency value range of each text segment of the target audio to the fundamental frequency value range of each text segment of the example audio; obtaining the maximum value, minimum value, or average value of all ratios.
[0011] The multiple fitting coefficient characteristic values include: fitting the fundamental frequency sequence of the target audio with a polynomial to obtain a fitting coefficient sequence as a characteristic value.
[0012] The above method also includes: dividing the text content into multiple second-category text segments, the second-category text segments include at least one syllable; obtaining second time alignment information of the same second-category text segment in the text content corresponding to the target audio and the example audio; calculating at least one type of syllable-level fundamental frequency similarity feature value based on the second-category text segment between the target audio and the example audio according to the fundamental frequency envelope and the second time alignment information; inputting the at least two types of fundamental frequency similarity feature values based on the first-category text segments and at least one type of fundamental frequency similarity feature value based on the second-category text segments into a preset intonation scoring model to obtain the result of the intonation scoring of the target audio.
[0013] Among them, dividing the text content into multiple second-category text fragments includes: dividing the text content to obtain at least two second-category text fragments, and the number of syllables of each second-category text fragment is the same; or dividing the text content to obtain at least two second-category text fragments, and the number of syllables of at least two second-category text fragments is different.
[0014] The fundamental frequency similarity feature values based on the second type of text segments include basic statistics feature values, fundamental frequency change trend feature values and distance correlation feature values.
[0015] In the above method, obtaining the sample audio corresponding to the text content and obtaining the fundamental frequency envelope of the sample audio includes: obtaining the language features of the words in the text content, inputting the language features of the words into a preset acoustic feature prediction model, and obtaining the fundamental frequency envelope of the sample audio corresponding to the text content.
[0016] The method of inputting the language features of a word into a preset acoustic feature prediction model to obtain the fundamental frequency envelope of the example audio corresponding to the text content includes: inputting the language features of the word into a speech duration prediction module to obtain the pronunciation duration of the word; based on multiples of the pronunciation duration of the word and the fundamental frequency envelope sampling period, obtaining a language feature sequence after expanding the language features of the word to the multiples; and inputting the expanded language feature sequence into the fundamental frequency prediction module to obtain the fundamental frequency envelope of the audio of the word.
[0017] The language feature is a vector including one or more of the following information: the content of the current word, the content of the previous word and the content of the next word; and the number of syllables of the current word, the number of syllables of the previous word and the number of syllables of the next word.
[0018] A voice intonation scoring system, comprising:
[0019] An audio input module, used for inputting a target audio corresponding to the text content and a sample audio corresponding to the text content;
[0020] An audio preprocessing module, electrically connected to the audio input module, for calculating the fundamental frequency envelopes of the target audio and the sample audio, and calculating time alignment information of the same text segment in the text content corresponding to the target audio and the sample audio;
[0021] A fundamental frequency similarity feature value calculation module, electrically connected to the audio preprocessing module, for calculating at least two types of fundamental frequency similarity feature values between the target audio and the sample audio according to the fundamental frequency envelopes of the target audio and the sample audio and the time alignment information;
[0022] The prediction score module is electrically connected to the fundamental frequency similarity feature value calculation module, and is used to score the intonation of the target audio according to the at least two types of fundamental frequency similarity feature values.
[0023] In the above system, the text segment includes a first type of text segment, and the first type of text segment includes at least one word;
[0024] And, the audio processing module, the calculating the time alignment information of the same text segment in the text content corresponding to the target audio and the example audio includes: calculating the first time alignment information of the same first type of text segment in the text content corresponding to the target audio and the example audio;
[0025] And, a fundamental frequency similarity feature value calculation module, which calculates at least two types of fundamental frequency similarity feature values between the target audio and the example audio according to the fundamental frequency envelope and the time alignment information, including: calculating at least two types of fundamental frequency similarity feature values between the target audio and the example audio based on the first type of text fragments according to the fundamental frequency envelope and the first time alignment information.
[0026] In the above system, the audio preprocessing module also includes: dividing the text content to obtain at least two first-category text segments, and each first-category text segment includes the same number of words; or dividing the text content to obtain at least two first-category text segments, and at least two first-category text segments contain different numbers of words.
[0027] The fundamental frequency similarity feature values obtained based on the first type of text segments include: basic statistics feature values, distance feature values, fundamental frequency range feature values and polynomial fitting coefficient feature values.
[0028] In the above system, the audio preprocessing module further comprises: dividing the text content into a plurality of second-category text segments, wherein the second-category text segments include at least one syllable;
[0029] Obtaining second time alignment information of the same second type of text segment in the text content corresponding to the target audio and the example audio;
[0030] And, the fundamental frequency similarity feature value calculation module calculates at least one type of syllable-level fundamental frequency similarity feature value between the target audio and the example audio based on the second type of text fragment according to the fundamental frequency envelope and the second time alignment information;
[0031] Furthermore, the prediction score module inputs the at least two types of fundamental frequency similarity feature values based on the first type of text fragments and the at least one type of fundamental frequency similarity feature value based on the second type of text fragments into a preset intonation scoring model to obtain a result of intonation scoring for the target audio.
[0032] A computing device comprising:
[0033] Processor; and
[0034] The memory stores executable codes thereon, and when the executable codes are executed by the processor, the processor is caused to execute the method as described above.
[0035] A non-transitory machine-readable storage medium stores executable codes thereon. When the executable codes are executed by a processor of a computing device, the processor is caused to perform the method as described above.
[0036] The intonation scoring method provided in the embodiment of the present application scores the spoken intonation of the target audio by using at least two types of fundamental frequency similarity feature values based on the word level as calculation parameters. It can reasonably score the spoken intonation at different stages, and at the same time avoids the situation in which the scoring effect is limited when using a single variable to score the spoken intonation, thereby improving the adaptability and scoring effect of the intonation scoring, and improving the rationality and accuracy of the scoring of the target audio.
[0037] Furthermore, the embodiment of the present invention also divides the sample audio and the target audio into syllable levels, and then uses at least two types of fundamental frequency similarity feature values at the word level and at least one type of fundamental frequency similarity feature value at the syllable level as model input to obtain intonation scoring results, thereby further improving the accuracy of the target audio scoring.
[0038] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] The above and other objects, features and advantages of the present application will become more apparent through a more detailed description of exemplary embodiments of the present application in conjunction with the accompanying drawings, wherein the same reference numerals generally represent the same components in the exemplary embodiments of the present application.
[0040] Figure 1 is a flowchart of a method for scoring intonation according to an embodiment of the present application;
[0041] Figure 2 is a flowchart of a method for scoring intonation according to an embodiment of the present application;
[0042] Figure 3 is a flowchart of a method for scoring intonation according to an embodiment of the present application;
[0043] Figure 4 is a schematic block diagram of the structure of the intonation scoring system shown in an embodiment of the present application;
[0044] Figure 5 It is a schematic block diagram of the structure of an electronic device shown in an embodiment of the present application.
[0045] Description of reference numerals:
[0046] 100. Intonation scoring system; 101. Audio input module; 102. Audio preprocessing module; 103. Fundamental frequency similarity feature value calculation module; 104. Prediction score module; 200. Electronic device; 201. Memory; 202. Processor. DETAILED DESCRIPTION
[0047] The preferred embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although the preferred embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided to make the present application more thorough and complete, and to fully convey the scope of the present application to those skilled in the art.
[0048] The terms used in this application are for the purpose of describing specific embodiments only and are not intended to limit this application. The singular forms of "a", "said" and "the" used in this application and the appended claims are also intended to include plural forms unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.
[0049] It should be understood that although the terms "first", "second", "third", etc. may be used in this application to describe various information, this information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of this application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of this application, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.
[0050] In the related art, when evaluating intonation scores, a relatively single measurement method is usually used to measure the fundamental frequency similarity between the target speech and the sample speech. This method is too simple, has insufficient adaptability, and has limited effectiveness. Especially in the teaching scenario of children's English, students' oral pronunciation is more random and changeable than that of adult students, so a stronger intonation evaluation method is needed.
[0051] In view of the above problems, the embodiment of the present application provides a method for scoring intonation, which can score the oral intonation more accurately, stably and reasonably. The embodiment of the present invention takes English sentence pronunciation scoring as an example, but does not limit the application of the present invention to scenarios of pronunciation scoring in other languages, such as Chinese, German, Japanese, etc.
[0052] An embodiment of the present invention provides a method for scoring intonation, comprising the following steps:
[0053] Obtain the target audio corresponding to the text content input by the user; and obtain the sample audio corresponding to the text content. The sample audio is the standard pronunciation of the text content. Corresponding to the text content, the system pre-stores the sample audio corresponding to the text content. For a text content, the complete sample audio corresponding to the text content can be stored; the standard pronunciation of the words constituting the text content can also be stored, and the standard word pronunciations are combined into the sample audio corresponding to the text content according to the text.
[0054] The target audio is an audio recording of a user reading a text content displayed by the system, and the embodiment of the present invention is to score whether the pronunciation of the target audio is standard. The present invention does not limit the form of the scoring, for example, a percentage system is used, or multiple levels are set, such as A, B, and C.
[0055] The fundamental frequency envelopes of the target audio and the sample audio are calculated respectively; and the text content is divided into multiple text segments, and the time alignment information of the target audio corresponding to the text segments is obtained; and the time alignment information of the sample audio corresponding to the same text segments is obtained. Thus, for the same text segment, the sample audio and the target audio are aligned in time. According to the time alignment information, for a certain text segment, the sample audio and the target audio corresponding to the text segment can be extracted.
[0056] At least two types of fundamental frequency similarity feature values between the target audio and the example audio are calculated according to the fundamental frequency envelope and the time alignment information.
[0057] Since for any text segment in the text content, the sample audio and target audio corresponding to the text segment can be extracted, the fundamental frequency similarity feature value between the target audio and the sample audio can be calculated. The present invention needs to calculate at least two types of fundamental frequency similarity feature values.
[0058] At least two types of fundamental frequency similarity feature values are input into a preset intonation scoring model to obtain an intonation scoring result for the target audio.
[0059] In another embodiment of the present invention, the text segment contains at least one word, that is, the text content is divided into words as the smallest unit to obtain multiple text segments.
[0060] The best way is to divide each word in the text content into separate segments. For example, the text content is: "What is your name?", which is divided into four text segments, namely "What", "is", "your", and "name", so as to obtain the audio segments corresponding to the four text segments of the sample audio and the target audio.
[0061] In addition to the above methods, the text segments obtained in the present invention in units of words may contain two or more words, and the two or more words sometimes constitute a phrase. Taking "What is your name?" as an example, it is divided into two text segments, namely "What is" and "your name", and the sample audio and the target audio are obtained. The audio segments corresponding to the two text segments.
[0062] As another implementation method, in order to obtain text segments, not every text segment contains the same number of words. Specific rules or algorithms can be used to obtain text segments with different or partially identical numbers of words. Taking "What is your name?" as an example, the three text segments within its scope can be "What is", "your" and "name". It can be seen that the first text segment contains two words, and the second and third text segments each contain one word. Then, the audio segments corresponding to the sample audio and the target audio and these three text segments are obtained.
[0063] Obviously, for complex sentences, more complex methods can be used to divide the text content, which will not be described in detail in this article.
[0064] The following describes in detail the technical solution of the embodiment of the present application in conjunction with the accompanying drawings, assuming that each text segment contains one word.
[0065] Figure 1 It is a flowchart of a method for scoring intonation according to an embodiment of the present application.
[0066] See also Figure 1 In a first aspect, the present application provides a method for scoring intonation, comprising:
[0067] Step S100: obtaining target audio corresponding to text content input by a user; and obtaining sample audio corresponding to the text content.
[0068] Step S102: respectively calculating the fundamental frequency envelopes of the target audio and the sample audio; and respectively obtaining the first time alignment information of the same words in the text content of the target audio and the sample audio.
[0069] Step S104: Calculate at least two types of word-level fundamental frequency similarity feature values between the target audio and the example audio in units of words according to the fundamental frequency envelope and the first time alignment information.
[0070] The two types of word-level fundamental frequency similarity feature values are two-dimensional word-level fundamental frequency similarity feature values, including word-level basic statistics feature values, word-level distance feature values, word-level fundamental frequency range feature values, and word-level polynomial fitting coefficient feature values. This embodiment obtains more accurate intonation scores by obtaining fundamental frequency similarity feature values of multiple dimensions.
[0071] Step S106: inputting at least two word-level fundamental frequency similarity feature values into a preset intonation scoring model to obtain an intonation scoring result for the target audio.
[0072] In the oral intonation scoring method of the above embodiment, the target audio corresponding to the text content input by the user is obtained as the audio to be scored, and the sample audio corresponding to the text content is obtained as the standard audio used for comparison with the above target audio for scoring.
[0073] First, the fundamental frequency envelopes of the target audio and the sample audio are calculated, and the first time alignment information of the same words in the corresponding text content of the target audio and the sample audio is obtained respectively, that is, the start and end time of the pronunciation of the same words in the target audio and the sample audio in the corresponding text are obtained, and the word-level fundamental frequency similarity feature values of multiple dimensions between the target audio and the sample audio are calculated in units of words.
[0074] For example, based on the start and end time of the same word in the target audio and the sample audio, 25 fundamental frequency sequence points of the word are sampled at equal intervals, and the average value of the 25 fundamental frequency sampling point sequences is obtained. By comparing and analyzing the fundamental frequency features in multiple dimensions, the fundamental frequency similarity feature values of at least two dimensions at the word level of the target audio and the sample audio can be calculated.
[0075] Secondly, the word-level fundamental frequency similarity feature values of at least two dimensions are used as inputs of a preset intonation scoring model. The preset intonation scoring model is, for example, a machine learning model, which can be trained using, for example, logistic regression, support vector machine, or a variety of deep neural network structures. In this way, when the word-level fundamental frequency similarity feature values of at least two dimensions between the target audio and the sample audio are input, the preset intonation scoring model can calculate the intonation score of the target audio through the machine learning model.
[0076] Based on the above description, it can be seen that when the spoken intonation of the target audio is scored by using the word-level fundamental frequency similarity feature values of at least two dimensions as calculation parameters, reasonable scoring can be performed for the spoken intonation of different stages, while avoiding the use of a single variable to score the spoken intonation, with better adaptability and scoring effect, which not only improves the rationality of the target audio scoring, but also improves the accuracy of the target audio scoring.
[0077] Among them, a variety of algorithms can be used to calculate the fundamental frequency envelope of speech, such as the autocorrelation method of the open source phonetics software Praat, the YIN algorithm, and the improved algorithm provided by the open source speech recognition toolkit Kaldi. The speech and text are forced to be aligned to obtain the first time alignment information of the same words in the text content corresponding to the target audio and the sample audio. The Viterbi algorithm can be used, which can be implemented by the open source speech tool software HTK or Kaldi.
[0078] In an embodiment of the present application, the word-level fundamental frequency similarity feature values include word-level basic statistics feature values, word-level distance feature values, word-level fundamental frequency range class feature values, and word-level polynomial fitting coefficient feature values.
[0079] By jointly inputting the calculated word-level basic statistical feature values, word-level distance feature values and word-level fundamental frequency range class feature values into a preset intonation scoring model, the machine learning module in the intonation scoring model performs weighted scoring according to the input word-level basic statistical feature values, word-level distance feature values and word-level fundamental frequency range class feature values and their corresponding intonation scores, thereby obtaining the intonation scoring result for the target audio.
[0080] In some embodiments, the word-level basic statistical feature values include the minimum fundamental frequency, the maximum fundamental frequency, the median fundamental frequency, and the fundamental frequency value range of the words in the sentence.
[0081] In some embodiments, word-level distance features include Euclidean distance, Manhattan distance, DTW distance, longest common subsequence score, and BLEU score between the same words in the text content.
[0082] In some embodiments, the word-level fundamental frequency range class feature values include the maximum value of the target audio word fundamental frequency value range as a proportion of the example audio fundamental frequency value range, the minimum value of the target audio word fundamental frequency value range as a proportion of the example audio fundamental frequency value range, the average value of the target audio word fundamental frequency value range as a proportion of the example audio fundamental frequency value range, and the proportion of the fundamental frequency value range of the target audio entire sentence as a proportion of the fundamental frequency value range of the example audio entire sentence.
[0083] Specifically, the basic statistical feature values at the word level include the minimum fundamental frequency, maximum fundamental frequency, median fundamental frequency and fundamental frequency value range (ie, the maximum fundamental frequency of the whole sentence minus the minimum fundamental frequency) of the word.
[0084] The word-level distance feature value mainly calculates various distances between the fundamental frequency sequences of the corresponding words in the target audio and the sample audio, including Euclidean distance, Manhattan distance, DTW (dynamic time deviation) distance, longest common subsequence score, BLEU (bilingual evaluation replacement) score, etc.
[0085] For example, assuming that the text content consists of three words, when calculating the Euclidean distance between the target audio and the sample audio of the text content, the Euclidean distance between the target audio and the sample audio corresponding to the same word can be calculated, and then the average of the calculated Euclidean distances between the three pairs of words is calculated to obtain the Euclidean distance feature.
[0086] The method for calculating Manhattan distance, DTW distance and Euclidean distance is similar to that for calculating Euclidean distance, that is, the Manhattan distance or DTW distance between the words corresponding to the scored audio and the sample audio is obtained, and then the Manhattan distance or DTW distance between all three pairs of words is averaged.
[0087] The longest common subsequence score and BLEU (Bilingual Evaluation Replacement) score are calculated by first converting the base frequency sampling point sequence in each word into a change trend sequence, and then comparing the distance on the change trend sequence. The change trend sequence refers to the ratio of the longest common subsequence length of the base frequency change trend sequence of the target audio and the sample audio to the length of the entire trend sequence.
[0088] The BLEU score is an evaluation indicator for judging the similarity between two sentences in machine translation. Here, the BLEU indicator is calculated on the fundamental frequency change trend sequence of the target speech and the sample speech as one of the features representing the similarity of the two trend sequences. The two methods first convert the fundamental frequency sampling point sequence in each word into a change trend sequence, and then compare the distance on the change trend sequence. Specifically, the change trend sequence refers to comparing each fundamental frequency sampling point with the next point in order. If the next point is larger than the current point, the current change trend takes a value of 1. If the next point is smaller than the current point, the current change trend takes a value of -1. If the next point and the current point have the same value, the current change takes a value of 0. In this way, the entire fundamental frequency sampling point sequence is converted into a change trend sequence representing its increase or decrease. For example, when calculating the longest common subsequence score, the fundamental frequency sampling point sequence of the word "got" is (65, 68, 74, 90, 90, 87, 76, ...), and its corresponding change trend sequence is (0, 1, 1, 1, 0, -1, -1...). (F o1 , F o2 , F o3 ) corresponds to the following trend: o1 , Trend o2 , Trend o3 );(F s1 , F s2 , F s3 ) corresponds to the following trend: s1 ,Trend s2 , Trend s3 ). BLEU score specific calculation example: calculate (Trend o1, Trend o2 , Trend o3 ) and (Trend e1 , Trend s2 , Trend s3 ) The BLEU scores between the two change trend sequences corresponding to each word are obtained, and three BLEU scores are obtained. The average of these three scores is the BLEU score feature of the sentence.
[0089] The word-level fundamental frequency range feature value mainly calculates the ratio of the target audio value range to the sample audio speech fundamental frequency value range, including:
[0090] a. The maximum value of the ratio of the target audio word fundamental frequency value range to the sample audio fundamental frequency value range;
[0091] b. The minimum value of the ratio of the target audio word fundamental frequency value range to the sample audio fundamental frequency value range;
[0092] c. The average value of the target audio word fundamental frequency value range to the sample audio fundamental frequency value range;
[0093] d. The ratio of the fundamental frequency value range of the entire target audio sentence to the fundamental frequency value range of the entire sample audio sentence.
[0094] Specific calculations, for example, for each word of the target audio and the sample audio, the range of fundamental frequency values within its time range (maximum value minus minimum value) can be calculated; for each word of the target audio and the sample audio, the ratio of the target audio word fundamental frequency value range to the sample audio fundamental frequency value range is calculated; the maximum value of these ratios constitutes feature a; the minimum value of the ratio constitutes feature b; the average value of all ratios constitutes feature c; in the whole sentence, the ratio of the target audio fundamental frequency value range to the sample audio fundamental frequency value range constitutes feature d.
[0095] The word-level polynomial fitting coefficient feature value refers to using polynomials from low to high order to fit the fundamental frequency sequence of the entire sentence of the target audio, taking the fitting coefficients of each order polynomial as a type of feature, and taking the error term of each polynomial fitting as a feature. For n-order polynomial fitting, the number of features provided is n+1. In fact, polynomials of order 1 to 7 are used, so there are 2+3+...+8=35 features in this category.
[0096] For example, the base frequency sequence of the entire target audio sentence is a series of numbers (an array), and a polynomial can be used to fit this series of numbers. For example, assuming that these numbers are (a, b, c, d, e, f...), if a first-order polynomial is used to fit these numbers, assuming that the first-order polynomial obtained is mx+n, and the fitting error is p, then the fitting coefficient m and the fitting error p are the two features provided by the first-order polynomial; if a second-order polynomial is used for fitting, assuming that the second-order polynomial obtained is mx 2 +nx+o, the fitting error is p, then the fitting coefficients m, n and the fitting error p are the three features provided by the second-order polynomial; and so on to higher-order polynomials.
[0097] Another embodiment of the present invention, after obtaining the word-level fundamental frequency similarity feature value, further includes: obtaining second time alignment information of the same syllable of the same word in the text content of the target audio and the example audio; calculating at least one syllable-level fundamental frequency similarity feature value between the target audio and the example audio in units of syllables based on the fundamental frequency envelope and the second time alignment information; using at least two word-level fundamental frequency similarity feature values and at least one syllable-level fundamental frequency similarity feature value as input to a preset intonation scoring model to obtain the result of the intonation scoring of the target audio.
[0098] A syllable is the smallest phonetic unit of a single vowel phoneme and a consonant phoneme in a phonetic language system. A single vowel phoneme can also form a syllable by itself. For Chinese, the syllable described in the embodiment of the present invention refers to a combination of vowel phonemes and consonant phonemes. Obviously, dividing the text content according to syllables will obtain smaller text segments than dividing the text content according to words. Correspondingly, corresponding to a sentence, smaller and more example audio segments and target audio segments are obtained.
[0099] Taking English as an example, the pronunciation of each word in the text content is obtained by searching the database, thereby obtaining the syllables corresponding to the entire text content.
[0100] The system can store complete audio corresponding to the text content; it can also store the standard pronunciations of the words that make up the text content, and obtain sample audio corresponding to the text content by pronouncing the standard words according to the text; or according to the pronunciation of each word in the text content, call the syllable audio to obtain sample audio corresponding to the text content; and other methods besides these do not affect the realization of the purpose of the present invention.
[0101] When dividing the text content, a better way is to divide each syllable of each word in the text content into a separate text segment.
[0102] Alternatively, the text segment may contain two or more syllables. The syllables classified into the same text segment may belong to the same word, or to different words connected before and after. The present invention is not limited thereto.
[0103] By dividing the text content by syllables, multiple second text segments containing the same number of syllables or second text segments containing different numbers of syllables can be obtained. That is, similar to dividing the text content by words, when dividing the text content by syllables, not all the obtained text segments contain the same number of syllables. Specific rules or algorithms can be used to obtain text segments with different or partially identical word numbers.
[0104] Next, at least one syllable-level fundamental frequency similarity feature value may be calculated based on the fundamental frequency envelopes of the target audio and the sample audio and the second time alignment information of the same syllable of the same word in the text content.
[0105] For example, according to the start and end time of the same syllable of the same word in the target audio and the sample audio, 25 fundamental frequency sequence points of the syllable are sampled at equal intervals to obtain the average value of the 25 fundamental frequency sampling point sequences. By comparing and analyzing the fundamental frequency features of multiple dimensions, at least one syllable-level fundamental frequency similarity feature value of the target audio and the sample audio can be calculated. Then, by inputting at least two word-level fundamental frequency similarity feature values and at least one syllable-level fundamental frequency similarity feature value between the target audio and the sample audio into a preset intonation scoring model, compared with only using at least two word-level fundamental frequency similarity feature values as the input of the model, the types and quantities of fundamental frequency similarity feature values for comparison and scoring between the target audio and the sample audio are increased, thereby further improving the accuracy of the target audio scoring.
[0106] In the above embodiment, the syllable-level fundamental frequency similarity feature value includes a syllable-level basic statistics feature value, a syllable-level fundamental frequency change trend feature value and a syllable-level distance correlation feature value.
[0107] Specifically, the syllable-level basic statistics feature value refers to the ratio of the variance of the fundamental frequency in the target audio syllable to the variance of the fundamental frequency in the sample audio syllable. Similar to the word-level features, each word contains multiple syllables. Here, the variance of all fundamental frequency sampling points in each syllable is calculated, and then the ratio of the variance of the fundamental frequency in the target speech syllable to the variance of the fundamental frequency in the sample speech syllable is calculated on the corresponding syllable. Finally, the ratio of the variances of all syllables in the entire sentence is averaged to obtain this feature.
[0108] For example, suppose a sentence contains 5 syllables, the fundamental frequency variances of the target speech on these 5 syllables are d1, d2, d3, d4 and d5, and the fundamental frequency variances of the sample speech on these 5 syllables are e1, e2, e3, e4 and e5, then the calculation method of this feature is: (d1 / e1+d2 / e2+d3 / e3+d4 / e4+d5 / e5) / 5.
[0109] The syllable-level fundamental frequency change trend feature includes the syllable longest common subsequence score, that is, the ratio of the longest common subsequence length of the fundamental frequency change trend sequence of the target audio and the sample audio on each syllable to the length of the entire trend sequence.
[0110] For example, assuming that a sentence contains 5 syllables, the longest common subsequence length of the fundamental frequency change trend sequence of the target speech and the sample speech on these 5 syllables is L1, L2, L3, L4 and L5, and the length of the fundamental frequency change trend sequence on the 5 syllables is T1, T2, T3, T4 and T5, then the calculation method of this feature is: (L1 / T1+L2 / T2+L3 / T3+L4 / T4+L5 / T5) / 5.
[0111] Syllable-level distance-related features refer to various distance features on syllables (such as Euclidean distance, Manhattan distance, and DTW distance, etc.), and then the distance scores of each syllable are averaged on the evidence.
[0112] The above feature values are input into a pre-trained preset model to predict the intonation score of the target audio.
[0113] Figure 2 It is a flowchart of a method for scoring intonation according to another embodiment of the present application.
[0114] See also Figure 2 According to another embodiment of the present application, a method for scoring intonation includes:
[0115] Step S200: obtaining target audio corresponding to the text content input by the user; and obtaining sample audio corresponding to the text content.
[0116] Step S202: respectively calculating the fundamental frequency envelopes of the target audio and the example audio; and respectively obtaining second time alignment information of the same syllable of the same word in the text content of the target audio and the example audio.
[0117] Step S204: Calculate at least two dimensional syllable-level fundamental frequency similarity feature values between the target audio and the example audio in units of syllables according to the fundamental frequency envelope and the second time alignment information.
[0118] Step S206: using at least two syllable-level fundamental frequency similarity feature values as inputs to a preset intonation scoring model to obtain an intonation scoring result for the target audio.
[0119] In this embodiment, by calculating the fundamental frequency envelope between the target audio and the sample audio, and the second time alignment information of the same syllable of the same word in the text content, at least two syllable-level fundamental frequency similarity feature values between the target audio and the sample audio are calculated in units of syllables, and the method is the same as in any of the above embodiments. Then, the at least two syllable-level fundamental frequency similarity feature values are used as inputs of a preset score prediction model, and the sample audio of the target audio can also be predicted. Compared with the case of scoring the spoken intonation with a single variable, the adaptability and scoring effect are better, thereby improving the rationality and accuracy of the scoring of the target audio.
[0120] In some embodiments, the at least two syllable-level fundamental frequency similarity feature values include a syllable-level basic statistics feature value, a syllable-level fundamental frequency change trend feature value, and a syllable-level distance correlation feature value.
[0121] In the above embodiment, it also includes: obtaining first time alignment information of the same words in the text content of the target audio and the example audio; calculating at least one word-level fundamental frequency similarity feature value between the target audio and the example audio in units of words according to the fundamental frequency envelope and the first time alignment information; using at least two syllable-level fundamental frequency similarity feature values and at least one word-level fundamental frequency similarity feature value as inputs of a preset intonation scoring model to obtain a result of intonation scoring for the target audio.
[0122] In some embodiments, the word-level fundamental frequency similarity feature values include word-level basic statistics feature values, word-level distance feature values, word-level fundamental frequency range class feature values, and word-level polynomial fitting coefficient feature values.
[0123] Figure 3 : is a flow chart of a method for scoring intonation according to another embodiment of the present application. In this embodiment, the text content is divided according to a single word to obtain a first type of text segment, that is, each first type of segment contains only one word; and the text content is divided according to a single syllable to obtain a second type of text segment, that is, each second type of text segment contains one syllable.
[0124] See also Figure 3 According to another embodiment of the present application, a method for scoring oral intonation includes:
[0125] Step S300: obtaining target audio corresponding to the text content input by the user; and obtaining sample audio corresponding to the text content.
[0126] Step S302: Calculate the fundamental frequency envelopes of the target audio and the sample audio respectively; obtain the first time alignment information of the same words in the text content of the target audio and the sample audio, and the second time alignment information of the same syllables of the same words in the text content of the target audio and the sample audio respectively.
[0127] Step S304: Calculate the word-level fundamental frequency similarity feature value between the target audio and the example audio in units of words according to the fundamental frequency envelope and the first time alignment information.
[0128] Step S306: Calculate the syllable-level fundamental frequency similarity feature value between the target audio and the example audio in units of syllables according to the fundamental frequency envelope and the second time alignment information.
[0129] Step S308: taking at least one dimension of word-level fundamental frequency similarity feature value and at least one dimension of syllable-level fundamental frequency similarity feature value as inputs of a preset model to obtain a result of intonation scoring of the target audio.
[0130] In this embodiment, based on the first temporal alignment information of the fundamental frequency envelopes of the target audio and the example audio and the same words in the corresponding texts, and the second temporal alignment information of the fundamental frequency envelopes of the target audio and the example audio and the same syllables of the same words in the corresponding texts, not only the fundamental frequency similarity feature values at the word level can be calculated, but also the fundamental frequency similarity feature values at the syllable level can be calculated. By inputting at least one word-level fundamental frequency similarity feature value and at least one syllable-level fundamental frequency similarity feature value between the target audio and the example audio into a preset model, compared with inputting only the fundamental frequency similarity feature values at the word level or the syllable level, the types and quantities of fundamental frequency similarity feature values for comparison and scoring between the target audio and the example audio are increased, thereby further improving the accuracy of scoring the target audio.
[0131] Among them, the word-level fundamental frequency similarity feature value and the syllable-level fundamental frequency similarity feature value have been described in detail in the above embodiment, so they will not be repeated here.
[0132] In the above method embodiment, the sample audio may be pre-set in the system. If the system does not store the sample audio, it may be obtained by the following method.
[0133] The language features of the words in the text content are obtained, and the language features of the words are used as inputs of a preset acoustic feature prediction model to obtain the fundamental frequency envelope of the sample audio corresponding to the text content.
[0134] Specifically, the speech duration of the word is predicted according to the language features of the word to obtain the pronunciation duration of the word; based on the pronunciation duration of the word and the multiples of the fundamental frequency envelope sampling period, a language feature sequence after the language features of the word are expanded to the multiples is obtained; the expanded language feature sequence is input into the fundamental frequency prediction module to obtain the fundamental frequency envelope of the audio of the word.
[0135] In some embodiments, the language feature is a vector including one or more of the following information: the content of the current word, the content of the previous word, and the content of the next word; and the number of syllables of the current word, the number of syllables of the previous word, and the number of syllables of the next word.
[0136] By inputting the language features of each word into the speech duration prediction neural network, the speech duration prediction neural network can predict the pronunciation duration of the word according to the language features of each word input, obtain the multiples of the predicted pronunciation duration of the word and the fundamental frequency envelope sampling period, and expand the language features of the word to the corresponding multiples to obtain the expanded language feature sequence of the word, and input the expanded language features into the fundamental frequency prediction neural network, the neural network can predict the fundamental frequency envelope of the word according to the input expanded language feature sequence, and then the fundamental frequency envelope of the entire sentence can be obtained.
[0137] The language features may include: a vector of at least one of the following information: the current word content, the previous word content, the next word content, the number of syllables contained in the current word, the number of syllables contained in the previous word, and the number of syllables contained in the next word.
[0138] In English business scenarios, when training the pronunciation duration prediction neural network and the fundamental frequency prediction neural network, a large amount of English speech and text with standard pronunciation and related to English teaching content are used as training data. After training, the pronunciation duration and fundamental frequency envelope predicted by the two neural networks can be regarded as a relatively standard pronunciation result, which can be used as a reference for evaluating the intonation score of the target audio. The predicted pronunciation duration of each word and the fundamental frequency value of each frame of the entire sentence can be used as the acoustic prediction information of the sample audio.
[0139] For example, in the sentence "I eat apple", the language feature of word I is X, X = (I, '', eat, 1, 0, 1); the language feature of word eat is Y, Y = (eat, I, apple, 1, 1, 2); the language feature of word apple is Z, Z = (apple, eat, '', 2, 1, 0). Assuming that the pronunciation duration of word I is predicted to be 300 milliseconds, the pronunciation duration of eat is 400 milliseconds, and the pronunciation duration of apple is 500 milliseconds, if the duration of each frame is 20 milliseconds, then the feature of I is expanded 15 times (300 / 20), the feature Y of eat is expanded 20 times (400 / 20), and the feature Z of apple is expanded 25 times (500 / 20), and the fundamental frequency value of each frame of the sentence "Ieat apple" can be obtained.
[0140] Figure 4 : is a schematic block diagram of the structure of the intonation scoring system shown in the embodiment of the present application. Taking the English application scenario as an example, Figure 4 The English intonation scoring system shown includes:
[0141] An audio input module 101, used for inputting a target audio corresponding to the text content and a sample audio corresponding to the text content;
[0142] An audio preprocessing module 102, electrically connected to the audio input module, for calculating the fundamental frequency envelope of the target audio and the sample audio, and calculating time alignment information of the same text segment in the text content corresponding to the target audio and the sample audio;
[0143] A fundamental frequency similarity feature value calculation module 103, electrically connected to the audio preprocessing module, for calculating at least two types of fundamental frequency similarity feature values between the target audio and the sample audio according to the fundamental frequency envelopes of the target audio and the sample audio and the time alignment information;
[0144] The prediction score module 104 is electrically connected to the fundamental frequency similarity feature value calculation module, and is used to score the intonation of the target audio according to the at least two types of fundamental frequency similarity feature values.
[0145] In the above system, the text segment includes a first type of text segment, and the first type of text segment includes at least one word;
[0146] And, an audio processing module calculates first time alignment information of the target audio and the sample audio corresponding to the same first type of text segment in the text content;
[0147] And, a fundamental frequency similarity feature value calculation module calculates at least two types of fundamental frequency similarity feature values between the target audio and the example audio based on the first type of text fragments according to the fundamental frequency envelope and the first time alignment information.
[0148] In the above system, the audio preprocessing module also includes: dividing the text content to obtain at least two first-category text segments, and each first-category text segment includes the same number of words; or dividing the text content to obtain at least two first-category text segments, and at least two first-category text segments contain different numbers of words.
[0149] The fundamental frequency similarity feature values obtained based on the first type of text segments include: basic statistics feature values, distance feature values, fundamental frequency range feature values and polynomial fitting coefficient feature values.
[0150] In the above system, the audio preprocessing module further comprises: dividing the text content into a plurality of second-category text segments, wherein the second-category text segments include at least one syllable;
[0151] Obtaining second time alignment information of the same second type of text segment in the text content corresponding to the target audio and the example audio;
[0152] And, the fundamental frequency similarity feature value calculation module calculates at least one type of syllable-level fundamental frequency similarity feature value between the target audio and the example audio based on the second type of text fragment according to the fundamental frequency envelope and the second time alignment information;
[0153] Furthermore, the prediction score module inputs the at least two types of fundamental frequency similarity feature values based on the first type of text fragments and the at least one type of fundamental frequency similarity feature value based on the second type of text fragments into a preset intonation scoring model to obtain a result of intonation scoring for the target audio.
[0154] The word-level fundamental frequency similarity feature value and the syllable-level fundamental frequency similarity feature value have been described in detail in the above embodiments, so they will not be repeated here.
[0155] Regarding the apparatus in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the intonation scoring method, and will not be elaborated again here.
[0156] The scheme of the present application has been described in detail above with reference to the accompanying drawings. In the above embodiments, the descriptions of each embodiment have their own emphases. For parts that are not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments. Those skilled in the art should also be aware that the actions and modules involved in the specification are not necessarily required for the present application. In addition, it can be understood that the steps in the intonation scoring method of the embodiment of the present application can be adjusted in order, merged and deleted according to actual needs, and the modules in the device of the embodiment of the present application can be merged, divided and deleted according to actual needs.
[0157] See also Figure 5 , the computing device 200 includes a memory 201 and a processor 202 .
[0158] The processor 202 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.
[0159] The memory 201 may include various types of storage units, such as system memory, read-only memory (ROM), and permanent storage. Among them, ROM can store static data or instructions required by the processor 202 or other modules of the computer. The permanent storage device may be a readable and writable storage device. The permanent storage device may be a non-volatile storage device that does not lose the stored instructions and data even after the computer is powered off. In some embodiments, the permanent storage device uses a large-capacity storage device (such as a magnetic or optical disk, flash memory) as a permanent storage device. In some other embodiments, the permanent storage device may be a removable storage device (such as a floppy disk, an optical drive). The system memory may be a readable and writable storage device or a volatile readable and writable storage device, such as a dynamic random access memory. The system memory may store some or all instructions and data required by the processor at run time. In addition, the memory 201 may include a combination of any computer-readable storage media, including various types of semiconductor memory chips (DRAM, SRAM, SDRAM, flash memory, programmable read-only memory), and disks and / or optical disks may also be used. In some embodiments, the memory 201 may include a readable and / or writable removable storage device, such as a laser disc (CD), a read-only digital versatile disc (such as a DVD-ROM, a double-layer DVD-ROM), a read-only Blu-ray disc, an ultra-density optical disc, a flash memory card (such as an SD card, a mini SD card, a Micro-SD card, etc.), a magnetic floppy disk, etc. The computer-readable storage medium does not include carrier waves and transient electronic signals transmitted wirelessly or wired.
[0160] The memory 201 stores executable codes, and when the executable codes are processed by the processor 202 , the processor 202 can execute part or all of the above-mentioned methods.
[0161] In addition, the intonation scoring method according to the present application can also be implemented as a computer program or a computer program product, which includes computer program code instructions for executing some or all of the steps in the above-mentioned intonation scoring method of the present application.
[0162] Alternatively, the present application can also be implemented as a non-transitory machine-readable storage medium (or computer-readable storage medium, or machine-readable storage medium) on which executable code (or computer program, or computer instruction code) is stored. When the executable code (or computer program, or computer instruction code) is executed by a processor of a computing device (or electronic device, server, etc.), the processor executes part or all of the various steps of the above-mentioned intonation scoring method according to the present application.
[0163] Those skilled in the art will further appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the application herein may be implemented as electronic hardware, computer software, or combinations of both.
[0164] The flowcharts and block diagrams in the accompanying drawings show the possible implementation architecture, functions and operations of the system and intonation scoring method according to multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a portion of a code, and the module, program segment or a portion of the code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the boxes can also occur in an order different from that marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0165] The embodiments of the present application have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.
Claims
1. A method for scoring intonation, characterized in that: include: Obtaining target audio corresponding to the text content input by the user; Obtaining sample audio corresponding to the text content; Obtaining the fundamental frequency envelopes of the target audio and the sample audio respectively; Obtaining time alignment information of the same text segment in the text content corresponding to the target audio and the sample audio respectively; Calculate at least two types of fundamental frequency similarity feature values between the target audio and the example audio according to the fundamental frequency envelope and the time alignment information; Inputting the at least two types of fundamental frequency similarity feature values into a preset intonation scoring model to obtain an intonation score of the target audio; The text segments include a first type of text segments, wherein the first type of text segments include at least one word; The step of respectively obtaining time alignment information of the same text segment in the text content corresponding to the target audio and the example audio, and calculating at least two types of fundamental frequency similarity feature values between the target audio and the example audio according to the fundamental frequency envelope and the time alignment information, comprises: Respectively obtain first time alignment information of the target audio and the sample audio corresponding to the same first type of text segment in the text content; Calculate at least two types of fundamental frequency similarity feature values between the target audio and the example audio based on the first type of text segments according to the fundamental frequency envelope and the first time alignment information; Dividing the text content to obtain at least two first-category text segments, and each of the first-category text segments includes the same number of words; Alternatively, the text content is divided to obtain at least two first-category text segments, and at least two of the first-category text segments contain different numbers of words; The fundamental frequency similarity feature values obtained based on the first type of text segments include basic statistics feature values, distance feature values, fundamental frequency range feature values and polynomial fitting coefficient feature values.
2. The method according to claim 1, characterized in that: The basic statistical characteristic values obtained based on the first type of text fragments include a minimum fundamental frequency, a maximum fundamental frequency, a median fundamental frequency, and a fundamental frequency value range.
3. The method according to claim 1, characterized in that: The distance feature values obtained based on the first type of text fragments include Euclidean distance, Manhattan distance, DTW distance, longest common subsequence score, and BLEU score.
4. The method according to claim 2, characterized in that: The fundamental frequency range class characteristic values include: Calculate the fundamental frequency value range of the target audio and the sample audio of each text segment respectively; Calculate the ratio of the fundamental frequency value range of each text segment of the target audio to the fundamental frequency value range of each text segment of the sample audio; Get the maximum, minimum, or average of all ratios.
5. The method according to claim 2, characterized in that: The polynomial fitting coefficient characteristic values include: The fundamental frequency sequence of the target audio is fitted with a polynomial, and a fitting coefficient sequence is obtained as a eigenvalue.
6. The method according to any one of claims 2 to 5, characterized in that Also includes: Dividing the text content into a plurality of second-category text segments, wherein the second-category text segments include at least one syllable; Obtaining second time alignment information of the same second type of text segment in the text content corresponding to the target audio and the example audio; Calculate at least one type of syllable-level fundamental frequency similarity feature value between the target audio and the example audio based on a second type of text fragment according to the fundamental frequency envelope and the second time alignment information; The at least two types of fundamental frequency similarity feature values based on the first type of text segments and the at least one type of fundamental frequency similarity feature value based on the second type of text segments are input into a preset intonation scoring model to obtain an intonation scoring result for the target audio.
7. The method according to claim 6, characterized in that The dividing the text content into a plurality of second-category text segments comprises: Dividing the text content to obtain at least two second-category text segments, each of which has the same number of syllables; Alternatively, the text content is divided to obtain at least two second-category text segments, and at least two of the second-category text segments have different numbers of syllables.
8. The method according to claim 7, characterized in that: The fundamental frequency similarity feature values based on the second type of text segments include basic statistics feature values, fundamental frequency change trend feature values and distance correlation feature values.
9. The method according to claim 6, characterized in that The obtaining of the sample audio corresponding to the text content and the obtaining of the fundamental frequency envelope of the sample audio comprises: The language features of the words in the text content are obtained, and the language features of the words are input into a preset acoustic feature prediction model to obtain the fundamental frequency envelope of the example audio corresponding to the text content.
10. The method according to claim 9, characterized in that The step of inputting the language features of the words into a preset acoustic feature prediction model to obtain a fundamental frequency envelope of the sample audio corresponding to the text content includes: Inputting the language features of the word into a speech duration prediction module to obtain the pronunciation duration of the word; Based on the multiples of the pronunciation duration of the word and the fundamental frequency envelope sampling period, obtaining a language feature sequence after the language features of the word are expanded to the multiples; The expanded language feature sequence is input into the fundamental frequency prediction module to obtain the fundamental frequency envelope of the audio of the word.
11. The method according to claim 10, characterized in that The language feature is a vector including one or more of the following information: The content of the current word, the content of the previous word, and the content of the next word; as well as the number of syllables in the current word, the number of syllables in the previous word, and the number of syllables in the next word.
12. A tone scoring system, characterized in that: include: An audio input module, used for inputting a target audio corresponding to the text content and a sample audio corresponding to the text content; An audio preprocessing module, electrically connected to the audio input module, for calculating the fundamental frequency envelopes of the target audio and the sample audio, and calculating time alignment information of the same text segment in the text content corresponding to the target audio and the sample audio; A fundamental frequency similarity feature value calculation module, electrically connected to the audio preprocessing module, for calculating at least two types of fundamental frequency similarity feature values between the target audio and the sample audio according to the fundamental frequency envelopes of the target audio and the sample audio and the time alignment information; A prediction score module, electrically connected to the fundamental frequency similarity feature value calculation module, and configured to score the intonation of the target audio according to the at least two types of fundamental frequency similarity feature values; The text segments include a first type of text segments, wherein the first type of text segments include at least one word; An audio processing module calculates first time alignment information of the target audio and the sample audio corresponding to the same first type of text segment in the text content; A fundamental frequency similarity feature value calculation module, which calculates at least two types of fundamental frequency similarity feature values between the target audio and the example audio based on the first type of text segments according to the fundamental frequency envelope and the first time alignment information; The audio preprocessing module is also used for: Dividing the text content to obtain at least two first-category text segments, and each of the first-category text segments includes the same number of words; Alternatively, the text content is divided to obtain at least two first-category text segments, and at least two of the first-category text segments contain different numbers of words; The fundamental frequency similarity feature values obtained based on the first type of text segments include: basic statistics feature values, distance feature values, fundamental frequency range feature values and polynomial fitting coefficient feature values.
13. The system according to claim 12, characterized in that The audio preprocessing module also includes: Dividing the text content into a plurality of second-category text segments, wherein the second-category text segments include at least one syllable; Obtaining second time alignment information of the same second type of text segment in the text content corresponding to the target audio and the example audio; And, the fundamental frequency similarity feature value calculation module calculates at least one type of syllable-level fundamental frequency similarity feature value between the target audio and the example audio based on the second type of text fragment according to the fundamental frequency envelope and the second time alignment information; Furthermore, the prediction score module inputs the at least two types of fundamental frequency similarity feature values based on the first type of text fragments and the at least one type of fundamental frequency similarity feature value based on the second type of text fragments into a preset intonation scoring model to obtain a result of intonation scoring for the target audio.
14. A computing device, characterized in that include: processor; as well as A memory having executable code stored thereon, which, when executed by the processor, causes the processor to execute the method as claimed in claim 1 11. The method of any one of claims 11.
15. A non-transitory machine-readable storage medium having executable code stored thereon, which, when executed by a processor of a computing device, causes the processor to execute the method according to claim 1 11. The method of any one of claims 11.
