Speech recognition and training for data entry.

By segmenting speech-to-text data into n-gram chunks and training a language model with metadata, the method improves the recognition of alphanumeric inputs, addressing the inaccuracies in conventional speech recognition systems.

JP7549429B2Active Publication Date: 2024-09-11INTERNATIONAL BUSINESS MACHINE CORPORATION
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2022554926
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2020-03-20
Filing Date
2021-02-23
Publication Date
2024-09-11
Estimated Expiration
2041-02-23

AI Technical Summary

Technical Problem

Conventional speech recognition technologies struggle to accurately recognize alphanumeric data inputs, such as IDs and dates, due to difficulties in distinguishing between numbers and letters, leading to inaccurate translations.

Method used

The method involves segmenting speech-to-text data into sequential n-gram chunks, generating a language model based on metadata, and training the model to generate multiple alternatives for improved recognition of alphanumeric inputs using predetermined rules and characteristics.

Benefits of technology

This approach enhances the accuracy of speech-to-text conversion for alphanumeric data by considering contextual and specific requirements, providing multiple alternatives for accurate translation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007549429000004
    Figure 0007549429000004
  • Figure 0007549429000001
    Figure 0007549429000001
  • Figure 0007549429000006
    Figure 0007549429000006
Patent Text Reader

Abstract

A method, system, and computer program product for recognizing and training alphanumeric speech data input. The method may include segmenting the data input received through speech recognition into sequential n-gram chunks based on predetermined rules. The method may also include receiving metadata about characteristics of the data input. The method may also include generating a language model based on the metadata. The method may also include generating a first set of language model variations of the data input. The method may also include training the language model based on at least the first set of language model variations. The method may also include generating one or more alternatives for the data input using the trained language model. The method may also include transmitting an output including the one or more alternatives for the data input.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to speech to text technology, and more particularly to training a system to recognize alphanumeric voice data input in a speech to text system. [Background technology]

[0002] As technology improves, speech to text capabilities are becoming more and more popular. For example, when a user calls a help desk, service, etc., the user often must provide account numbers, social security numbers, dates of birth, passwords, etc. The user can use their voice to input the required data (e.g., speak the data into the telephone). Speech recognition technology can be used to determine what is being inputted through voice and convert or translate this input into text that a computer system can recognize and process.

[0003] Speech recognition technology may be used in a variety of different use cases. These use cases may require speech recognition to process and recognize multiple types of speech. For example, a traditional speech recognition use case involves using common utterances (from a user) to identify intents and entities. Traditional speech recognition based models can be used to recognize ordinary words and sentences and convert these into text. For example, the common utterance "My name is John Doe" can be recognized by a traditional speech recognition model and converted into text.

[0004] However, conventional speech recognition technology may have difficulty handling more complex utterances. For example, speech recognition technology may have difficulty recognizing data inputs such as IDs, dates, or other alphanumeric data inputs, and conventional speech recognition technology may not be very accurate in recognizing alphanumeric data inputs. Alphanumeric data inputs may be data inputs that contain both letters / words and numbers. For example, an alphanumeric utterance such as "my date of birth is January 8, 1974" may be difficult for conventional speech recognition technology to recognize due to the combination of words and numbers in the utterance. Conventional speech recognition may not be able to distinguish between "8" and "h", "f" and "s", "d" and "t", "m" and "n", "4" and "for", "to" and "too" and the number "2", etc. Continuing with the previous example, conventional speech recognition may translate the above speech input into text such as "my date of birth is January H 1970 For", which is inaccurate.

[0005] Therefore, there is a need in the art to address the aforementioned problems. Summary of the Invention

[0006] Viewed from a first aspect, the present invention provides a computer-implemented method comprising: segmenting a data input received through speech recognition into sequential n-gram chunks based on predetermined rules; receiving metadata regarding characteristics of the data input; generating a language model based on the metadata; generating a first set of language model variations for the data input; training the language model based on at least the first set of language model variations; generating one or more alternatives for the data input using the trained language model; and transmitting an output including the one or more alternatives for the data input.

[0007] Viewed from a further aspect, the present invention provides a system having one or more computer processors configured to segment a data input, which is a speech to text transcript, into sequential n-gram chunks based on predetermined rules, receive metadata regarding characteristics of the data input, generate a language model based on the metadata, generate a first set of language model variations for the data input, train the language model based on at least the first set of language model variations, generate one or more alternatives for the data input using the trained language model, and transmit an output including the one or more alternatives for the data input.

[0008] Viewed from a further aspect, the present invention provides a computer program product for recognising alphanumeric voice data input in a speech to text system, the computer program product comprising a computer readable storage medium readable by a processing circuit and storing instructions for execution by the processing circuit to perform a method for carrying out the steps of the present invention.

[0009] Viewed from a further aspect, the present invention provides a computer program stored on a computer readable medium and loadable into an internal memory of a digital computer, the computer program comprising software code portions for performing the steps of the present invention when the program is run on the computer.

[0010] Viewed from a further aspect, the present invention provides a computer program product including a computer readable storage medium having embodied therein program instructions executable by a server to cause the server to perform a method including segmenting a data input, the data input being a speech to text transcript, into sequential n-gram chunks based on predetermined rules; receiving metadata regarding characteristics of the data input; generating a language model based on the metadata; generating a first set of language model variations for the data input; training the language model based on at least the first set of language model variations; generating one or more alternatives for the data input using the trained language model; and transmitting an output including the one or more alternatives for the data input.

