Speech processing method and device

Through the inverted index table and phoneme similarity analysis, standard expressions are determined, which solves the problem of unstable recognition performance in speech recognition technology, improves recognition accuracy and robustness, and enhances the reflection of user intentions.

CN112825249BActive Publication Date: 2024-10-18SAMSUNG ELECTRONICS CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202010535103.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-06-12
Publication Date
2024-10-18
Estimated Expiration
2040-06-12

AI Technical Summary

Technical Problem

Existing speech recognition technology has unstable recognition performance due to limited model learning data and the influence of environmental noise, making it difficult to ensure the best recognition effect.

Method used

By using inverted index tables and phoneme similarity analysis during the speech recognition process, the standard expression of the named entity is determined, the named entity is replaced or maintained in the recognition result, and the final sentence is generated to improve recognition accuracy.

Benefits of technology

It improves the robustness and accuracy of speech recognition, reduces recognition errors caused by environmental noise and multi-language recognition errors, and enhances the accurate reflection of user intentions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112825249B_ABST
    Figure CN112825249B_ABST
Patent Text Reader

Abstract

A speech processing method and device are disclosed. The speech processing method includes: performing speech recognition of a speech signal; generating a plurality of first candidate sentences as a result of performing speech recognition; recognizing each named entity in each of the plurality of first candidate sentences; determining a standard expression corresponding to each recognized named entity using the phoneme of the corresponding named entity; determining whether to replace the recognized named entity in each of the plurality of first candidate sentences with the determined standard expression based on the similarity between the named entity and the standard expression corresponding to the named entity, and determining a plurality of second candidate sentences based on the determination result; and outputting a final sentence selected from the plurality of second candidate sentences.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application claims the benefit of Korean Patent Application No. 10-2019-0148441 filed on November 19, 2019, in the Korean Intellectual Property Office, the disclosure of which is incorporated herein in its entirety for all purposes by reference. Technical Field

[0002] The following description relates to speech processing methods and devices. Background Art

[0003] Speech recognition technology recognizes the user's voice. Through speech recognition, the user's voice or audio output is converted into text. As speech recognition technology develops, users' desire to issue voice commands to devices is increasing.

[0004] However, due to limited learning data of the model performing speech recognition and the influence of environmental noise that may affect the speech signal, optimal performance may not be guaranteed. Summary of the invention

[0005] This Summary is provided to introduce a selection of concepts in a simplified form that are further described below in the Detailed Description. This Summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used as an aid in determining the scope of the claimed subject matter.

[0006] In one general aspect, a processor-implemented method includes: performing speech recognition of a speech signal; generating multiple first candidate sentences as a result of performing speech recognition; identifying each named entity in each of the multiple first candidate sentences; using the phonemes of the corresponding named entity to determine the standard expression corresponding to the identified each named entity; based on the similarity between the named entity and the standard expression corresponding to the named entity, determining whether to replace the identified named entity in each of the multiple first candidate sentences with the determined standard expression, and determining multiple second candidate sentences based on the determination result; and outputting a final sentence selected from the multiple second candidate sentences.

[0007] The step of determining the standard expression may include determining the standard expression corresponding to each of the respective named entities recognized in the step of recognizing the named entities based on an inverted index search performed using phonemes included in the corresponding named entity.

[0008] The step of determining a standard expression may include: based on an inverted index table of multiple standard expressions, based on the number of included phonemes of the corresponding named entity and the determined importance level of the included phonemes, selecting the most similar standard expression from the multiple standard expressions.

[0009] The inverted index table may be a table obtained by indexing the plurality of standard expressions according to a phoneme-based inverted index scheme.

[0010] The plurality of standard expressions may include expressions previously specified by a user.

[0011] The step of outputting the final sentence may include outputting a sentence among the second candidate sentences that is determined to most accurately correspond to the user's voice signal as the final sentence according to a language model trained based on the standard expression.

[0012] The step of determining the standard expression may include determining a domain of the speech signal based on analysis of the speech signal, and determining a standard expression corresponding to each named entity from a plurality of standard expressions corresponding to the determined domain.

[0013] The domain of the voice signal may include at least one of contacts, applications, music titles, and music artists respectively stored in the user's device and / or at least one of contacts, applications, music titles, and music artists respectively stored in another device.

[0014] The step of determining the corresponding standard expression may include: determining k corresponding standard expressions from multiple standard expressions in order of similarity based on the number of phonemes included in each named entity identified in the step of identifying the named entity and the importance level of the included phonemes, determining whether the similarity between the respectively corresponding named entity and each of the k corresponding standard expressions is greater than or equal to a threshold, and selecting j most similar standard expressions from the standard expressions with the determined similarity greater than or equal to the threshold, wherein k is a natural number and j is a natural number between 1 and k.

[0015] In each of the plurality of first candidate sentences, one or both of a named entity and a domain of the named entity may be recognized based on the determined type of the corresponding first candidate sentence.

[0016] The step of generating the plurality of first candidate sentences may include generating N first candidate sentences having the highest recognition rates based on speech recognition of a speech signal of a user, wherein N is a natural number greater than or equal to 2.

[0017] The outputting of the final sentence may include controlling an operation of a device of the user based on the outputted final sentence.

[0018] The standard expression may be expressed in one of the same language and a different language compared to a language in which the plurality of first candidate sentences are expressed.

[0019] The similarity may be a phoneme-based similarity between each named entity and the corresponding standard expression.

[0020] The method may include capturing a voice signal at a device of a user.

[0021] In one general aspect, a processing device includes: one or more processors configured to: perform speech recognition of a speech signal; generate multiple first candidate sentences as a result of the performed speech recognition; recognize individual named entities in each of the multiple first candidate sentences; use the phonemes of the corresponding named entity to determine a standard expression corresponding to the recognized named entity; based on the similarity between the named entity and the standard expression corresponding to the named entity, determine whether to replace the recognized named entity in each of the multiple first candidate sentences with the determined standard expression and determine multiple second candidate sentences based on the determination result; and output a final sentence selected from the multiple second candidate sentences.

[0022] The one or more processors may be configured to determine a standard expression corresponding to each respective named entity recognized in the recognizing the named entity based on an inverted index search performed using phonemes included in the corresponding named entity.

[0023] The one or more processors may be configured to output, as a final sentence, a sentence among the second candidate sentences that is determined to most accurately correspond to the user's voice signal according to a language model trained based on the standard expression.

[0024] The one or more processors may be configured to determine a domain of the speech signal based on the analysis of the speech signal, and determine a standard expression corresponding to each named entity from a plurality of standard expressions corresponding to the determined domain.

