Utterance verification method and apparatus
The speech verification method and device address the low accuracy of existing technologies by using phoneme recognition ranks and speech verification features to determine matching, achieving high accuracy in verifying utterances with local inconsistencies and exaggerated vocalizations.
Patent Information
- Application Number
- PCT/KR2023/002562
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-02-22
- Publication Date
- 2024-08-29
AI Technical Summary
Current speech verification technologies are inadequate for accurately verifying utterances by voice actors or actors, as they rely on pre-learned acoustic models from natural speech and fail to account for local inconsistencies such as added, deleted, or replaced words, leading to low accuracy.
A speech verification method and device that detects voice sections, calculates phoneme recognition ranks using acoustic models, extracts speech verification features, and determines matching using a Bidirectional GRU-based or Transformer Encoder-based model, capable of handling local inconsistencies and exaggerated vocalizations.
The solution achieves high accuracy in verifying utterances, both in random and similar errors, including those with added, deleted, or replaced words, for both general and exaggerated speech.
Smart Images

Figure KR2023002562_29082024_PF_FP_ABST
Abstract
Description
Ignition verification method and device
[0001] It is related to ignition verification technology.
[0002] The development of video media and computer games is generating massive amounts of audio and subtitle data. Utterance Verification (UV) technology can be used to automatically check whether the speech of voice actors or actors in a video matches the text script.
[0003] Typically, speech verification uses phoneme and semiphoneme models based on pre-trained acoustic models. Most acoustic models are trained using ordinary people's spoken language or natural, everyday speech due to the ease of building training data. Therefore, they are less accurate for exaggerated vocalizations by voice actors or actors.
[0004] In addition, the accuracy of commonly used utterance verification techniques is low for pseudo-text scripts in which some words are added, deleted, or replaced in the text script because they do not consider local mismatches that occur between the phoneme sequence of the text script and the utterance.
[0005] The purpose is to provide a method and device for ignition verification.
[0006] A speech verification method according to one aspect may include: an operation of detecting a speech segment from speech data; an operation of calculating a recognition rank of each phoneme in a phoneme string corresponding to the text script data based on the speech data and text script data using an acoustic model; an operation of extracting a speech verification feature of each phoneme based on a result of detecting a speech segment and a result of calculating a recognition rank of each phoneme in the phoneme string; and an operation of determining whether the speech data and the text script data match based on the speech verification feature of each phoneme.
[0007] The operation of calculating the recognition rank of each phoneme in the above phoneme sequence may include: an operation of extracting phonetic features from the speech data; an operation of generating a phoneme sequence from the text script data; and an operation of calculating the recognition rank of each phoneme in the phoneme sequence based on the phonetic features and the phoneme sequence using the acoustic model.
[0008] The operation of calculating the recognition rank of each phoneme in the above phoneme string may include: an operation of forcibly aligning the phoneme string with the phoneme feature; an operation of applying each phoneme in the forcibly aligned phoneme string and the phoneme feature corresponding to each phoneme to the acoustic model to determine the recognition rank of the acoustic model for each phoneme; and an operation of calculating the recognition rank of each phoneme based on at least one of the recognition rank of the acoustic model for each phoneme, whether each phoneme is silent, the ratio of the voice section in the speech data section corresponding to each phoneme, and the ratio of the non-voice section in the speech data section corresponding to each phoneme.
[0009] The operation of calculating the recognition rank of each phoneme in the above phoneme string may include, if the target phoneme is not silent, calculating the recognition rank of the target phoneme by applying a ratio of the speech section as a weight to the recognition rank of the acoustic model, and applying a penalty based on the ratio of the non-speech section to the recognition rank of the acoustic model to which the weight has been applied.
[0010] The operation of calculating the recognition rank of each phoneme in the above phoneme string may include an operation of calculating the recognition rank of the target phoneme by applying a penalty based on the ratio of the non-speech section to the ratio of the speech section when the target phoneme is silent.
[0011] The above utterance verification feature may be intended to reflect local discrepancies between the utterance data and the text script date.
[0012] The above speech verification quality may include at least one of a phoneme recognition rank, a length of a speech section among a speech data section corresponding to a phoneme, a length of a non-speech section among a speech data section corresponding to a phoneme, whether it is a consonant, whether it is a vowel, and whether it is silence.
[0013] The operation of determining whether the above speech data and the above text script data match can determine whether the speech data and the above text script data match based on the speech verification quality of each phoneme using a speech verification model.
[0014] The above utterance verification model may be a Bidirectional GRU-based model or a Transformer Encoder-based model.
[0015] A speech verification device according to another aspect may include a speech detection unit that detects speech segments from speech data; a recognition rank calculation unit that calculates a recognition rank of each phoneme in a phoneme string corresponding to the text script data based on the speech data and text script data using an acoustic model; a speech verification feature extraction unit that extracts a speech verification feature of each phoneme based on a speech segment detection result and a recognition rank calculation result of each phoneme in the phoneme string; and a match determination unit that determines whether the speech data and the text script data match based on the speech verification feature of each phoneme.
[0016] The above recognition ranking calculation unit may include a voice quality extraction unit that extracts voice quality from the speech data; a phoneme sequence generation unit that generates a phoneme sequence from the text script data; and a phoneme recognition ranking calculation unit that calculates a recognition ranking of each phoneme within the phoneme sequence based on the voice quality and the phoneme sequence using the acoustic model.
[0017] The above-described phoneme recognition ranking calculation unit may forcibly align the phonetic features and the phoneme sequence, apply each phoneme of the forcibly aligned phoneme sequence and the phonetic features corresponding to each phoneme to the acoustic model to determine the recognition ranking of the acoustic model for each phoneme, and calculate the recognition ranking of each phoneme based on at least one of the recognition ranking of the acoustic model for each phoneme, whether each phoneme is silent, the ratio of the voice section in the speech data section corresponding to each phoneme, and the ratio of the non-voice section in the speech data section corresponding to each phoneme.
[0018] The above-mentioned phoneme recognition ranking calculation unit can calculate the recognition ranking of the target phoneme by applying the ratio of the speech section as a weight to the recognition ranking of the acoustic model when the target phoneme is not silent, and by imposing a penalty based on the ratio of the non-speech section to the recognition ranking of the acoustic model to which the weight is applied.
[0019] The above phoneme recognition ranking calculation unit can calculate the recognition ranking of the target phoneme by applying a penalty based on the ratio of the non-speech section to the ratio of the speech section when the target phoneme is silent.
[0020] The above utterance verification feature may be intended to reflect local discrepancies between the utterance data and the text script date.
[0021] The above speech verification quality may include at least one of a phoneme recognition rank, a length of a speech section among a speech data section corresponding to a phoneme, a length of a non-speech section among a speech data section corresponding to a phoneme, whether it is a consonant, whether it is a vowel, and whether it is silence.
[0022] The above matching judgment unit can use a speech verification model to determine whether the speech data and the text script data match based on the speech verification qualities of each phoneme.
[0023] The above utterance verification model may be a Bidirectional GRU-based model or a Transformer Encoder-based model.
[0024] According to the disclosed embodiments, by extracting utterance verification features that can determine local mismatches between a phoneme sequence of a text script and an utterance, and determining whether an utterance matches a text script based on the extracted utterance verification features, it is possible to verify utterances with high accuracy not only in random errors where an arbitrary text script that does not match an utterance is paired with an utterance, but also in similar errors where a similar error script in which words are added, deleted, or replaced is paired with an utterance.
[0025] In addition, it is possible to verify speech with high accuracy not only for general speech composed of everyday speech, but also for speech with exaggerated pronunciation such as that of voice actors or actors.
[0026] FIG. 1 is a drawing illustrating an ignition verification device according to one embodiment.
[0027] FIG. 2 is a diagram illustrating an ignition verification model according to one embodiment.
[0028] FIG. 3 is a diagram illustrating an ignition verification model according to another embodiment.
[0029] Figure 4 is a drawing illustrating an ignition verification method according to one embodiment.
[0030] FIG. 5 is a diagram illustrating a computing environment including a computing device according to an exemplary embodiment.
[0031] Hereinafter, an embodiment of the present invention will be described in detail with reference to the attached drawings. When designating components in each drawing, it should be noted that, where possible, identical components will be given the same reference numerals, even if they appear in different drawings. Furthermore, when describing the present invention, detailed descriptions of known functions or configurations will be omitted if they are deemed to unnecessarily obscure the gist of the present invention.
[0032] Meanwhile, for each step, unless the context clearly dictates a specific order, the steps may occur in a different order than stated. That is, the steps may be performed in the same order as stated, may be performed substantially simultaneously, or may be performed in the opposite order.
[0033] The terms described below are defined based on their functions within the present invention, and may vary depending on the intent or custom of the user or operator. Therefore, their definitions should be based on the contents of this specification.
[0034] Terms such as first, second, etc. may be used to describe various components, but the components should not be limited by the terms. Terms are used only to distinguish one component from another. The singular expression includes the plural expression unless the context clearly indicates otherwise, and the terms such as "comprises" or "has" should be understood to specify the presence of a feature, number, step, operation, component, part, or combination thereof described in the specification, but not to exclude in advance the possibility of the presence or addition of one or more other features, numbers, steps, operations, components, parts, or combinations thereof.
[0035] Furthermore, the division of components in this specification is merely a division based on the main function of each component. In other words, two or more components may be combined into a single component, or a single component may be further subdivided into two or more components with more detailed functions. In addition to its own main function, each component may additionally perform some or all of the functions of other components, and some of the main functions of each component may be exclusively performed by other components. Each component may be implemented in hardware or software, or in a combination of hardware and software.
[0036] FIG. 1 is a drawing illustrating an ignition verification device according to one embodiment.
[0037] A speech verification device (100) according to one embodiment may be a device that extracts speech verification features capable of determining local mismatches between a phoneme sequence of a text script and an utterance, and determines whether an utterance matches a text script based on the extracted speech verification features. The output value of the speech verification device (100) may be used as a measure of fit between an utterance and a text script.
[0038] Referring to FIG. 1, a speech verification device (100) according to one embodiment may include a voice detection unit (110), a recognition ranking calculation unit (120), a speech verification quality extraction unit (130), and a match determination unit (140).
[0039] The voice detection unit (110) can detect voice sections from speech data input to the speech verification device (100). For example, the voice detection unit (110) can detect voice sections from speech data using voice activity detection (VAD) technology such as WebRTC VAD and Silero VAD. Here, voice activity detection is a technology for distinguishing between voice and non-voice in an input signal and may also be referred to as speech detection. The speech data may have a wave waveform form.
[0040] The recognition ranking calculation unit (120) can calculate the recognition ranking of each phoneme in the phoneme string corresponding to the text script data based on the speech data and text script data input to the speech verification device (100) using an acoustic model.
[0041] The recognition ranking calculation unit (120) may include a voice quality extraction unit (121), a phoneme sequence generation unit (122), and a phoneme recognition ranking calculation unit (123).
[0042] The voice feature extraction unit (121) can extract voice features from speech data. For example, the voice feature extraction unit (121) can extract voice features from speech data using voice feature extraction techniques such as MFCC (Mel Frequency Cepstral Coefficient), LPC (Linear Predictive Coefficient), and FBANK (Filter BANK).
[0043] The phoneme sequence generation unit (122) can generate a phoneme sequence corresponding to text script data from text script data input to the speech verification device (100). For example, the phoneme sequence generation unit (122) can generate a phoneme sequence corresponding to text script data by converting the text script data into a phoneme sequence using a pronunciation dictionary. The pronunciation dictionary can be built in advance and stored in the internal or external memory of the speech verification device (100).
[0044] The phoneme recognition rank calculation unit (123) can calculate the recognition rank of each phoneme in the phoneme sequence based on the phoneme features extracted by the phoneme feature extraction unit (121) and the phoneme sequence generated by the phoneme sequence generation unit (122). For example, the phoneme recognition rank calculation unit (123) can calculate the recognition rank of each phoneme in the phoneme sequence using an acoustic model. The acoustic model includes an acoustic model based on a GMM-HMM (Gaussian Mixture Model-Hidden Markov Model), an acoustic model based on a DNN-HMM (Deep Neural Networks-Hidden Markov Model), etc., and can be built in advance and stored in the internal or external memory of the speech verification device (100).
[0045] Specifically, the phoneme recognition ranking calculation unit (123) can use an acoustic model to forcefully align the phoneme features extracted from the phoneme feature extraction unit (121) and the phoneme sequence generated from the phoneme sequence generation unit (122), and then calculate the recognition ranking of each phoneme in the phoneme sequence based on the forcedly aligned phoneme features and phoneme sequence.
[0046] According to one embodiment, the phoneme recognition rank calculation unit (123) applies each phoneme of the forcibly sorted phoneme string and the phonetic features corresponding to each phoneme to an acoustic model to determine the recognition rank of the acoustic model for each phoneme, and calculates the recognition rank of each phoneme using the recognition rank of the acoustic model for each phoneme, whether each phoneme is silent, the ratio of the voice section in the speech data section corresponding to each phoneme, and the ratio of the non-voice section in the speech data section corresponding to each phoneme.
[0047] For example, the phoneme recognition ranking calculation unit (123) can calculate the recognition ranking of each phoneme in the phoneme string using mathematical expression 1.
[0048]
[0049] Here, p represents a phoneme, f represents the phonetic quality of phoneme p, P represents the set of all phonemes, |P| represents the size of the phoneme set P, and rank AM (p,f) can represent the recognition rank of the acoustic model for phoneme p. Also, ratio spc (p) and ratio nos (p) can represent the ratio of the voiced and non-voiced sections in the speech data section corresponding to each phoneme p. In addition, sil can represent silence, and rank(p,f) can represent the recognition rank of phoneme p.
[0050] Typically, acoustic models do not provide appropriate phoneme recognition rankings for silent phonemes. Therefore, the phoneme recognition ranking calculation unit (123) according to one embodiment can calculate the phoneme recognition ranking in different ways depending on whether the phoneme is silent.
[0051] For example, as in mathematical expression 1, the phoneme recognition rank calculation unit (123) calculates the recognition rank of the acoustic model (rank) if (i) the phoneme (p) is not silent. AM (p,f)) ratio of negative intervals spcAfter applying (p)) as a weight, the ratio of non-negative sections (ratio nos (p)) to calculate the recognition rank of phoneme (p), and (ii) if phoneme (p) is silent, the acoustic model does not provide an appropriate phoneme recognition rank, so the ratio of non-speech sections is calculated. nos (p)) ratio of the negative section spc The recognition rank of a phoneme (p) can be calculated by imposing a penalty based on (p).
[0052] The speech verification quality extraction unit (130) can extract the speech verification quality of each phoneme based on the result of detecting the speech section in the voice detection unit (110) and the result of calculating the recognition rank of each phoneme in the phoneme string in the phoneme recognition rank calculation unit (123).
[0053] At this time, the speech verification feature may be a feature that reflects local discrepancies between the speech data and the text script data. For example, as shown in Table 1 below, the speech verification feature may include phoneme recognition ranking, the length of the speech segment corresponding to the phoneme, the length of the non-speech segment corresponding to the phoneme, whether the speech is a consonant, whether the speech is a vowel, and whether the speech is silent.
[0054] Quality Item Description Value RANKING Phoneme recognition rank 1~|P|+1 SPC_DURATION Length of speech interval Number of frames NOS_DURATION Length of non-speech interval Number of frames CONSONANT Is it a consonant? 1 if it is a consonant, otherwise 0 VOWEL Is it a vowel? 1 if it is a vowel, otherwise 0 SILENCE Is it silent? 1 if it is silent, otherwise 0
[0055] The matching judgment unit (140) can determine whether the speech data and text script data match based on the speech verification features of each phoneme extracted by the speech verification feature extraction unit (130). According to one embodiment, the matching judgment unit (140) can determine whether the speech data and text script data match using a speech verification model. In this case, the speech verification model can be built in advance and stored in the internal or external memory of the speech verification device (100).
[0056] In one embodiment, the utterance verification model may be a machine learning model. For example, the utterance verification model may include a Bidirectional GRU (Bi-GRU)-based model and a Transformer Encoder (TE)-based model, but this is merely an example and is not limited thereto.
[0057] Meanwhile, according to one embodiment, the speech verification device (100) may further include a noise removal unit (not shown) that removes noise from input speech data. If the speech verification device (100) further includes a noise removal unit, speech data from which noise has been removed by the noise removal unit may be input to the voice detection unit (110) and the voice quality extraction unit (121).
[0058] Figure 2 is a diagram illustrating an utterance verification model according to one embodiment. The utterance verification model of Figure 2 may be a Bi-GRU-based utterance verification model. The Bi-GRU-based utterance verification model may be a utterance verification model that continuously accumulates contextual information regarding cases where utterances and phonemes in the hidden state do not match.
[0059] Referring to FIG. 2, a Bi-GRU-based speech verification model (200) according to one embodiment may include a Bi-GRU layer (210), a combination unit (220), a fully connected layer (230), and a classifier (240).
[0060] According to one embodiment, the input data of the Bi-GRU-based speech verification model (200) may include speech verification features of each phoneme. In Fig. 2, x_i may represent the speech verification features of the ith phoneme.
[0061] The input data (x_1, x_2, …, x_n-1, x_n) can be encoded through a Bi-GRU layer (210). The forward and backward last hidden states (h_n and h_1, respectively) of the Bi-GRU layer (210) can be concatenated through a combiner (220) and passed through a fully connected layer (230) before being input to a classifier (240). The classifier (240) can determine whether the speech data and the text script data match based on the input values.
[0062] Figure 3 is a diagram illustrating an utterance verification model according to another embodiment. The utterance verification model of Figure 3 may be a TE-based utterance verification model. The TE-based utterance verification model may be a utterance verification model that assigns a high attentional weight to inputs in which mismatch information between utterance and phoneme occurs.
[0063] Referring to FIG. 3, a TE-based utterance verification model (300) according to one embodiment may include an embedding unit (310), a TE layer (320), a fully connected layer (330), and a classifier (340).
[0064] The input data of the TE-based speech verification model (300) may include a classification token (Special Classification Token, CLS) and the speech verification feature of each phoneme. In Fig. 3, [CLS] may represent a classification token, and x_i may represent the speech verification feature of the ith phoneme.
[0065] The embedding unit (310) can perform embedding on input data ([CLS], x_1, …, x_n-1, x_n) to distinguish between classification tokens and utterance verification features. For example, the embedding unit (310) can perform embedding on classification tokens and utterance verification features according to the following conditions.
[0066] [condition]
[0067] 1. Embedding values are composed of an n-dimensional vector (where n is a natural number greater than or equal to 2). The first dimension distinguishes between classification tokens and utterance verification features, and the remaining dimensions are composed of utterance verification feature values. (If the utterance verification features include the six feature items in Table 1 (RANKING, SPC_DURATION, NOS_DURATION, CONSONANT, VOWEL, SILENCE), n becomes 7, and the remaining six dimensions are composed of the values for each feature item.)
[0068] 2. The embedding value of the classification token is set to 1 for the first dimension value, and 0 for the remaining dimension values.
[0069] 3. The embedding value for each phoneme is set to 0 in the first dimension, and the remaining dimension values are set to the values of the speech verification feature of each phoneme.
[0070] The embedding value of the input data is encoded through the TE layer (320), and the output (o_c) of the TE layer (320) corresponding to the classification token can be input to the classifier (240) after passing through the fully connected layer (330). The classifier (240) can determine whether the speech data and the text script data match based on the input value.
[0071] Fig. 4 is a diagram illustrating an ignition verification method according to one embodiment. The ignition verification method of Fig. 4 can be performed by the ignition verification device (100) of Fig. 1.
[0072] Referring to FIG. 4, the speech verification device can detect speech segments from speech data (410). For example, the speech verification device can detect speech segments from speech data using Voice Activity Detection (VAD) technology (e.g., WebRTC VAD, Silero VAD, etc.).
[0073] The speech verification device can extract voice features from speech data (420). For example, the speech verification device can extract voice features from speech data using voice feature extraction techniques such as MFCC, LPC, and FBANK.
[0074] The speech verification device can generate a phoneme sequence corresponding to the text script data from the text script data (430). For example, the speech verification device can generate a phoneme sequence corresponding to the text script data by converting the text script data into a phoneme sequence using a pronunciation dictionary.
[0075] The speech verification device can use an acoustic model based on the voice quality extracted in step 420 and the phoneme string generated in step 430 to calculate the recognition rank of each phoneme in the phoneme string (440).
[0076] According to one embodiment, the speech verification device can use an acoustic model to forcefully align the speech features extracted in step 420 with the phoneme sequence generated in step 430. Furthermore, the speech verification device can calculate the recognition ranking of each phoneme in the phoneme sequence based on the forcefully aligned speech features and the phoneme sequence. In this case, the speech verification device can use the aforementioned mathematical equation 1.
[0077] The speech verification device can extract speech verification features of each phoneme based on the results of detecting the speech segment in step 410 and the results of calculating the recognition rank of each phoneme in the phoneme string in step 440 (450). For example, the speech verification features can include the phoneme recognition rank, the length of the speech segment in the speech data segment corresponding to the phoneme, the length of the non-speech segment in the speech data segment corresponding to the phoneme, whether it is a consonant, whether it is a vowel, whether it is silence, etc., as shown in Table 1 described above.
[0078] The speech verification device can use a speech verification model to determine whether speech data and text script data match based on the speech verification characteristics of each phoneme (460). According to one embodiment, the speech verification model may include, but is not limited to, a machine learning model, such as a Bi-GRU-based model and a TE-based model.
[0079] FIG. 5 is a diagram illustrating a computing environment including a computing device according to an exemplary embodiment. In the illustrated embodiment, each component may have different functions and capabilities other than those described below, and may include additional components other than those described below.
[0080] The illustrated computing environment (10) may include a computing device (12). In one embodiment, the computing device (12) may be one or more components included in the ignition verification device (100) of FIG. 1.
[0081] A computing device (12) may include at least one processor (14), a computer-readable storage medium (16), and a communication bus (18). The processor (14) may cause the computing device (12) to operate according to the exemplary embodiments mentioned above. For example, the processor (14) may execute one or more programs stored in the computer-readable storage medium (16). The one or more programs may include one or more computer-executable instructions, which, when executed by the processor (14), may be configured to cause the computing device (12) to perform operations according to the exemplary embodiments.
[0082] A computer-readable storage medium (16) can store computer-executable instructions or program code, program data, and / or other suitable forms of information. A program (20) stored in the computer-readable storage medium (16) can include a set of instructions executable by the processor (14). In one embodiment, the computer-readable storage medium (16) can be a memory (volatile memory such as random access memory, non-volatile memory, or a suitable combination thereof), one or more magnetic disk storage devices, optical disk storage devices, flash memory devices, any other form of storage medium that can be accessed by the computing device (12) and that can store desired information, or a suitable combination thereof.
[0083] A communication bus (18) may interconnect various other components of the computing device (12), including a processor (14) and a computer-readable storage medium (16).
[0084] The computing device (12) may also include one or more input / output interfaces (22) and one or more network communication interfaces (26) that provide interfaces for one or more input / output devices (24). The input / output interfaces (22) and the network communication interfaces (26) may be connected to a communication bus (18). The input / output devices (24) may be connected to other components of the computing device (12) via the input / output interfaces (22). Exemplary input / output devices (24) may include input devices such as pointing devices (such as a mouse or trackpad), keyboards, touch input devices (such as a touchpad or touchscreen), voice or sound input devices, various types of sensor devices, and / or photographing devices, and / or output devices such as display devices, printers, speakers, and / or network cards. An exemplary input / output device (24) may be included within the computing device (12) as a component constituting the computing device (12), or may be connected to the computing device (12) as a separate device distinct from the computing device (12).
[0085] [Example]
[0086] 1. Create a speech verification model
[0087] A speech verification model was created using the learning data in Table 2 below.
[0088] LANGTRANINGDEVREFERRREFERRRANDOMSIMILARRENDOMSIMILARKorean127,54463,77463,77931,88713,57415,275English15,9988,0008,0044,0002,0002,000Chinese47,97023,98423,98311,9925,9965,998
[0089] As shown in Table 2, 50% of the training data consists of pairs of matched utterances and text scripts (REF), and the remaining 50% consists of mismatched pairs (ERR). Furthermore, half of the mismatched pairs (ERR) are random errors (RANDOM), where utterances are paired with random text scripts that do not match, and the remaining half are pseudo-errors (SIMILAR), where pseudo-error scripts are paired with 10% to 50% of the words added, deleted, or replaced in the matched text scripts.
[0090] 2. Test set configuration
[0091] The test set was composed of general speech consisting of everyday speech and game speech consisting of speech of voice actors in the game.
[0092] Specifically, the test set for random errors was configured to include the same number of matched pairs (REF) and random error pairs (RANDOM), as shown in Table 3 below, and the test set for pseudo-errors was configured to include pseudo-error pairs by adding (INS), deleting (DEL), and replacing (SUB) random words at a rate of 10 to 50% for text scripts matched to utterances, as shown in Table 4 below.
[0093] DOMAINLANGREFRANDOMGeneral Speaking Korean16,00016,000English2,0002,000Chinese6,0006,000Game Speaking Korean1,0001,000English100100Chinese100100
[0094] DOMAINLANGINSSUBDELGeneral Speech Korean72,28872,28872,288English33,53633,53633,536Chinese49,09249,09249,092Game Speech Korean4,0054,0054,005English662662662Chinese980980980
[0095] 3. Performance Evaluation
[0096] (1) Performance evaluation for random errors
[0097] The performance of the ignition verification device according to one embodiment was evaluated using a test set for random errors (see Table 3), and the results are shown in Table 5.
[0098] DOMAINLANGACCFARFRRGeneral Speech Korean 0.97600.02310.0239English 0.98600.00000.0270Chinese 0.95120.00000.0868Game Speech Korean 0.90450.00120.1598English 0.87000.00000.2063Chinese 0.90500.00000.1597
[0099] Referring to Table 5, it was confirmed that the utterance verification device according to one embodiment had a very high accuracy (ACC) of over 95% for random errors in the case of general utterances in Korean, English, and Chinese. In addition, the false alarm ratio (FAR) for misjudged mismatched pairs as matches was also very small at 2.31%, 0%, and 0% for the three languages, respectively, and the false rejection ratio (FRR) for misjudged matched pairs as mismatches was also confirmed to have a value less than 10% for all three languages.
[0100] For game speech, the accuracy (ACC) was 90.45%, 87%, and 90.5% for Korean, English, and Chinese, respectively, and the false-argument-to-match rate (FAR) was very small, less than 0.5% for all three languages. Furthermore, the false-argument-to-match rate (FRR) was 15.98%, 20.63%, and 15.97% for the three languages, respectively.
[0101] (2) Performance evaluation for similar errors
[0102] The accuracy of the utterance verification device according to one embodiment was evaluated using a test set for similar errors (see Table 4), and the results are shown in Table 6.
[0103] DOMAINLANGINSDELSUBMEANGeneral SpeechKorean0.98040.88480.92100.9287English0.99050.89840.97760.9555Chinese0.95090.85660.86340.8903Game SpeechKorean0.97930.74280.90310.8751English0.97730.87920.93960.9320Chinese0.97240.81330.91840.9014
[0104] Referring to Table 6, it was confirmed that the speech verification device according to one embodiment had a high level of accuracy of 87% or higher in both Korean, English, and Chinese speech for similar errors in both general speech and game speech.
[0105] The present invention has been described above, focusing on preferred embodiments thereof. Those skilled in the art will appreciate that the present invention can be implemented in modified forms without departing from its essential characteristics. Therefore, the scope of the present invention is not limited to the aforementioned embodiments, but should be interpreted to encompass various embodiments within the scope equivalent to the claims.
Claims
1. An action to detect a speech section from speech data; An operation of calculating a recognition rank of each phoneme in a phoneme string corresponding to the text script data based on the speech data and text script data using an acoustic model; An operation of extracting the speech verification quality of each phoneme based on the result of detecting the voice section and the result of calculating the recognition rank of each phoneme in the phoneme string; and A speech verification method, comprising: an operation of determining whether the speech data and the text script data match based on the speech verification qualities of each phoneme; 2. In paragraph 1, The operation of calculating the recognition rank of each phoneme in the above phoneme string is as follows: An operation of extracting voice qualities from the above speech data; An operation of generating a phoneme sequence from the above text script data; and A speech verification method, comprising: an operation of calculating a recognition rank of each phoneme in the phoneme sequence based on the voice quality and the phoneme sequence using the above acoustic model; 3. In paragraph 2, The operation of calculating the recognition rank of each phoneme in the above phoneme string is as follows: An action of forcibly aligning the above-mentioned phonetic qualities and the above-mentioned phoneme sequence; An operation of applying each phoneme of the above-mentioned forcibly aligned phoneme string and the phonetic qualities corresponding to each phoneme to the above-mentioned acoustic model to determine the recognition ranking of the acoustic model for each phoneme; and A speech verification method, comprising: an operation of calculating a recognition rank of each phoneme based on at least one of the recognition rank of the acoustic model for each phoneme, whether each phoneme is silent, the ratio of the voiced section in the speech data section corresponding to each phoneme, and the ratio of the non-voiced section in the speech data section corresponding to each phoneme; 4. In paragraph 3, The operation of calculating the recognition rank of each phoneme in the above phoneme string is as follows: A speech verification method, comprising: an operation of calculating a recognition rank of the target phoneme by applying a ratio of the speech section as a weight to the recognition rank of the acoustic model when the target phoneme is not silent, and applying a penalty based on the ratio of the non-speech section to the recognition rank of the acoustic model to which the weight is applied; 5. In paragraph 3, The operation of calculating the recognition rank of each phoneme in the above phoneme string is as follows: A speech verification method, comprising: an operation of calculating a recognition rank of the target phoneme by applying a penalty based on the ratio of the non-speech section to the ratio of the speech section when the target phoneme is silent; 6. In paragraph 1, A method for utterance verification, wherein the above utterance verification quality is intended to reflect local inconsistencies between the utterance data and the text script date.
7. In paragraph 1, A speech verification method, wherein the above speech verification quality includes at least one of a phoneme recognition rank, a length of a voice section among a speech data section corresponding to a phoneme, a length of a non-voice section among a speech data section corresponding to a phoneme, whether it is a consonant, whether it is a vowel, and whether it is silence.
8. In paragraph 1, The operation of determining whether the above speech data and the above text script data match is as follows: A speech verification method that determines whether the speech data and the text script data match based on the speech verification qualities of each phoneme using a speech verification model.
9. In paragraph 8, The above utterance verification model is a utterance verification method based on a bidirectional GRU or a transformer encoder.
10. A voice detection unit that detects voice sections from speech data; A recognition ranking calculation unit that calculates a recognition ranking of each phoneme in a phoneme string corresponding to the text script data based on the speech data and text script data using an acoustic model; A speech verification feature extraction unit that extracts speech verification features of each phoneme based on the results of voice section detection and the results of calculating the recognition rank of each phoneme in the phoneme string; and A speech verification device, comprising a match determination unit that determines whether the speech data and the text script data match based on the speech verification qualities of each phoneme.
11. In paragraph 10, The above recognition ranking calculation unit is, A voice quality extraction unit that extracts voice quality from the above speech data; a phoneme sequence generation unit that generates a phoneme sequence from the above text script data; and A speech verification device, comprising a phoneme recognition ranking calculation unit that calculates a recognition ranking of each phoneme in the phoneme sequence based on the voice quality and the phoneme sequence using the above acoustic model.
12. In paragraph 11, The above phoneme recognition ranking calculation unit is, Force alignment of the above phonetic qualities and the above phoneme sequence, By applying each phoneme of the above-mentioned forcedly sorted phoneme string and the phonetic qualities corresponding to each phoneme to the above-mentioned acoustic model, the recognition ranking of the acoustic model for each phoneme is determined. A speech verification device that calculates a recognition rank of each phoneme based on at least one of the recognition rank of the acoustic model for each phoneme, whether each phoneme is silent, the ratio of the voiced section in the speech data section corresponding to each phoneme, and the ratio of the non-voiced section in the speech data section corresponding to each phoneme.
13. In paragraph 12, The above-mentioned phoneme recognition ranking calculation unit calculates the recognition ranking of the target phoneme by applying the ratio of the speech section as a weight to the recognition ranking of the acoustic model when the target phoneme is not silent, and by imposing a penalty based on the ratio of the non-speech section to the recognition ranking of the acoustic model to which the weight is applied.
14. In paragraph 12, The above-mentioned phoneme recognition ranking calculation unit calculates the recognition ranking of the target phoneme by applying a penalty based on the ratio of the non-speech section to the ratio of the speech section when the target phoneme is silent.
15. In paragraph 10, A speech verification device, wherein the above speech verification quality is intended to reflect local inconsistencies between the speech data and the text script date.
16. In paragraph 10, A speech verification device, wherein the above speech verification quality includes at least one of a phoneme recognition rank, a length of a voice section among a speech data section corresponding to a phoneme, a length of a non-voice section among a speech data section corresponding to a phoneme, whether it is a consonant, whether it is a vowel, and whether it is silence.
17. In paragraph 10, The above matching judgment unit is a speech verification device that judges whether the speech data and the text script data match based on the speech verification quality of each phoneme using a speech verification model.
18. In paragraph 17, The above utterance verification model is a utterance verification device that is a Bidirectional GRU-based model or a Transformer Encoder-based model.
Citation Information
Patent Citations
Speech enhancement device, speech enhancement program, and speech enhancement method
JP4946293B2
Audio information processing method, device, program, and recording medium
JP7116088B2
Method for constructing Anti-phone model in speech recognition system and method for verifying phonetic
KR1020000025827A
The method and apparatus for verifying utterance based on confusion matrix
KR1020090055320A
Customized Pelvic Reconstruction System
KR102413391B1
Cited By
Electronic device and control method therefor
WO2026134984A1