[0011] The present disclosure provides methods, systems, and computer program products for recognizing and training for recognition of alphanumeric voice data input. The method may include segmenting the data input received through voice recognition into sequential n-gram chunks based on a predetermined rule. The method may also include receiving metadata regarding characteristics of the data input. The method may also include generating a language model based on the metadata. The method may also include generating a first set of language model variations of the data input. The method may also include training the language model based on at least the first set of language model variations. The method may also include generating one or more alternatives for the data input using the trained language model. The method may also include transmitting an output including the one or more alternatives for the data input.

[0012] The system and computer program product may include similar steps.

[0013] The above summary is not intended to describe each illustrated embodiment or every implementation of the present disclosure. [Brief description of the drawings]

[0014] The drawings contained herein are incorporated in and constitute a part of this specification. They illustrate embodiments of the present disclosure and, together with the description, serve to explain the principles of the present disclosure. The drawings are merely illustrative of particular embodiments and are not intended to limit the disclosure.

[0015] [Figure 1] 1 illustrates a flowchart of a set of operations for training speech recognition technology and utilizing the technology to recognize alphanumeric voice data input, according to some embodiments. [Diagram 2] 1 shows a flowchart illustrating a set of operations for generating a set of language model variations in accordance with some embodiments. [Diagram 3] 1 illustrates a schematic diagram of an exemplary speech recognition environment, according to some embodiments. [Figure 4] 1 shows a schematic diagram of an exemplary speech to text environment utilizing 4-gram chunks, according to some embodiments. [Diagram 5] 1 shows a schematic diagram of an exemplary speech to text environment utilizing 5-gram chunks, according to some embodiments. [Figure 6] 1 illustrates a block diagram of a sample computer system according to some embodiments.

[0016] While the invention is susceptible to various modifications and alternative forms, specific features thereof have been shown by way of example in the drawings and will be described in detail. It should be understood, however, that the intention is not to limit the invention to the particular embodiments described. On the contrary, the intention is to cover all modifications, equivalents, and alternatives falling within the scope of the invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0017] Aspects of the present disclosure relate to speech to text technology, and more particularly to training a system to recognize alphanumeric voice data input in a speech to text system. The present disclosure is not necessarily limited to such applications, but various aspects of the present disclosure can be understood through the discussion of various examples using this context.

[0018] The present disclosure provides computer-implemented methods, systems, and computer program products for recognizing and training alphanumeric voice data input. In some cases, after data input is received by a speech recognition system (e.g., via speech by a user), the data can be segmented into chunks (i.e., n-gram chunks) and processed through the segmented chunks. A language model (and, in some cases, an acoustic model) based on the rules and characteristics can be generated using various rules and characteristics (including rules specific to the input, general phonetic rules and variations, etc.). To improve the model, the model can be trained using various rules and characteristics with various data inputs. By segmenting data into chunks and generating and training language models using various rules and characteristics, the accuracy of speech recognition technology for alphanumeric data input can be improved.

[0019] 1, a flow chart is depicted illustrating a method 100 for training speech recognition technology and utilizing the technology to recognize alphanumeric voice data input, according to some embodiments. In some embodiments, method 100 is performed by a server (e.g., computer system / server 602 (FIG. 6)) on or connected to a speech recognition system (e.g., speech recognition system 330 (FIG. 3), speech recognition system 430 (FIG. 4), or speech recognition system 530 (FIG. 5), or a combination thereof). In some embodiments, method 100 is implemented as a computer script or computer program (e.g., computer executable code) that is executed on or connected to a computer system (e.g., computer system 600 (FIG. 6)). In some embodiments, a speech recognition system is on or connected to a computer system.

[0020] Method 100 includes an act 110 of receiving a data input. The data input may be a speech to text data input. In some embodiments, receiving the data input includes receiving an audio data input and converting the speech to text. In some embodiments, the speech has already been converted to text before being received by the system in act 110. The speech to text conversion may be performed using conventional methods.

[0021] For example, a client (e.g., a business) may use conventional speech recognition technology to convert a user's speech to text. However, this conventional speech recognition technology may not be able to convert speech to text accurately. Thus, the client may send text data input (already converted to text by the client) to a system performing method 100 to modify the text data input and create an improved model for translating speech to text that the client may use in future translations. For example, a user may voice input information into a client system (e.g., an insurance company, a health care company, or any other company that utilizes speech recognition technology), and the client system may convert the speech to text and then send the text of the data input to the system.

[0022] In some cases, there is no third-party client, and the system performing method 100 is a system that receives speech directly from a user. In these cases, the system can originally translate the speech to text using conventional methods in operation 110. For example, a user can voice input information into the system (e.g., via telephone), and the system can convert the speech / vocal input to text.

[0023] The method 100 includes an operation 115 of segmenting the data input into sequential n-gram chunks based on a predetermined rule. Once the data input is converted to text (described in operation 110), the data input can be segmented into n-gram chunks, where n is related to the length of the data input (received and established as text in operation 110). An n-gram can be a sequence of n letters, numbers, words, or a combination of any of the three. In some embodiments, an n-gram chunk can be either a 4-gram chunk or a 5-gram chunk, and thus, segmenting the data into sequential n-gram chunks can include segmenting the data into sequential 4-gram or 5-gram chunks. In some embodiments, segmenting the data input into 4-gram (or 5-gram) chunks includes splitting the data input (its text form) into sequential 4-character (or 5-character) chunks. In some embodiments, segmenting the data input into 4-gram (or 5-gram) chunks includes segmenting the data input into sequential 4-word (or 5-word) chunks. An example of segmenting the data input into n-gram chunks is provided below.