[0025] The one or more processors may be configured to: determine k corresponding standard expressions from multiple standard expressions in order of similarity based on the number of phonemes included in each named entity identified in the step of identifying the named entity and the importance level of the included phonemes, determine whether the similarity between the respectively corresponding named entity and each of the k corresponding standard expressions is greater than or equal to a threshold, and select j most similar standard expressions from the standard expressions with the determined similarity greater than or equal to the threshold, where k is a natural number and j is a natural number between 1 and k.

[0026] The device may be any one of a smart phone, a smart speaker, and an autonomous vehicle, and further includes a communication interface including a microphone.

[0027] The device may further include: a communication interface configured to receive a voice signal of a user.

[0028] In one general aspect, a processor-implemented method includes: generating multiple candidate sentences as a result of performing speech recognition on a speech signal; identifying a named entity in each of the multiple candidate sentences; using phonemes of the corresponding named entity to determine a standard expression corresponding to the identified named entity; and selectively retaining the named entity in a sentence of a final output corresponding to one of the candidate sentences based on a similarity between the named entity and the standard expression corresponding to the named entity.

[0029] In one general aspect, a speech processing device includes: one or more processors configured to: obtain a user's speech signal; generate multiple candidate sentences as a result of speech recognition performed on the received speech signal; identify a named entity in each of the multiple first candidate sentences; use the phonemes of the corresponding named entity to determine a standard expression corresponding to the identified named entity; and based on the similarity between the named entity and the standard expression corresponding to the named entity, selectively retain the named entity in a sentence of a final output corresponding to one of the candidate sentences.

[0030] In one general aspect, a processor-implemented method includes: performing a speech recognition operation on a speech signal; generating one or more first candidate sentences as a result of the performed speech recognition; determining one or more named entities from the one or more recognized first candidate sentences; determining a standard expression corresponding to each of the one or more named entities; determining a similarity between each of the one or more named entities and the standard expression; based on the determined similarities, generating multiple second candidate sentences by changing at least one of the named entities to a standard expression, or maintaining each of the named entities; determining a final sentence from the multiple second candidate sentences based on a language model, and outputting the determined final sentence.

[0031] The similarity between each named entity and the standard expression can be determined based on phonemes.

[0032] Other features and aspects will be apparent from the following detailed description, drawings, and claims. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 An example speech processing device is shown in accordance with one or more embodiments.

[0034] Figure 2 An example speech processing device is shown in accordance with one or more embodiments.

[0035] Figure 3 An example of an inverted index according to one or more embodiments is shown.

[0036] Figure 4An example process of determining candidate sentences in accordance with one or more embodiments is shown.

[0037] Figure 5 An example process of determining candidate sentences in accordance with one or more embodiments is shown.

[0038] Figure 6 An example process of determining a plurality of standard expressions corresponding to each named entity is shown in accordance with one or more embodiments.

[0039] Figure 7 An example of determining a standard expression based on a domain of a speech signal according to one or more embodiments is shown.

[0040] Figure 8 is a flow chart illustrating example operations of a speech processing device according to one or more embodiments.

[0041] Fig. 9 An example speech processing device is shown in accordance with one or more embodiments.

[0042] Fig.10 An example speech processing method according to one or more embodiments is shown.

[0043] Throughout the drawings and detailed description, unless otherwise described or provided, the same figure reference numerals will be understood to refer to the same elements, features, and structures. The drawings may not be to scale, and the relative sizes, proportions, and depictions of the elements in the drawings may be exaggerated for clarity, illustration, and convenience. DETAILED DESCRIPTION

[0044] The following specific embodiments are provided to help the reader gain a comprehensive understanding of the methods, devices and / or systems described herein. However, after understanding the disclosure of the present application, various changes, modifications and equivalents of the methods, devices and / or systems described herein will be clear. For example, the order of operations described herein is only an example and is not limited to those orders set forth herein, but except for operations that must occur in a specific order, the order of operations can be changed as will be clear after understanding the disclosure of the present application. In addition, for greater clarity and simplicity, the description of features known after understanding the disclosure of the application may be omitted, and it is noted that the omission of features and their descriptions is not intended to admit their common sense.

[0045] The features described herein may be implemented in different forms and are not to be construed as being limited to the examples described herein. Rather, the examples described herein have been provided to illustrate only some of the many possible ways of implementing the methods, devices and / or systems described herein that will be clear after understanding the disclosure of the present application.

[0046] As used herein, the term "and / or" includes any one and any combination of any two or more of the associated listed items.

[0047] Although terms such as "first," "second," and "third" may be used herein to describe various members, components, regions, layers, or portions, these members, components, regions, layers, or portions are not limited by these terms. Instead, these terms are only used to distinguish one member, component, region, layer, or portion from another member, component, region, layer, or portion. Therefore, without departing from the teachings of the examples described herein, the first member, first component, first region, first layer, or first portion referred to in the examples may also be referred to as the second member, second component, second region, second layer, or second portion.

[0048] Throughout the specification, when an element such as a layer, a region or a substrate is described as being “on”, “connected to” or “coupled to” another element, the element may be directly “on”, “connected to” or “coupled to” the other element, or one or more other elements may be present between them. Conversely, when an element is described as being “directly on”, “directly connected to” or “directly coupled to” another element, other elements may not be present between them.

[0049] The terms used herein are only for the purpose of describing various examples and are not intended to limit the examples. Unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. It will also be understood that the terms "comprise" and / or "include" when used herein indicate the presence of the stated features, quantities, operations, components, elements and / or combinations thereof, but do not exclude the presence or addition of one or more other features, quantities, operations, components, elements and / or combinations thereof.

[0050] Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as those commonly understood by those skilled in the art to which the present disclosure belongs and after understanding the disclosure of the present application. Unless explicitly defined as such herein, terms (such as those defined in general dictionaries) will be interpreted as having a meaning consistent with their meaning in the context of the relevant art and the disclosure of the present application, and will not be interpreted in an idealized or overly formalized meaning.

[0051] Figure 1 and Figure 2 An example speech processing device is shown in accordance with one or more embodiments.

[0052] Figure 1An example of a speech processing device 100 is shown. The speech processing device 100 is a device that processes a user's speech signal. The speech processing device 100 can recognize an input speech signal and determine a sentence corresponding to the speech signal. For example, a user can say "call ○○○" to talk to a friend whose contact number is stored in the device. In a non-limiting example, "○○○" can be a named entity included in a recognized sentence or speech utterance, and can represent the name of a friend whose contact information is stored in a user terminal. Therefore, it is expected that the named entity is accurately recognized. In another non-limiting example, "○○○" can be a phone number or other mark that identifies a specific individual. Speech recognition is performed using a speech recognition model, so due to a limited amount of learning data (e.g., independent of such stored expressions) used to train the speech recognition model, and due to factors such as environmental noise of the speech signal, the named entity in the sentence obtained as a result of speech recognition may be different from the stored expression.

[0053] Here, the stored expression or entity may be an expression or entity stored in, for example, a contact folder of a user terminal, and may be predetermined by the user. Therefore, by replacing the named entity included in the recognized sentence or voice utterance with a typical expression, a final sentence that correctly reflects the user's intention may be determined. In addition, an operation based on the final sentence or final voice utterance may be subsequently performed. In addition, according to one or more embodiments, in addition to voice recognition, the speech processing device 100 may be applied to machine translation, machine interpretation, and chatbot systems as non-limiting examples.

[0054] In one example, the speech processing device 100 may be implemented as a separate device (e.g., a remote server) that is different and separate from a user terminal controlled by a user. As an example, the communication between the speech processing device 100 and the user terminal may be performed via a wired network and / or a wireless network. The user's speech signal may be captured or received at the user terminal and sent to the speech processing device 100 from the user terminal via a wired network and / or a wireless network. The final sentence determined in the speech processing device 100 may then be sent to the user terminal.

[0055] In one non-limiting example, a user may provide voice commands to interact with content displayed on a user device. A microphone of the user device may capture audio signals corresponding to the voice commands and may generate corresponding voice signals. In one example, voice data may be sent to a remote server, which may perform voice recognition on the voice signals. Optionally, voice recognition may be performed on the user device. According to one or more examples discussed herein, a remote server or user device may utilize natural language processing techniques based on the voice signals to determine one or more intents corresponding to the voice commands. According to one or more examples discussed herein, a remote server or user device may perform named entity recognition to identify portions of the voice data corresponding to named entities, which may be recognized by the remote server or user device.

[0056] In addition, operations based on the final sentence can be performed in the user terminal. According to one or more examples discussed herein, as non-limiting examples, the user terminal may include various computing devices (such as smart phones, personal computers (PCs), tablet PCs, and laptop computers), various wearable devices (such as smart watches and smart glasses), various household appliances (such as smart speakers, smart TVs, smart refrigerators), smart cars, smart self-service machines, self-driving vehicles, robots, and Internet of Things (IoT) devices. Through the voice processing device 100, an example of an artificial intelligence (AI) assistant that controls a user terminal in response to a user's voice command can be implemented.

[0057] In a non-limiting example, the speech processing device 100 and the user terminal may be implemented as a single device, so that the speech processing device 100 can determine the final sentence by directly collecting the user's speech signal and performing the operation of the speech processing device 100. The speech signal may be a speech sequence including a single sentence, a speech sequence including multiple sentences, or the sentence may be a phrase. Here, the use of the term "may" for an example or embodiment (e.g., with respect to what an example or embodiment may include or implement) indicates that there is at least one example or embodiment that includes or implements such a feature, and all examples and embodiments are not limited thereto.

[0058] Reference Figure 2 , the speech processing device 200 may perform speech recognition processing 210 on the captured or received speech signal. For example, the speech recognition processing 210 may be performed using a speech recognition model in an encoder-decoder structure.

[0059] The speech recognition model is a neural network including multiple layers. As a non-limiting example, the neural network can be a deep neural network (DNN). The DNN may include multiple layers. For example, the deep neural network may include: an input layer to which input data is applied, an output layer for outputting a result obtained by prediction based on training and input data, and multiple hidden layers between the input layer and the output layer for performing neural network operations. In such an example, according to the algorithm used to process information, the DNN may be one or more of a fully connected network, a convolutional neural network, a recursive neural network, etc., or the DNN may include different or overlapping neural network parts having such full connections, convolutional connections or recursive connections, respectively. As a non-limiting example, the neural network may be configured to perform speech recognition and voice recognition by, for example, mapping the input speech or voice data to the output speech or voice data in a non-linear relationship based on deep learning. As a non-limiting example, such deep learning indicates a machine learning scheme implemented by a processor for solving problems (such as problems related to automatic image recognition or speech recognition) according to a data set.

[0060] The neural network may include an encoder and a decoder. The encoder may determine context information based on a feature vector extracted from a given speech signal. The context information may be, for example, a vector sequence that is summary information containing the meaning of the speech signal, etc. The decoder may generate a plurality of sentences corresponding to the speech recognition result based on the context information. For example, the decoder may generate N sentences with the highest recognition rate of the speech signal as the final result of the speech recognition, for example based on the N-best technique, where N is a natural number greater than or equal to 2. For ease of explanation, the N sentences generated from the speech recognition will be referred to only as the "first candidate" sentences hereinafter.

[0061] The speech processing device 200 may perform the following example operations for each of the multiple first candidate sentences. As a non-limiting example, the speech processing device 200 may be a user device (e.g., a smart phone, a PC, a laptop computer and / or an autonomous driving vehicle), or alternatively may be a server. The speech processing device 200 may use a named entity detector 220 to identify a named entity for each of the first candidate sentences. For example, the speech processing device 200 may identify a named entity based on a determined sentence type. The speech processing device 200 may retrieve a standard expression corresponding to the identified named entity from a named entity database 230. The named entity database 230 may include an inverted index table for multiple standard expressions, so that the most similar standard (or predetermined) expression is retrieved based on the number of included phonemes included in the identified named entity and the importance level of the included phonemes.

[0062] Based on the similarity between the named entities in the first candidate sentences and the corresponding standard expressions, the speech processing device can replace the named entities in each first candidate sentence with the standard expressions corresponding to the named entities in the first candidate sentences, or can keep the named entities, thereby performing refinement 240 to determine the second candidate sentences corresponding to each first candidate sentence. The similarity between the named entities in the first candidate sentences and the corresponding standard expressions can be determined based on phonemes. By performing the aforementioned operations for each of the plurality of first candidate sentences, a plurality of second candidate sentences can be determined.

[0063] The speech processing device 200 can select a final sentence from a plurality of second candidate sentences by performing a rescoring process 250. The rescoring process 250 can be performed using a language model trained based on a standard expression. Through the rescoring process 250, the most natural second candidate sentence that most accurately reflects what the user said can be selected from a plurality of second candidate sentences as the final sentence. As a non-limiting example, the language model can be executed by the speech processing device 200, for example, through one or more processors of the speech processing device 200, and the one or more processors of the speech processing device 200 store the language model together with all or some related database information in the memory of the speech processing device 200. For example, the memory of the speech processing device 200 can store instructions that, when executed by one or more processors, configure the one or more processors to execute the language model and one or more or all operations discussed herein.

[0064] In this way, a final sentence can be determined by performing rescoring 250 on a plurality of second candidate sentences, wherein the plurality of second candidate sentences are determined by replacing the named entity in each first candidate sentence with the corresponding standard expression or keeping the named entity based on the similarity between the named entity and the corresponding standard expression. In addition, by considering the fact that the quality of the second candidate sentence obtained by the improvement 240 may change based on the N-Best decoding result, the probability of selecting a better final sentence can be maximized.