[0024] In some embodiments, the predetermined rules include that for data inputs with 9 positions (e.g., characters, words, etc.) or less, the n-gram chunks are 4-gram chunks, and for data inputs with 10 positions or more, the n-gram chunks are 5-gram chunks. The positions may be characters (e.g., letters or numbers) in some embodiments. For example, a data input containing "12345ABCD" is segmented into 4-gram chunks because it has 9 positions. Segmenting this example data input into 4-gram chunks may include segmenting the input into chunks "1234", "2345", "345A", "45AB", "5ABC", and "ABCD". In this manner, the data input is segmented into sequential 4-character chunks, starting with the first character, until all characters have been segmented.

[0025] In another example where the input includes both words and numbers, the data input includes "my birthday is January 1, 1985." In this example, the various positions may include my-birthday-is-January-1,-1985, where spaces indicate separation between the positions of the data input. In this example, since there are six positions, the data input is segmented into 4-gram chunks. Segmenting the data input of this example into 4-gram chunks may include segmenting the input into chunks "my birthday is January," "birthday is January 1," and "is January 1, 1985."

[0026] In another example, a data input containing "ABCDE98765" is segmented into 5-gram chunks because it has 10 positions (i.e., characters). These 5-gram chunks can include segmented chunks of "ABCDE", "BCDE9", "CDE98", "DE987", "E9876", and "98765". Extending to 5-gram chunks for longer inputs can improve the contextual coverage of the data input, especially for data inputs with longer positions (or characters). 5-gram chunks can provide more complete coverage of the data input because five positions of the data input are present together within each chunk. 4-gram chunks can have four positions of the data input included in each chunk. However, for smaller data inputs, breaking the input into 5-gram (instead of 4-gram) chunks can provide only minimal or no improvement in the contextual coverage of the data input. Therefore, decomposing smaller inputs (e.g., 9 positions or less) into 4-gram chunks can save resources (e.g., bandwidth).

[0027] An example of a data input segmented into 4-gram chunks is described further herein and shown in FIG. 4. The same example data input segmented into 5-gram chunks is described further herein and shown in FIG.

[0028] The method 100 includes an act of receiving 120 metadata regarding characteristics of the data input. In some embodiments, the metadata regarding the characteristics of the data input may include unique requirements for the data input. For example, if the data input is a social security number, the unique requirement may be that the data input has 9 positions (e.g., 9 characters), each position being a digit. In another example, if the data input is a date of birth, the unique requirement may be that the data input includes a date, month, and year.

[0029] In another example, the data input may be a Medicare Beneficiary Input (MBI). The MBI may have a unique set of rules, or unique characteristics, for the MBI number. These unique characteristics may be metadata about the characteristics of the data input. In the MBI example, there may be a unique requirement that the data input contains 11 positions or 11 characters. These 11 characters may have a unique format of C / A / AN / N / A / AN / N / A / A / N / N. There may be a unique requirement that the character in the C position must be a digit 1-9. Another unique requirement may be that the character in the N position must be a digit 0-9. Another unique requirement may be that the character in the A position must be an alphabetic character A-Z excluding S, L, O, I, B, and Z. Finally, there may be another requirement that the character in the AN position must be either A or N. All of these example unique requirements of the MBI may be metadata about the characteristics of the data input received by the system.

[0030] In some embodiments, the metadata regarding the characteristics of the data input is determined by the client. The client (e.g., an insurance company, a healthcare company, or any other company utilizing voice recognition technology) may have specific rules for its data inputs (healthcare ID, insurance ID, etc.) and these rules, or characteristics, can be sent to the system performing method 100. In some embodiments, the system performing method 100 is also the client, so the characteristics can be pre-determined and input into the system.

[0031] Method 100 includes an act 125 of generating a language model based on the metadata. The language model, in some embodiments, may be a model for translating speech input to text. As discussed herein, the received data input (at act 110) may have been translated into text using conventional methods, but these conventional methods may not be very accurate in their translation, particularly for alphanumeric data input. Thus, to more accurately translate speech to text, a language model may be generated (and trained as discussed at act 145). This language model, particularly once trained, may be used in future speech recognition situations to translate speech to text. Additionally, the language model may be used to modify the translation of the data input received at act 110.

[0032] In some embodiments, the language model is a machine learning model. In some cases, the language model can be a regular expression (regex) algorithm. The regex algorithm can match each character in the expression with a meaning. For example, using the above example of MBI, the regex algorithm can match each character with its corresponding characteristic (e.g., associated with its position: C, A, N, or AN). In some cases, the language model can be a rule match algorithm. The rule match algorithm can efficiently apply or match many rules or patterns to many characters. For example, again using the above example of MBI, the rule match algorithm can match the rule that the character must be a digit to positions C and N. The rule algorithm can also match the rule that the character must be a letter to positions A and AN. In some cases, the rule match algorithm can continue to match rules to positions until all rules have been matched. In some embodiments, the language model is a speech to text grammar model.

[0033] In some embodiments, generating the language model includes creating a language model that indicates a relationship between the metadata (regarding characteristics of the data input) and the data input. For example, if the data input is a 4-digit PIN number, the characteristics of the data input may include that each character (or position) of the PIN number is a number / digit. The language model may indicate the relationship between the PIN number and the metadata (characters being numbers / digits). In another example, if the data input is an MBI, the language model may indicate a relationship between the first character and metadata indicating that the first character must be a number between 1-9. The language model may also indicate a relationship between the second character and metadata indicating that the second character must be a letter between A-Z (and similarly for each other character of the MBI). In some embodiments, the language model may indicate a relationship between the metadata and a segmented n-gram of the data input. Generating the language model may include mapping a relationship between each component of the data input and the metadata.