[0065] Figure 3 An example of an inverted index is shown in accordance with one or more embodiments.

[0066] Figure 3 An example of a grapheme to phoneme (G2P) conversion process 310 and an inverted index table 320 is shown. With respect to speech features, a domain-specific speech model may be applied to extract features. Specifically, a double metaphone or G2P model or algorithm may be applied to extract speech features. The G2P model is a neural machine translation model that converts a set of input characters into phonemes (phonetic units). Specifically, the G2P model may be a sequence-to-sequence deep learning model.

[0067] An inverted index table 320 for retrieving a standard expression corresponding to a named entity may be determined. Specifically, a plurality of standard expressions may be collected.

[0068] Multiple standard expressions may be predetermined improved names, and may include, for example, personalized names specified by the user and / or widely used common names. Personalized names may include various names specified by the user, such as first or last name, alias, nickname, etc. stored in the contact folder of the user terminal, and first or last name, alias, nickname, or determined name of another device registered by the user (e.g., smart home appliance, IoT device, etc.). Common names may include various general names specified by artists, manufacturers, and developers other than the user, such as the name of an application installed in the user terminal, a music artist, and a music title. Multiple standard expressions or general expressions may be collected before retrieving a standard expression corresponding to a named entity. In some examples, multiple standard expressions may be updated periodically or in response to the occurrence of a predetermined event.

[0069] Each standard expression can be converted into one or more phonemes based on the G2P conversion. For example, the standard expression "John Lennon" can be converted into the phonemes "c0 oo llrr ee nn oo nf", and the standard expression "Colleen McCauley" can be converted into the phonemes "kh oo llrr iinf mmqq kh oo llrr ii".

[0070] In addition, the inverted index table 320 can be determined using the phonemes obtained through the G2P conversion as keys and the corresponding standard expressions as values. For example, each of the phonemes "c0 oo llrr ee nn oo nf" of the standard expression "John Lennon" is a key, and the standard expression "John Lennon" is a value corresponding to the key. Similarly, each of the phonemes "kh oo ll rr ii nf mm qq kh oo ll rr ii" of the standard expression "Colleen McCauley" is a key, and the standard expression "Colleen McCauley" is a value corresponding to the key. When the determined inverted index table 320 is searched using the phoneme "c0" as a keyword, all standard expressions including the phoneme "c0" (e.g., the standard expression "John Lennon") can be retrieved. Furthermore, when the determined inverted index table 320 is searched using the phoneme "oo" as a keyword, all standard expressions including the phoneme "oo" (eg, standard expressions "John Lennon" and "Colleen McCauley") may be retrieved.

[0071] When the speech processing device selects the standard expression corresponding to the named entity "John Lennon" identified in the first candidate sentence from the inverted index table 320, the named entity "John Lennon" is converted into multiple phonemes "c0oo ll rr ee nn oo nf" through G2P conversion. In addition, based on the inverted index search performed using the multiple phonemes "c0 oo ll rr ee nn oo nf" as keywords, the most similar standard expression can be selected based on the number of included phonemes and the importance of the included phonemes. For example, in the inverted index search performed using the multiple phonemes "c0 oo ll rr ee nn oo nf" as keywords, "Colleen McCauley" is matched 5 times and "John Lennon" is matched 8 times (which is the maximum number of matches), so the standard expression "John Lennon" is selected.

[0072] In this way, by pre-indexing multiple standard expressions based on phonemes, high retrieval speed can be maintained even for large-scale searches for many named entities.

[0073] Figure 4 and Figure 5 Examples of a process of determining a second candidate sentence according to one or more embodiments are respectively illustrated.

[0074] Reference Figure 4 , multiple second candidate sentences can be determined from the multilingual speech signal. Figure 4 In the example of FIG. 1 , it is assumed that a user speaks a speech signal including, for example, an English name in Korean.

[0075] In operation 410, four first candidate sentences with the highest recognition rates may be determined through speech recognition of the speech signal. Since the user speaks the speech signal in Korean, the entire speech signal including the English name may be recognized based on Korean. Figure 4 As shown in , because the English name is speech recognized based on Korean, the recognition rate of the English name is relatively low. In some examples, spacing may also be incorrectly recognized.

[0076] In operation 410, a named entity is identified in each of the four first candidate sentences. Figure 4 As shown in , the recognized named entities are underlined. In other words, "Colleen Nacolley", "Colleen NaeColley", "Colleen Nae Quali", and "Curling Naccurine" are recognized as named entities in the first candidate sentence.

[0077] In operation 420, the named entity is converted into a plurality of phonemes through G2P conversion. For example, the named entity "ColleenNacolley" is converted into the phonemes "kh oo ll rr ii nf nn qq kh oo ll rr ii", the named entity "Colleen Nae Colley" is converted into the phonemes "kh oo ll rr ii nf nn qq kh oo ll rr ii", the named entity "Colleen Nae Quali" is converted into the phonemes "kh oo ll rr ii nf nn qq kk oo ll rr ii", and the named entity "Curling Naccurine" is converted into the phonemes "kh vv ll rr ii ng nn qq kf kh vvrr ii nf".

[0078] In operation 430, the phonemes of the corresponding named entity are used to retrieve the standard expression corresponding to each named entity. An inverted index search is performed using the phonemes included in the named entity as keywords, so that the standard expression corresponding to each named entity is retrieved. For example, an inverted index table of multiple standard expressions is used to obtain k standard expressions from multiple standard expressions in order of similarity based on the number of phonemes included in each named entity and the importance of the included phonemes, where k is a natural number greater than 0. In this example, a search based on term frequency-inverse document frequency (TF-IDF) is used. In "TF-IDF", TF represents the number of phonemes of the corresponding named entity included in each standard expression, and IDF represents the importance of each phoneme.

[0079] exist Figure 4 In the example of , in operation 430, "Colleen McCauley" and "Karen Downey" are sequentially retrieved as two standard expressions corresponding to four named entities. In some examples, the standard expression corresponding to each named entity and / or the order of the standard expressions may vary. Figure 4 In the example of , for the convenience of description, it is assumed that the same search results are obtained for four named entities.

[0080] In operation 440, a standard expression that is most similar to the corresponding named entity may be selected from the standard expressions corresponding to each named entity. For such selection, a phoneme-based similarity between the named entity and the standard expression may be determined. The similarity may be determined based on the edit distance of the phoneme sequence of each named entity and the standard expression. As the edit distance of the phoneme sequence decreases, a higher similarity may be determined.

[0081] In the example of the named entity "Colleen Nacolley", the first similarity between the named entity "Colleen Nacolley" and the standard expression "Colleen McCauley" is determined based on the edit distance between the phoneme sequence of "Colleen Nacolley" and the phoneme sequence of "Colleen McCauley". In addition, the second similarity between the named entity "ColleenNacolley" and the standard expression "Karen Downey" is determined based on the edit distance between the phoneme sequence of "Colleen Nacolley" and the phoneme sequence of "Karen Downey". The first similarity is greater than the second similarity. The standard expression "Colleen McCauley" is selected as the standard expression corresponding to the named entity "Colleen Nacolley". Similarly, the aforementioned operations can be performed on the remaining first candidate sentences.

[0082] In operation 450, it is determined whether the similarity between each named entity and the corresponding standard expression is greater than or equal to a threshold. When the similarity is greater than or equal to the threshold (e.g., when the condition check passes), the named entity is changed to the corresponding standard expression in the corresponding first candidate sentence. Conversely, when the similarity is less than the threshold (e.g., when the condition check fails), the named entity is kept in the first candidate sentence without being replaced with the corresponding standard expression.

[0083] Through such improvement, four second candidate sentences can be determined. The four second candidate sentences can be re-scored based on the language model. Through the re-scoring process, a final sentence can be determined and then output as the final speech recognition result.

[0084] Therefore, by converting the named entities included in each first candidate sentence into phonemes through G2P conversion processing, retrieving the corresponding standard expression from the inverted index table using the phonemes of the named entity, determining the similarity between the retrieved standard expression and the named entity based on the phonemes, and determining whether to replace the named entity with the standard expression, speech recognition robustness against spacing errors and multilingual recognition errors that may occur in speech recognition can be achieved.

[0085] Reference Figure 5 , multiple second candidate sentences can be determined from the monolingual speech signal. Figure 5 In the example of FIG. 1 , it is assumed that a user speaks a speech signal including an English name in the English language.

[0086] In operation 510, N first candidate sentences with the highest recognition rates may be determined based on speech recognition of the speech signal. Although for ease of description, Figure 5One of the N first candidate sentences is shown, but the following description also applies to the remaining first candidate sentences.

[0087] Named entities can be identified in the first candidate sentence of speech recognition. For ease of description, Figure 5 As shown in , the recognized named entities are underlined. For example, "Choline McCauley" is recognized in the corresponding first candidate sentence.

[0088] In operation 520, the recognized named entity is converted into a plurality of phonemes through G2P conversion. In one example, the named entity "Choline McCauley" is converted into the phonemes "kh oo ll rr ii nf nn qq kh oo ll rr ii".

[0089] In operation 530, the phonemes of the named entity may be used to retrieve a standard expression corresponding to the named entity. The phonemes included in the named entity may be used as keywords or search queries to perform an inverted index search. As a result, among the plurality of standard expressions, k standard expressions are obtained in order of similarity based on the number of included phonemes of the named entity and the importance of the included phonemes. Figure 5 In the example of , two standard expressions corresponding to the named entity "Choline McCauley" are retrieved in the order of "Colleen McCauley" and "Karen Downey".

[0090] In operation 540, a standard expression most similar to the named entity may be selected from the standard expressions corresponding to the named entity. The selection may be performed based on a phoneme-based similarity between the named entity and the standard expression. The similarity may be determined based on an edit distance of a phoneme sequence of the named entity and the standard expression.

[0091] In one example, based on the edit distance between the phoneme sequence of the named entity "Choline McCauley" and the phoneme sequence of the standard expression "Colleen McCauley", a first similarity between them is determined. In addition, based on the edit distance between the phoneme sequence of the named entity "Choline McCauley" and the phoneme sequence of the standard expression "Karen Downey", a second similarity between them is determined. The first similarity can be determined to be greater than the second similarity. The standard expression "Colleen McCauley" is then selected as the standard expression corresponding to the named entity "Choline McCauley".

[0092] In operation 550, a conditional check is performed based on whether the similarity between the named entity and the selected standard expression is greater than or equal to a threshold. When the similarity is greater than or equal to the threshold, the named entity is changed to the selected standard expression in the first candidate sentence. Conversely, when the similarity is less than the threshold, the named entity is kept in the first candidate sentence without being replaced with the selected standard expression. By such an improvement, the second candidate sentence can be determined.

[0093] The aforementioned operation is performed for each of the N first candidate sentences obtained by speech recognition, so that N second candidate sentences are determined. From among them, a final first candidate sentence is determined by re-scoring based on the language model and then output as the final speech recognition result.

[0094] Figure 6 An example of multiple standard expressions corresponding to each named entity according to one or more embodiments is shown.

[0095] Figure 6 An example of a process of determining a sentence as a final sentence 650 from among M second candidate sentences 640 determined from a user's voice signal 610 is shown.

[0096] N recognized first candidate sentences 620 are determined by performing speech recognition on the user's speech signal 610. In addition, N named entities 630 are determined by recognizing a named entity in each of the N recognized first candidate sentences 620. For brevity, the following operation will be described for each named entity.

[0097] In the example of named entity 1, k standard expressions corresponding to named entity 1 may be retrieved. The similarity between named entity 1 and each of the k standard expressions is determined. It is determined whether the determined similarity is greater than or equal to a threshold. From the standard expressions whose determined similarity is greater than or equal to the threshold, j standard expressions are selected in descending order of similarity, where j is a natural number between 1 and k. Figure 6 In the example of , since similarities 1-1 to 1-k are greater than or equal to the threshold, j standard expressions are selected from standard expression 1-1 to standard expression 1-k in descending order of similarity. Figure 6 The descending order of similarity is represented by the numbers in the circles. The named entity is replaced by each of the j standard expressions, so that j second candidate sentences are generated.

[0098] In the example of named entity 2, k standard expressions corresponding to named entity 2 are retrieved. The similarity between named entity 2 and each of the k standard expressions is determined. Then, it is determined whether the determined similarity is greater than or equal to a threshold. Figure 6, a similarity less than a threshold value is indicated by an “×” mark. From the standard expressions having a similarity greater than or equal to the threshold value, j standard expressions are selected in descending order of similarity. When the number of standard expressions having a similarity greater than or equal to the threshold value is less than j, a standard expression having a similarity less than the threshold value (e.g., standard expression 2-2) may be selected. In this example, since the similarity of standard expression 2-2 is less than the threshold value, the second candidate sentence including named entity 2 is determined without being replaced by standard expression 2-2.

[0099] The aforementioned operation may then be performed on the remaining entities, so that M second candidate sentences 640 are determined. M is determined according to “N×j.” Through rescoring based on the language model, one of the M second candidate sentences 640 is selected as the final sentence 650 to be output.

[0100] Figure 7 An example of determining a standard expression based on a domain of a speech signal according to one or more embodiments is shown.