[0034] The method 100 includes an act 130 of generating a first set of language model variations of the data input. The first set of language model variations may be possible variations of characters and / or positions that may satisfy the metadata criteria for the characteristic. For example, the first set of language model variations may be possible variations of characters / positions that still comply with the language model. For example, if the data input is a PIN number (e.g., a four-digit numeric code) "1123," then each position of the PIN number may be a digit between 0 and 9. Since there are ten possible numbers (0-9) for each four-digit number, the first set of language model variations may include ten thousand (10,000) possible variations of the character / position that still comply with the language model. 4) variations may be present. The set of 10,000 variations may include "1111," "1112," "1113," "1234," "2211," etc. until all possible variations of the four-digit numeric code are enumerated in the set. In some embodiments, generating the first set of model variations is based on at least the metadata and the predetermined rules.

[0035] Generating a first set of language model variations of a data input is described further herein and shown in FIG.

[0036] In some embodiments, the method 100 further includes an operation 135 of generating a second set of language model variations. In some embodiments, generating the second set of language model variations uses common user metadata. The common user metadata can be common speech patterns, phrases, words, terms, etc. The second set of language model variations can include possible variations of a data input based on common speech patterns. Continuing with the previous example, let the data input be a four-digit PIN number "1123". The first set of language model variations can include the set of ten thousand variations described above. The common speech patterns can be used to determine the second set of language model variations. Common speech patterns specific to 1123 can include saying "11" as "eleven", saying "11" as "one, one", saying "23" as "twenty-three", saying "23" as "two, three", saying "12" as "twelve", etc. Thus, in this example, the set of second language model variations includes at least "one, one, two, three", "eleven, two, three", "eleven, twenty three", "one, one, twenty three", "one, twelve, three", etc. In some embodiments, common user metadata may be collected and learned using machine learning.

[0037] In some embodiments, the method 100 further includes an operation 140 of creating prepended text and appended text for a subset of the first and second sets of language model variations. Prepended text may be text entered before data entry. For example, using the PIN number example above, a user may state (spoken): "my PIN number is 1123." The text "my PIN number is" may be the prepended text. Postpended text may be text entered after data entry. For example, with the same PIN number example, a user may state: "1123 is my PIN number." The text "is my PIN number" may be the postpended text. Prepended and appended text may be created using historical text data entry (e.g., obtained using conventional methods). In some cases, the pre- and post-text is created using speech data relating to common sound patterns.

[0038] Creating the pre- and post-text may include creating sample pre- and post-text that may be used in the data input based on a subset of the first set of language model variations and the second set of language model variations. For example, if the data input is a four-digit PIN number, the first set of language model variations may include ten thousand possible variations of the PIN number. Sample pre-text (such as "my PIN number is...") and sample post-text (such as "... is my PIN number") may not necessarily need to be generated for each of the ten thousand variations of the first set of language model variations. Pre- and post-text may become very repetitive if generated for each of the ten thousand variations. Thus, the pre- and post-text may be generated for, for example, a subset of one thousand randomly selected variations (out of the ten thousand variations). One variation may have preface text like "This is my PIN number...", another may have preface text "ready? OK, it is,...", and another may simply have preface text "it is,." To increase the efficiency of creating preface and posttext, only a subset of the language model variations may be used (as fewer variations may be needed to review).

[0039] In some embodiments, creating the pre-text and post-text includes analyzing common user metadata. As discussed herein, common user metadata can be common speech patterns, phrases, words, terms, etc. used by users. Analyzing the common user metadata can indicate which phrases (e.g., numeric, or alphanumeric, pre- or post-pending or pre- and post-pending to a data input) may be used with the data input.

[0040] In some embodiments, creating the pre-text and post-text includes determining common pre- and post-phrases to be used when the speech is input based on the analysis. In some embodiments, the system has access to historical input data. The historical input data may include past data regarding inputs submitted by users (e.g., via speech). The historical input data may be used together with common user metadata to determine common phrases to pre-, post-, or pre- and post-insert to the data input.

[0041] In some embodiments, creating the pre-text and post-text includes generating a plurality of template sentences for subsets of the first and second sets of language model variations. In some embodiments, a random subset of the first set of language model variations and a random subset of the second set of language model variations may be selected. For each language model variation (from the subsets), a template sentence (having pre-text or post-text or both) may be generated. For example, for a language model variation (e.g., PIN number 1111) that is a subset of the first set of language model variations, the template sentence may be "eleven-eleven is my PIN."

[0042] Method 100 includes an operation 145 of training a language model based on at least a first set of language model variations. The initially generated language model (generated at operation 125) may be generated based on the data input itself along with general rules, requirements, characteristics, etc. for the data input (as indicated by the metadata received at operation 120). The initially generated language model may not have considered all possible specific variations for that data input. For example, a data input (if spoken) may be "one hundred seventy five" and characteristics for the data input may include that the data input is a five-digit PIN number. An initial speech to text translation (e.g., done using traditional methods) may translate that speech as "175." The initially generated language model may correct that data input to "00175" because five digits are required (based on the metadata). However, in this example, the user may have intended to communicate that the data input was "10075." In this example, all possible variations of a five-digit PIN number may be the first set of language model variations. Training a language model based on these variations may include having the model learn each possible variation of the five-digit PIN. In this manner, the trained language model may identify that a possible alternative translation for the speech input is "10075" (identified in operation 150 using the model trained in operation 145). This alternative may not have been identified using the original learning model, and thus, in this example, the trained model may be more accurate. The first set of language variations that includes possible variations for the data input may help train the model to accurately identify and translate the speech data input, as the language model may learn all possible variations for the data input, or at least a large amount of possible variations.

[0043] In some embodiments, when the method 100 includes operations 135 and 140, training the language model can be further based on a second set of language model variations and the pre-text and post-text. The second set of language variations can include variations of the data input based on common speech patterns, and the pre-text / post-text can include possible text / audio in addition to the required data input. Training the language model using the first set of language model variations, the second set of language model variations, and the pre-text / post-text allows the language model to learn possible variants and speech habits that may occur when data is being input, and thus allows the language model to more accurately translate the speech input into text.

[0044] In some embodiments, an acoustic model may also be generated and trained using the first set of language variations, the second set of language variations, the pre- and post-text, and the data input. The acoustic model may indicate relationships between linguistic units (such as phonemes) and the speech input. In some embodiments, the acoustic model may be generated based on a voice recording of the data input and a text transcript. The model may then be trained using the first set of language variations, the second set of language variations, the pre- and post-text, and the data input. In some cases, the language model (generated in operation 125) may also be used to train the acoustic model.

[0045] Method 100 includes an operation 150 of generating one or more alternatives for the data input using the trained language model. In some embodiments, operation 150 also uses a trained acoustic model. In some embodiments, the one or more alternatives for the data input include one or more possible (alternative) translations of a particular speech input. For example, a user may say (e.g., into a telephone) "my date of birth is January 8, 1974." The initial data input may translate that speech into the text "my date of birth is January H 1970 For." The initial data input may have errors such as "8" becoming "h" and "4" becoming "for." The trained learning model may be used to generate alternatives such as "January A, 1974," "January 8, 1970, for," and "January 8, 1974." In some instances, as a language model is continually learned and trained, the model may become increasingly accurate in properly identifying / translating data inputs. In some instances, only the alternative "January 8, 1974" may be generated (e.g., if the model is sufficiently trained).

[0046] Method 100 includes an act 155 of transmitting an output including one or more alternatives for the data input. In some embodiments, the output may be transmitted to a client. The client may be an intermediary between a user and a speech recognition system (e.g., as depicted in FIG. 3). In some embodiments, the client is part of a system that executes method 100, so that the output may be transmitted to a different component of the system, for example, a component that may directly receive speech input from various users.

[0047] 2, a flowchart is depicted illustrating a method 200 for generating a set of language model variations, according to some embodiments. In some embodiments, method 200 may correspond to operation 130 (FIG. 1).

[0048] Method 200 includes an act 210 of determining a number of possible variations for the data input. In some embodiments, determining the number of possible variations is based on the total number of positions, or characters, required for the data input (e.g., as indicated by metadata regarding the characteristics of the data input). For example, a data input indicating a PIN number may have four positions required (because the PIN may be a four-digit PIN number). Because the PIN number may consist only of numbers, each position may have a digit between 0 and 9 (i.e., ten possible digits). Thus, in this example, the total number of possible variations is 10 4 , which means there could be 10,000 variations.

[0049] In the 11-position MBI example above, each MBI position may have a different rule. For example, (based on the unique MBI rule mentioned above), the first position (numbers 1-9) may have 9 possible numbers, the second position may have 20 possible letters, the third position may have 2 possible letters, the fourth position may have 10 possible numbers, the fifth position may have 20 possible letters, the sixth position may have 2 possible letters, the seventh position may have 10 possible numbers, the eighth position may have 20 possible letters, the ninth position may have 20 possible letters, the tenth position may have 10 numbers, and the eleventh position may have 10 possible numbers. As a result, there may be approximately 80 trillion possible variations in total.

[0050] Method 200 includes an act 220 of determining whether the amount of variation is a small number of variations. In some embodiments, a small number of variations is based on a threshold predetermined by the client. What is considered a "small" number of variations may depend on the use case. For example, in some use cases, a small number of variations may be less than 1 million variations. In other use cases, a small number of variations may be less than 5 million variations.

[0051] In some embodiments, determining whether the number of possible variations is a small number of variations includes comparing the number of possible variations to a threshold number of variations If the number of possible variations is greater than the threshold number of variations, the number of variations may be a large (i.e., not a small) number of variations.

[0052] If the number of possible variations is determined to be a small number of variations, the method 200 may proceed to operation 230 and generate all possible language model variations. For example, continuing with the previous PIN number example, the 10,000 possible PIN number variations may be the small number of variations because 10,000 possible PIN number variations is less than 1 million variations. Thus, all 10,000 possible PIN number variations may be generated. These may include variations such as "1111", "1122", "2222", "2233", "3333", "3344", "4444", "4455", "5555", "5566", "6666", "7777", "8888", "9999", etc.