[0101] Reference Figure 7 , multiple standard expressions can be classified based on domains. A domain represents an area to which a specific standard expression belongs, and a domain includes, for example, a contact stored in a user terminal, an application, another device related to the user (e.g., a smart appliance, an IoT device, etc.), a music title, and a music artist. The above-mentioned inverted index table is generated separately for each domain. For example, the inverted index table of the contact domain is determined based on multiple standard expressions corresponding to the contacts stored in the user terminal, and the inverted index table of the music artist domain is determined based on multiple standard expressions corresponding to the music artist. In this way, the inverted index table is generated based on multiple domains.

[0102] exist Figure 7In the example of , "Michael Jessen" is identified as a named entity in the first candidate sentence 720 issued corresponding to the speech recognition result of the speech signal 710. Then, the standard expression corresponding to the named entity "Michael Jessen" can be retrieved. In this example, a search is performed on multiple standard expressions belonging to the domain of the speech signal 710. The speech signal 710 can be, for example, a call made by a user to an acquaintance whose contact number is stored in the user terminal. Based on the speech signal 710, the domain is determined to be the contact domain. Therefore, a search is performed on multiple standard expressions in the contact domain 733 to obtain a standard expression corresponding to the named entity "Michael Jessen". As a result, the standard expression "Michael Jason" that is most similar to the named entity "Michael Jessen" is retrieved. When the similarity between the named entity "Michael Jessen" and the standard expression "Michael Jason" is greater than or equal to a threshold value, a second candidate sentence 740 obtained by replacing the named entity "Michael Jessen" with the standard expression "Michael Jason" in the first candidate sentence 720 is determined.

[0103] In one example, when the speech signal 710 is "play Michael Jessen music", the domain of the speech signal 710 is determined to be the music artist domain, so that a search is performed on the music artist domain 731 to obtain a standard expression corresponding to the named entity "Michael Jessen". As a result, the standard expression "Michael Jackson" that is most similar to the named entity "Michael Jessen" can be retrieved.

[0104] In this way, by searching for standard expressions corresponding to the named entities retrieved from the speech signal 710 based on the determined domain, the user's intention can be achieved. Figure 1 Speech recognition results with a consistent high level of accuracy can be obtained.

[0105] Figure 8 is a flowchart showing an example of the operation of a speech processing device according to one or more embodiments. Figure 8 Operations in . Can be executed in parallel or simultaneously Figure 8 Many of the operations shown in the figure can be performed by a computer based on special-purpose hardware or a combination of special-purpose hardware and computer instructions that performs the specified functions. Figure 8 One or more boxes and combinations of boxes. Figure 8 In addition to the description, Figures 1 to 7 The description also applies to Figure 8, and are incorporated herein by reference. Therefore, the above description may not be repeated here.

[0106] Reference Figure 8 , the following operations are performed in a processor included in the speech processing device. In an example, "processor" may refer to one or more processors, and "memory" may refer to one or more memories.

[0107] In operation 810, the speech processing apparatus generates N first candidate sentences by performing speech recognition processing on an input user's speech signal, where N is a natural number greater than or equal to 2. The speech processing apparatus may generate the N first candidate sentences by performing an N-Best technique and a speech recognition model of an encoder-decoder structure.

[0108] Operations 820 to 850 are performed for each of the N first candidate sentences, and for ease of description, each operation will be described based on the description of one first candidate sentence.

[0109] In operation 820, the speech processing device identifies the named entities in the first candidate sentence. A named entity is an entity represented by a real name, and as a non-limiting example, a named entity includes, for example, a person's name, an application name, a music title, and a music artist. The speech processing device identifies the named entities in the first candidate sentence based on the type of the first candidate sentence. For example, when the type of the first candidate sentence is "call○○○", the speech processing device identifies "○○○" in the first candidate sentence as a named entity. Similarly, when the types of the first candidate sentences are "play△△△music" and "execute□□□application", the speech processing device identifies "△△△" and "□□□" in the first candidate sentence as named entities. In addition, various first candidate sentence types can be applied without restriction.

[0110] In operation 830 , the speech processing apparatus determines k standard expressions corresponding to the recognized named entity from among a plurality of standard expressions using the phonemes of the named entity, where k is a natural number greater than 0.

[0111] In operation 840, the speech processing device determines whether the k standard expressions include a standard expression whose similarity to the named entity is greater than or equal to a threshold. The similarity can be determined based on the edit distance based on the phoneme. When there is a standard expression with a similarity greater than or equal to the threshold, operation 850 is performed. On the contrary, when there is no standard expression with a similarity greater than or equal to the threshold, a second candidate sentence in which the named entity is retained without being replaced with the standard expression is determined, and then operation 860 is performed.

[0112] In operation 850, the speech processing apparatus determines j second candidate sentences by replacing the corresponding named entities with j most similar standard expressions among the standard expressions having a similarity greater than or equal to a threshold, where j is a natural number between 1 and k. When the number of standard expressions having a similarity greater than or equal to the threshold is less than j, a second candidate sentence in which the named entity is retained without being replaced with the standard expression may also be determined.

[0113] In operation 860, the N first candidate sentences generated as a result of the speech recognition are subjected to a verification process of the speech processing device verifying whether to replace the named entity with a standard sentence. When the N first candidate sentences include a first candidate sentence for which the verification process of "whether to replace the named entity with a standard sentence" is not performed, operation 820 is performed on the corresponding first candidate sentence. When the N first candidate sentences do not include such a sentence, operation 870 is performed.

[0114] In operation 870, the speech processing apparatus may select one of the M second candidate sentences as a final sentence and output the final sentence. When selecting the final sentence, a language model trained based on a standard expression may be used.

[0115] because Figures 1 to 7 Description applies to Figure 8 The above operations are described above, so repeated descriptions will be omitted.

[0116] Fig. 9 An example of a speech processing device is shown.

[0117] Reference Fig. 9 , the speech processing device 900 may include one or more memories 910, one or more processors 920, and an input / output (I / O) interface 930 configured to receive speech input data of a user. The one or more memories 910, the one or more processors 920, and the I / O interface 930 communicate via a bus 940. In an example, a reference to a "processor" may represent one or more processors, and a reference to a memory may represent one or more memories.

[0118] In one example, the input / output interface 930 may be a display that receives input from a user or provides output. In one example, the input / output interface 930 may be used as an input device and may capture or receive input from a user through an input method (e.g., voice input). Thus, as a non-limiting example, the input / output interface 930 may include a microphone and other devices that may detect input from a user and send the detected input to the processor 920.

[0119] In one example, the speech processing device 900 may also store instructions, such as in the memory 910, which, when executed by the processor 920, configure the processor 920 to implement any combination of such one or more operations or operations. In one example, the speech recognition device 900 may be configured as hardware, which may include, as non-limiting examples, a microprocessor, a central processing unit, a processor core, a multi-core processor, a multiprocessor, an application-specific integrated circuit (ASIC), and a field programmable gate array (FPGA).