[0053] If it is determined that the number of possible variations is not large or small, the method 200 may proceed to operation 235 and generate a reduced number of variations for the data input based on n-gram chunks. For example, as discussed herein, the data input for the MBI may have 80 trillion possible variations, which may be determined to be a large (i.e., not small) number of variations. Thus, all possible variations of the 80 trillion variations may not be generated. Instead, variations may be generated based on n-gram chunks. For example, the data input may be segmented into 4-gram chunks. Since the data input for the MBI is alphanumeric, there may be 36 possible characters (26 letters (A-Z) and 10 numbers (0-9)). The reduced number of variations for the alphanumeric data input segmented into 4-gram chunks may be 36. 4 , or about 1.7 million variations. For data inputs segmented into 5-gram chunks, the reduced number of variations for an alphanumeric data input is 36 5 , which means approximately 60 million possible variations.

[0054] In some embodiments, when all possible language model variations have been generated (e.g., at operation 230), it is determined which language model variations include numbers with alternate words (after alternate words are generated at operation 240). For each language model variation that includes a number, additional variations can be generated by replacing the number with the alternate word. For example, for each variation that includes a 0, additional variations can be generated that replace the "0" with "oh" or the letter "O".

[0055] In some embodiments, when a reduced number of variations are generated (e.g., in act 235), it is determined which language model variations (of the reduced number of variations) contain numbers with alternative words (after alternative words are generated in act 240). For each language model variation that contains numbers, additional variations can be generated by replacing the numbers with the alternative words.

[0056] The method 200 includes an act of generating 240 alternative words or text that can represent the numbers (based on a common digit pattern). For example, the word "oh" may be used to represent the number 0. The common digit pattern may be determined based on historical data. The common digit pattern may be a common alternative pronunciation for the numbers or digits or both. For example, the digit 0 may be pronounced as "oh" or "zero." The number 100 may be pronounced as "a hundred," "one hundred," etc. Generating the alternative words may include generating additional language model variations with common alternative pronunciations.

[0057] Referring to Figure 3, a schematic diagram of an exemplary speech recognition environment 300 is depicted, according to some embodiments. The speech recognition environment can include a user 305, a telephone device 310, a client 320, and a speech recognition system 330. In some embodiments, the speech recognition system 330 includes a computer system 500 (Figure 5). The speech recognition system 330 can, in some embodiments, perform the method 100 of Figure 1 (and the method 200 of Figure 2). The speech recognition system 330 includes a speech to text module 332, a segmentation module 334, and a machine learning module 336.

[0058] In some embodiments, a user 305 is speaking into a telephone 310. Speech can be forwarded from the telephone 310 to a client 320. The client 320 can forward the speech input to a speech to text module 332. In some embodiments, the speech to text module 332 can receive the speech input (e.g., operation 110 of FIG. 1) and translate the speech input into text. The text input can then be forwarded to a segmentation module 334, which can perform, for example, operations 115 and 120 of FIG. 1. The segmented data input (operation 115 (FIG. 1)) can be forwarded to a machine learning module 336, which can perform, for example, operations 125-155 of method 100 (FIG. 1). The machine learning module 336, in some embodiments, can send an output back to the client 320. In some embodiments, the machine learning module also transmits an updated (e.g., trained) learning model to the speech to text module 332.

[0059] In some embodiments, the client may be the owner of the speech recognition system 330. Thus, the client 320 may in some embodiments not be included in the speech recognition environment 300. In these cases, the speech input (from the phone 310) may go directly to the speech to text module 332.

[0060] Referring to FIG. 4, a schematic diagram of an exemplary speech to text environment 400 utilizing 4-gram chunks is depicted, according to some embodiments. The speech to text environment 400 can include a user 405 speaking a speech input 407 (which in this example is an MBI) into a telephone 410. In some embodiments, the user 405 and the telephone 410 can correspond to the user 305 and the telephone 310 of FIG. 3. The speech input 407 can be forwarded to a text module 432, which can translate the speech input 407 into a data input (i.e., text input) 433. The data input 433 can be forwarded to a segmentation module 434, which can segment the data input 433 into 4-gram chunks. The 4-gram chunks of the data input 433 include 1AA0, AA0A, A0AA, 0AA0, AA0A, A0AA, 0AA0, and AA00. Segmenting the data input 433 into 4-gram chunks may include starting with a first position of the data input 433 and selecting the next three positions (not including the first position), which may be the initial 4-gram chunk. Segmenting the data input 433 may further include starting with a second position of the data input 433 and selecting the next three positions (not including the second position). This may be repeated until all positions of the data input 433 have been segmented.

[0061] The speech to text module 432 and the segmentation module 434 may be part of a speech recognition system 430. In some embodiments, the speech to text module 432, the segmentation module 434, and the speech recognition system 430 correspond to the speech to text module 332, the segmentation module 334, and the speech recognition system 330, respectively (FIG. 3).

[0062] Referring to FIG. 5, a schematic diagram of an exemplary speech to text environment 500 utilizing 5-gram chunks is depicted, according to some embodiments. The speech to text environment 500 can include a user 505 speaking speech input 507 (which in this example is an MBI) into a telephone 510. In some embodiments, the user 505 and telephone 510 can correspond to the user 305 and telephone 310 of FIG. 3. The speech input 507 can be forwarded to a text module 532, which can translate the speech input 507 into a data input (i.e., text input) 533. The data input 533 can be forwarded to a segmentation module 534, which can segment the data input 533 into 5-gram chunks. The 5-gram chunks of the data input 533 include 1AA0A, AA0AA, A0AA0, 0AA0A, AA0AA, A0AA0, and 0AA00. Segmenting the data input 533 into 5-gram chunks may include starting at a first position of the data input 533 and selecting the next four positions (not including the first position), which may be the initial 5-gram chunk. Segmenting the data input 533 may further include starting at a second position of the data input 533 and selecting the next four positions (not including the second position). This may be repeated until all positions of the data input 533 have been segmented.

[0063] The speech to text module 532 and the segmentation module 534 may be part of a speech recognition system 530. In some embodiments, the speech to text module 532, the segmentation module 534, and the speech recognition system 530 correspond to the speech to text module 332, the segmentation module 334, and the speech recognition system 330, respectively (FIG. 3).

[0064] 6, according to some embodiments, computer system 600 includes computer system / server 602 shown in the form of a general purpose computing device. In some embodiments, computer system / server 602 is located on the linking device. In some embodiments, computer system 602 is connected to the linking device. Components of computer system / server 602 may include, but are not limited to, one or more processors or processing units 610, a system memory 660, and a bus 615 that couples various system components including the system memory 660 to the processor 610.

[0065] Bus 615 represents any one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example and not limitation, such architectures include Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MCA) bus, Enhanced ISA (EISA) bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnects (PCI) bus.

[0066] Computer system / server 602 typically includes a variety of computer system readable media. Such media may be any available media that can be accessed by computer system / server 602 and includes both volatile and nonvolatile media, removable and non-removable media.

[0067] The system memory 660 may include computer system readable media in the form of volatile memory such as random access memory (RAM) 662 or cache memory 664 or both. The computer system / server 602 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, the storage system 665 may be provided for reading from and writing to a non-removable, non-volatile magnetic medium (not shown, typically referred to as a "hard drive"). Although not shown, a magnetic disk drive may also be provided for reading from and writing to a removable, non-volatile magnetic disk (e.g., a "floppy disk"), and an optical disk drive may also be provided for reading from or writing to a removable, non-volatile optical disk, such as a CD-ROM, DVD-ROM, or other optical media. In such cases, each may be connected to the bus 615 by one or more data media interfaces. As further depicted and described below, the memory 660 may include at least one program product having a set (e.g., at least one) of program modules configured to perform the functions of embodiments of the present disclosure.

[0068] Programs / utilities 668 having a set (at least one) of program modules 669 can be stored in memory 660 along with, by way of example and not limitation, an operating system, one or more application programs, other program modules, and program data. Each of the operating system, one or more application programs, other program modules, and program data, or any combination thereof, may include implementations of a network environment. The program modules 669 generally perform the functions and / or methodologies of embodiments of the invention described herein.

[0069] The computer system / server 602 may also communicate with one or more external devices 640, such as a keyboard, pointing device, display 630, one or more devices that allow a user to interact with the computer system / server 602, or any device that allows the computer system / server 602 to communicate with one or more other computer devices (e.g., network card, modem, etc.), or combinations thereof. Such communication may occur via an input / output (I / O) interface 620. The computer system / server 602 may also communicate with one or more networks, such as a local area network (LAN), a general wide area network (WAN), or a public network (e.g., the Internet), or combinations thereof, via a network adapter 650. As shown, the network adapter 650 communicates with other components of the computer system / server 602 via a bus 615. It should be understood that other hardware and / or software components, not shown, may be used with the computer system / server 602. Examples include, but are not limited to, microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data archive storage systems.

[0070] The present invention may be a system, method, or computer program product, or combination thereof, at any possible level of technical detail of integration. The computer program product may include one or more computer-readable storage media having computer-readable program instructions for causing a processor to carry out aspects of the present invention.

[0071] A computer readable storage medium may be a tangible device capable of holding and storing instructions for use by an instruction execution device. A computer readable storage medium may be, for example, but not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the above. A non-exhaustive list of more specific examples of computer readable storage media includes portable computer diskettes, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), static random access memory (SRAM), portable compact disk read only memory (CD-ROM), digital versatile disk (DVD), memory stick, floppy disk, mechanical coding devices such as punch cards or raised groove structures having instructions recorded thereon, and any suitable combination of the above. Computer-readable storage medium, as used herein, should not be construed as a transitory signal per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission medium (e.g., light pulses through a fiber optic cable), or electrical signals transmitted through electrical wires.

[0072] The computer readable program instructions described herein may be downloaded from a computer readable storage medium into each computing / processing device or may be downloaded to an external computer or storage device, for example, via the Internet, a local area network, a wide area network, or a wireless network, or a combination thereof. The network may include copper transmission cables, optical transmission fiber, wireless transmission, routers, firewalls, switches, gateway computers, or edge servers, or a combination thereof. A network adapter card or network interface in each computing / processing device receives the computer readable program instructions from the network and transfers the computer readable program instructions to a computer readable storage medium in the respective computing / processing device for storage.

[0073] The computer readable program instructions for carrying out the operations of the present invention may be either assembler instructions, instruction set architecture (ISA) instructions, machine language instructions, machine dependent instructions, microcode, firmware instructions, state setting data, configuration data for an integrated circuit, or source or object code written in any combination of one or more programming languages, including object oriented programming languages ​​such as Smalltalk or C++, and traditional procedural programming languages ​​such as the "C" programming language or similar programming languages. The computer readable program instructions may be executed entirely on the user's computer, partially on the user's computer as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or wide area network (WAN), or a connection to an external computer may be made (e.g., through the Internet using an Internet Service Provider). In some embodiments, electronic circuitry including, for example, a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA) can execute computer readable program instructions by utilizing state information of the computer readable program instructions to individualize the electronic circuitry to perform aspects of the invention.

[0074] Aspects of the present invention are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer readable program instructions.