[0120] The processor 920 is a device for executing instructions or programs, or controlling the speech processing device 900. The processor 920 includes, for example, a central processing unit (CPU) and a graphics processing unit (GPU). The speech processing device 900 can be connected to an external device (e.g., a microphone and a keyboard) through an I / O interface 930 to receive a user's input first candidate sentence or output a reply first candidate sentence. In addition, the speech processing device 900 can perform the operations described above.

[0121] Fig.10 An example of a speech processing method according to one or more embodiments is shown. Fig.10 The operations in can be performed in the order and manner shown. Fig.10 Many of the operations shown in FIG. 1 may be performed in parallel or simultaneously. Fig.10 One or more blocks and combinations of blocks may be implemented by a computer based on dedicated hardware or a combination of dedicated hardware and computer instructions that perform the specified functions. Fig.10 In addition to the description, Figures 1 to 9 The description also applies to Fig.10 , and are incorporated herein by reference. Therefore, the above description may not be repeated here.

[0122] Reference Fig.10 , a speech processing method is executed in a processor included in a speech processing device.

[0123] In operation 1010, the speech processing device may generate a plurality of first candidate sentences in response to speech recognition processing performed on a user's speech signal. In operation 1020, the speech processing device may identify a named entity in each of the plurality of first candidate sentences. In operation 1030, the speech processing device may determine a standard expression corresponding to the identified named entity using the phonemes of the corresponding named entity. In operation 1040, the speech processing device may determine a plurality of second candidate sentences by replacing the named entity of each of the plurality of first candidate sentences with the standard expression corresponding to the named entity based on the determined similarity between the named entity and the standard expression corresponding to the named entity, or otherwise maintaining the named entity. In operation 1050, the speech processing device may output a final sentence selected from the plurality of second candidate sentences.

[0124] because Figures 1 to 9 Description applies to Fig.10 The above operations are described above, so repeated descriptions will be omitted.

[0125] The neural network device, speech processing device 100, corresponding processor, memory, memory 920, memory 910, input / output interface 930 and other devices and other components described herein are implemented as hardware components and implemented by hardware components. Examples of hardware components that can be used to perform the operations described in this application include, where appropriate, controllers, sensors, generators, drivers, memories, comparators, arithmetic logic units, adders, subtractors, multipliers, dividers, integrators, and any other electronic components configured to perform the operations described in this application. In other examples, one or more of the hardware components that perform the operations described in this application are implemented by computing hardware (e.g., by one or more processors or computers). The processor or computer may be implemented by one or more processing elements (such as logic gate arrays, controllers and arithmetic logic units, digital signal processors, microcomputers, programmable logic controllers, field programmable gate arrays, programmable logic arrays, microprocessors, or any other device or combination of devices configured to respond and execute instructions in a defined manner to achieve the desired result). In one example, the processor or computer includes or is connected to one or more memories storing instructions or software executed by the processor or computer. The hardware components implemented by a processor or a computer can execute instructions or software (such as, an operating system (OS) and one or more software applications running on the OS) for performing the operations described in this application. Hardware components can also access, manipulate, process, create and store data in response to the execution of instructions or software. For simplicity, the singular term "processor" or "computer" can be used in the description of the examples described in this application, but in other examples, multiple processors or computers can be used, or a processor or a computer can include multiple processing elements or multiple types of processing elements or both. For example, a single hardware component or two or more hardware components can be implemented by a single processor, or two or more processors, or a processor and a controller. One or more hardware components can be implemented by one or more processors, or a processor and a controller, and one or more other hardware components can be implemented by one or more other processors, or another processor and another controller. One or more processors, or a processor and a controller can implement a single hardware component or two or more hardware components. The hardware components may have any one or more of different processing configurations, examples of which include: a single processor, independent processors, parallel processors, single instruction single data (SISD) multiprocessing, single instruction multiple data (SIMD) multiprocessing, multiple instruction single data (MISD) multiprocessing, and multiple instruction multiple data (MIMD) multiprocessing.

[0126] Perform the operations described in this application and Figures 1 to 10The method shown in is performed by computing hardware (e.g., by one or more processors or computers), which is implemented as executing instructions or software as described above to perform the operations performed by the method described in this application. For example, a single operation or two or more operations can be performed by a single processor, or two or more processors, or a processor and a controller. One or more operations can be performed (e.g., as the respective operations of the method implemented by the processor) by one or more processors, or a processor and a controller, and one or more other operations can be performed by one or more other processors, or another processor and another controller. One or more processors, or a processor and a controller can perform a single operation or two or more operations.

[0127] Instructions or software for controlling computing hardware (e.g., one or more processors or computers) to implement hardware components and perform methods as described above may be written as computer programs, code segments, instructions, or any combination thereof to individually or collectively instruct or configure one or more processors or computers to operate as a machine or special-purpose computer to perform operations performed by the hardware components and methods as described above. In one example, the instructions or software include machine code (such as machine code generated by a compiler) that is directly executed by one or more processors or computers. In another example, the instructions or software include high-level code that is executed by one or more processors or computers using an interpreter. Instructions or software may be written in any programming language based on the block diagrams and flow charts shown in the accompanying drawings and the corresponding descriptions in the specification, which disclose algorithms for performing operations performed by the hardware components and methods as described above.

[0128] Instructions or software for controlling computing hardware (e.g., one or more processors or computers) to implement hardware components and perform the methods described above, as well as any associated data, data files, and data structures, may be recorded, stored, or fixed in or on one or more non-transitory computer-readable storage media. Examples of non-transitory computer-readable storage media include: read-only memory (ROM), random access programmable read-only memory (PROM), electrically erasable programmable read-only memory (EEPROM), random access memory (RAM), dynamic random access memory (DRAM), static random access memory (SRAM), flash memory, non-volatile memory, CD-ROM, CD-R, CD+R, CD-RW, CD+RW, DVD-ROM, DVD-R, DVD+R, DVD-RW, DVD+RW, DVD-RAM, BD-ROM, BD-R, BD-RLTH, BD-RE , Blu-ray or optical disk storage, hard disk drive (HDD), solid state drive (SSD), card storage (such as, multimedia card or micro card (for example, secure digital (SD) or extreme digital (XD))), magnetic tape, floppy disk, magneto-optical data storage device, optical data storage device, hard disk, solid state disk, and any other device, any other device is configured to store instructions or software and any associated data, data files and data structures in a non-temporary manner and provide the instructions or software and any associated data, data files and data structures to one or more processors or computers so that one or more processors and computers can execute the instructions. In one example, the instructions or software and any associated data, data files and data structures are distributed on a networked computer system so that the instructions and software and any associated data, data files and data structures are stored, accessed and executed by one or more processors or computers in a distributed manner.