[0075] These computer-readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, whereby the instructions executed by the processor of the computer or other programmable data processing apparatus create means for implementing the functions / operations specified in one or more blocks of the flowcharts and / or block diagrams. These computer-readable program instructions may also be stored in a computer-readable storage medium capable of directing a computer, programmable data processing apparatus, or other device, or combination thereof, to function in a particular manner, whereby the computer-readable medium having instructions stored therein may comprise an article of manufacture including instructions that implement aspects of the functions / operations specified in one or more blocks of the flowcharts and / or block diagrams. The computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other device to generate a computer-implemented process, whereby the instructions executed on the computer, other programmable data processing apparatus, or other device implement the functions / operations specified in one or more blocks of the flowcharts and / or block diagrams.

[0076] The flowcharts and block diagrams in the drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowcharts or block diagrams may represent a module, segment, or part of instructions, including one or more executable instructions for implementing the specified logical function. In some alternative implementations, the functions noted in the blocks may be performed in a different order than that noted in the figures. For example, two blocks shown in succession may in fact be executed substantially simultaneously, or these blocks may sometimes be executed in the reverse order, depending on the functionality involved. It should also be noted that each block of the block diagrams and / or flowchart illustrations, and combinations of blocks in the block diagrams and / or flowchart illustrations, may be implemented by a dedicated hardware-based system that performs the specified functions or operations, or may execute a combination of dedicated hardware and computer instructions.

[0077] The description of various embodiments of the present invention is presented for illustrative purposes, but is not intended to be exhaustive or limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope of the described embodiments. The terms used in this specification are selected to best explain the principles of the embodiments, practical applications, or technical improvements over the art found in the market, or to enable those skilled in the art to understand the embodiments disclosed herein.

Claims

1. A method implemented by a computer-based information processing system, comprising the steps of: Segmenting the data input received through speech recognition into sequential n-gram chunks based on predetermined rules; receiving metadata regarding characteristics of the data input; generating a language model based on the metadata; generating a first set of language model variations of the data input; training the language model based on at least a first set of language model variations; generating one or more alternatives for the data input using the trained language model; transmitting an output including the one or more alternatives for the data input; and A method comprising:

2. The method of claim 1 , wherein generating the first set of language model variations is based on at least the metadata and the predetermined rules.

3. generating a second set of language model variations using common user metadata in response to generating the first set of language model variations; generating pre-text and post-text for a subset of the first and second sets of language model variations; The method of claim 2 , further comprising:

4. The method of claim 3 , wherein training the language model is further based on the second set of language model variations, the preface text, and the postface text.

5. Creating the pre-text and the post-text, analyzing the common user metadata; determining common pre-phrases and post-phrases that are used when speech is input based on said analysis; generating a plurality of template sentences for the subset of the first and second sets of language model variations; The method of claim 3 or claim 4, comprising:

6. generating the first set of language model variations; Determining the number of possible variations for said data input. The method of any one of claims 1 to 5, comprising:

7. determining that a number of possible variations for the data input is below a threshold number of variations; generating all possible language model variations of the data input in response to said determining; The method of claim 6 further comprising:

8. determining that a number of possible variations of the data input exceeds a number of variations threshold; generating a reduced number of variations for the data input based on the n-gram chunks in response to the determining; The method of claim 6 further comprising:

9. generating a first set of language model variations of the data input; Generating alternative words that can represent numbers based on common digit patterns The method of claim 6, comprising:

10. The method according to any of claims 1 to 9, wherein the n-gram chunk is one of a 4-gram chunk and a 5-gram chunk.

11. The method of any of claims 1 to 10, wherein the language model is a speech to text grammar model.

12. 1. A system having one or more computer processors, comprising: Segmenting the data input, which is a transcript of the speech to text, into sequential n-gram chunks based on predetermined rules; receiving metadata regarding characteristics of the data input; generating a language model based on the metadata; generating a first set of language model variations of the data input; training the language model based on at least the first set of language model variations; generating one or more alternatives for the data input using the trained language model; Transmitting an output including said one or more alternatives for said data input. A system configured as follows.

13. The system of claim 12 , wherein generating the first set of language model variations is based on at least the metadata and the predetermined rules.

14. generating a second set of language model variations using common user metadata in response to generating the first set of language model variations; generating pre-text and post-text for a subset of the first and second sets of language model variations; The system of claim 13 further configured to:

15. 15. The system of claim 14, wherein training the language model is further based on the second set of language model variations, the preface text, and the postface text.

16. Creating the pre-text and the post-text, analyzing the common user metadata; determining common pre-phrases and post-phrases that are used when speech is input based on said analysis; generating a plurality of template sentences for the subset of the first and second sets of language model variations; 16. The system of claim 14 or claim 15, comprising:

17. 1. A computer readable storage medium having stored thereon a computer program for recognizing alphanumeric voice data input in a speech to text system, comprising: A computer readable storage medium readable by a processing circuit and storing instructions for execution by said processing circuit to perform the method of any of claims 1 to 11.

18. A computer program loadable into the internal memory of a digital computer, comprising software code portions which, when said computer program is run on a computer, cause said computer to carry out the method according to any of claims 1 to 11.

Citation Information

Patent Citations

  • Voice recognizing method and voice service device

    JP2000047684A

  • Language model based on speech recognition history

    JP2002533771A

  • Method for determining entry of database

    JP2003029784A

  • Voice data recognition system and voice data recognition method

    JP2015049254A

  • Speaker authentication method and speech recognition system

    JP2019028464A