[0129] Although the present disclosure includes specific examples, it will be clear after understanding the disclosure of the present application that various changes in form and detail can be made in these examples without departing from the spirit and scope of the claims and their equivalents. The examples described herein are considered to be descriptive only, not for limiting purposes. The description of the features or aspects in each example should be considered to be applicable to similar features or aspects in other examples. If the described technology is performed in a different order, and / or if the components in the described system, architecture, device or circuit are combined in a different manner, and / or replaced or supplemented by other components or their equivalents, suitable results can be achieved. Therefore, the scope of the disclosure is not limited by a specific embodiment, but by the claims and their equivalents, and all changes within the scope of the claims and their equivalents should be interpreted as included in the disclosure.

Claims

1. A speech processing method, include: performing speech recognition of speech signals; generating a plurality of first candidate sentences as a result of performing speech recognition; identifying a respective named entity in each of the plurality of first candidate sentences; Determine a standard expression corresponding to each identified named entity using the phonemes of the corresponding named entity; For each of the plurality of first candidate sentences, determining whether to replace the identified named entity with the determined standard expression based on the similarity between the named entity and the standard expression corresponding to the named entity, and determining a plurality of second candidate sentences based on the determination result; and outputting a final sentence selected from the plurality of second candidate sentences, The steps of determining the standard expression include: determining a standard expression corresponding to each named entity recognized in the step of recognizing the named entity based on an inverted index search performed using phonemes included in the corresponding named entity, wherein, based on the inverted index table of multiple standard expressions, based on the number of included phonemes of the corresponding named entity and the determined importance level of the included phonemes, the most similar standard expression is selected from the multiple standard expressions, The inverted index search is based on term frequency-inverse document frequency TF-IDF, in which TF represents the number of phonemes of the corresponding named entity included in each standard expression, and IDF represents the importance of each phoneme.

2. The speech processing method according to claim 1, in, The inverted index table is a table obtained by indexing the plurality of standard expressions according to a phoneme-based inverted index scheme.

3. The speech processing method according to claim 1, in, The plurality of standard expressions include expressions previously specified by a user and / or common expressions.

4. The speech processing method according to claim 1, in, The steps to output the final sentence include: According to the language model trained based on the standard expression, a sentence among the second candidate sentences that is determined to most accurately correspond to the speech signal is output as a final sentence.

5. The speech processing method according to claim 1, in, The steps to determine the standard expression also include: determining a domain of the speech signal based on an analysis of the speech signal, wherein an inverted index table is generated separately for each domain, Among them, based on the inverted index table corresponding to the determined domain, based on the number of included phonemes of the corresponding named entity and the importance level of the determined included phonemes, the most similar standard expression is selected from multiple standard expressions corresponding to the determined domain.

6. The speech processing method according to claim 5, in, The domain of the voice signal includes at least one of a contact, an application, a music title, a music artist, and another device related to the user stored in the user's device.

7. The speech processing method according to claim 1, in, The steps for determining the corresponding standard expression include: determining k corresponding standard expressions from a plurality of standard expressions in order of similarity based on the number of included phonemes and the importance level of the included phonemes as each named entity recognized in the step of recognizing the named entity, Determine whether the similarity between the respectively corresponding named entity and each of the k corresponding standard expressions is greater than or equal to a threshold, and Select j most similar standard expressions from the standard expressions with a similarity greater than or equal to a determined threshold, Wherein, k is a natural number greater than 0, and j is a natural number between 1 and k.

8. The speech processing method according to claim 1, in, In each of the plurality of first candidate sentences, one or both of a named entity and a domain of the named entity are identified based on the determined type of the corresponding first candidate sentence.

9. The speech processing method according to claim 1, in, The step of generating the plurality of first candidate sentences comprises: N first candidate sentences with the highest recognition rates are generated based on speech recognition of the speech signal, where N is a natural number greater than or equal to 2.

10. The speech processing method according to claim 1, in, The step of outputting the final sentence includes controlling an operation of a device of the user based on the output final sentence.

11. The speech processing method according to claim 1, in, The standard expression is expressed in one of a same language and a different language than a language in which the plurality of first candidate sentences are expressed.

12. The speech processing method according to claim 1, in, The similarity is the phoneme-based similarity between each named entity and the corresponding standard expression.

13. A non-transitory computer-readable storage medium storing instructions, wherein when the instructions are executed by a processor, the processor executes the speech processing method according to any one of claims 1 to 12.

14. A speech processing device, include: One or more processors configured to: performing speech recognition of speech signals; generating a plurality of first candidate sentences as a result of performing speech recognition; identifying a respective named entity in each of the plurality of first candidate sentences; Determine a standard expression corresponding to the identified named entity using the phonemes of the corresponding named entity; For each of the plurality of first candidate sentences, determining whether to replace the identified named entity with the determined standard expression based on the similarity between the named entity and the standard expression corresponding to the named entity, and determining a plurality of second candidate sentences based on the determination result; and outputting a final sentence selected from the plurality of second candidate sentences, wherein the one or more processors are configured to: determine a standard expression corresponding to each named entity identified in the step of identifying the named entity based on an inverted index search performed using phonemes included in the corresponding named entity, The one or more processors are configured to: based on the inverted index table of the plurality of standard expressions, based on the number of phonemes included in the corresponding named entity and the determined importance level of the included phonemes, select the most similar standard expression from the plurality of standard expressions, The inverted index search is based on term frequency-inverse document frequency TF-IDF, in which TF represents the number of phonemes of the corresponding named entity included in each standard expression, and IDF represents the importance of each phoneme.

15. The speech processing device according to claim 14, in, The one or more processors are configured to output, as a final sentence, a sentence among the second candidate sentences that is determined to most accurately correspond to the speech signal according to a language model trained based on a standard expression.

16. The speech processing device according to claim 14, in, The one or more processors are further configured to: determine a domain of the speech signal based on an analysis of the speech signal, wherein the inverted index table is generated separately for each domain, Among them, based on the inverted index table corresponding to the determined domain, based on the number of included phonemes of the corresponding named entity and the importance level of the determined included phonemes, the most similar standard expression is selected from multiple standard expressions corresponding to the determined domain.

17. The speech processing device according to claim 14, in, The one or more processors are configured to: determine k corresponding standard expressions from a plurality of standard expressions in order of similarity based on the number of included phonemes and the importance level of the included phonemes as each named entity recognized in the step of recognizing the named entity, Determine whether the similarity between the respectively corresponding named entity and each of the k corresponding standard expressions is greater than or equal to a threshold, and Select j most similar standard expressions from the standard expressions with a similarity greater than or equal to a determined threshold, Wherein, k is a natural number greater than 0, and j is a natural number between 1 and k.

Citation Information

Patent Citations

  • Voice processor, and voice processing method

    CN104217716A

  • Named entity resolution in spoken language processing

    US9454957B1