# Patent

## Title
Automatic accuracy estimation for audio transcriptions

## Abstract

Embodiments of the present invention provide an approach for estimating the accuracy of a transcription of a voice recording. Specifically, in a typical embodiment, each word of a transcription of a voice recording is checked against a customer-specific dictionary and/or a common language dictionary. The number of words not found in either dictionary is determined. An accuracy number for the transcription is calculated from the number of said words not found and the total number of words in the transcription.

## Background
The present patent document is a continuation of U.S. patent application Ser. No. 13/463,055, filed May 3, 2012, entitled “AUTOMATIC ACCURACY ESTIMATION FOR AUDIO TRANSCRIPTIONS”, the disclosure of which is incorporated herein by reference.


TECHNICAL FIELD
In general, embodiments of the present invention provide an approach for multimedia processing. Specifically, embodiments of the present invention relate to an approach for automatically estimating the accuracy level for audio transcriptions.
BACKGROUND
Recent advances in media conversion technology, such as speech-to-text conversion and optical character recognition (OCR), have made it possible for computers to perform tasks such as transcribing messages or documents dictated by a user. Dictation systems for personal computers are now fairly common. Also available are scanning or OCR systems that are capable of converting the content of a printed document into computer readable form. These systems, however, are sometimes inaccurate. The users often need to proofread and make corrections to the output of these systems.
Data entry personnel are currently utilized for the conversion of an audio message to a text message sent to a user's paging device. In such a system, a caller desiring to send a message telephones the user's paging service and communicates the message to a data entry employee of the paging service. This employee enters the message into a computer and then transmits it to the user's paging device. The text message entered by the employee of the paging service is then displayed on the display of the user's paging device. The use of human employees in the text entry and transcription of audio messages is expensive and inefficient. Current automated systems are not reliable and accurate enough to be used for a fully automated messaging or transcription system.
When documents are dictated and recorded as an audio file, a person transcribing the document plays the audio file and enters text representing the document recorded on the audio tape. The use of human employees in text entry and transcription of audio messages is expensive and inefficient. Automated speech-to-text conversion systems are also currently available to convert audio recordings into a text document. However, such conversion systems are inaccurate, requiring the users to proofread and make corrections to the output of the systems.
SUMMARY
In general, embodiments of the present invention provide an approach for estimating the accuracy of a transcription of a voice recording. Specifically, in a typical embodiment, each word of a transcription of a voice recording is checked against a customer-specific dictionary and/or a common language dictionary. The number of words not found in either dictionary is determined. An accuracy number for the transcription is calculated from the number of said words not found and the total number of words in the transcription.
A first aspect of the present invention provides a computer-implemented method for estimating the accuracy of a transcription of a voice recording, comprising: receiving the transcription; providing a customer specific dictionary; providing a dictionary of common language words; determining a number of inaccurate words in the transcription; determining a total number of words in the transcription; and calculating an accuracy number based on the number of inaccurate words and the total number of words.
A second aspect of the present invention provides a system for estimating the accuracy of a transcription of a voice recording, comprising: a memory medium comprising instructions; a bus coupled to the memory medium; and an audio transcription tool coupled to the bus that when executing the instructions causes the system to: receive the transcription; provide a customer specific dictionary; provide a dictionary of common language words; determine a number of inaccurate words in the transcription; determine a total number of words in the transcription; and calculate an accuracy number based on the number of inaccurate words and the total number of words.
A third aspect of the present invention provides a computer program product for estimating the accuracy of a transcription of a voice recording, the computer program product comprising a computer readable storage medium, and program instructions stored on the computer readable storage medium, to: receive the transcription; provide a customer specific dictionary; provide a dictionary of common language words; determine a number of inaccurate words in the transcription; determine a total number of words in the transcription; and calculate an accuracy number based on the number of inaccurate words and the total number of words.
A fourth aspect of the present invention provides a method for deploying a system for identifying commands for estimating the accuracy of a transcription of a voice recording, comprising: providing a computer infrastructure being operable to: receive the transcription; provide a customer specific dictionary; provide a dictionary of common language words; determine a number of inaccurate words in the transcription; determine a total number of words in the transcription; and calculate an accuracy number based on the number of inaccurate words and the total number of words.



BRIEF DESCRIPTION OF THE DRAWINGS
These and other features of this invention will be more readily understood from the following detailed description of the various aspects of the invention taken in conjunction with the accompanying drawings in which:
FIG. 1 shows a computerized implementation of the present invention.
FIG. 2 shows a more detailed view of an example audio transcription tool according to an embodiment of the present invention.
FIG. 3 shows a method flow diagram for estimating the accuracy of a transcription of a voice recording according to an embodiment of the present invention.
FIG. 4 shows a method flow diagram for assigning a confidence level to information extracted from a transcript of a voice recording according to an embodiment of the present invention.



The drawings are not necessarily to scale. The drawings are merely schematic representations, not intended to portray specific parameters of the invention. The drawings are intended to depict only typical embodiments of the invention, and therefore should not be considered as limiting the scope of the invention. In the drawings, like numbering represents like elements.
DETAILED DESCRIPTION
Embodiments of the present invention provide an approach for estimating the accuracy of a transcription of a voice recording. Specifically, in a typical embodiment, each word of a transcription of a voice recording is checked against a customer-specific dictionary and/or a common language dictionary. The number of words not found in either dictionary is determined. An accuracy number for the transcription is calculated from the number of said words not found and the total number of words in the transcription.
FIG. 1 illustrates a computerized implementation 100 of the present invention. As depicted, implementation 100 includes computer system 104 deployed within a computer infrastructure 102. This is intended to demonstrate, among other things, that the present invention could be implemented within a network environment (e.g., the Internet, a wide area network (WAN), a local area network (LAN), a virtual private network (VPN), etc.), or on a stand-alone computer system. In the case of the former, communication throughout the network can occur via any combination of various types of communications links. For example, the communication links can comprise addressable connections that may utilize any combination of wired and/or wireless transmission methods. Where communications occur via the Internet, connectivity could be provided by conventional TCP/IP sockets-based protocol, and an Internet service provider could be used to establish connectivity to the Internet. Still yet, computer infrastructure 102 is intended to demonstrate that some or all of the components of implementation 100 could be deployed, managed, serviced, etc., by a service provider who offers to implement, deploy, and/or perform the functions of the present invention for others.
Computer system 104 is intended to represent any type of computer system that may be implemented in deploying/realizing the teachings recited herein. In this particular example, computer system 104 represents an illustrative system for constructing a SOA shared service. It should be understood that any other computers implemented under the present invention may have different components/software, but will perform similar functions. As shown, computer system 104 includes a processing unit 106, memory 108 for storing an audio transcription tool 153, a bus 110, and device interfaces 112.
Processing unit 106 collects and routes signals representing outputs from external devices 115 (e.g., a keyboard, a pointing device, a display, a graphical user interface, etc.) to audio transcription tool 153. The signals can be transmitted over a LAN and/or a WAN (e.g., T1, T3, 56 kb, X.25), broadband connections (ISDN, Frame Relay, ATM), wireless links (802.11, Bluetooth, etc.), and so on. In some embodiments, the signals may be encrypted using, for example, trusted key-pair encryption. Different external devices may transmit information using different communication pathways, such as Ethernet or wireless networks, direct serial or parallel connections, USB, Firewire®, Bluetooth®, or other proprietary interfaces. (Firewire is a registered trademark of Apple Computer, Inc. Bluetooth is a registered trademark of Bluetooth Special Interest Group (SIG)).
In general, processing unit 106 executes computer program code, such as program code for operating audio transcription tool 153, which is stored in memory 108 and/or storage system 116. While executing computer program code, processing unit 106 can read and/or write data to/from memory 108, common language dictionary 116, customer specific dictionary 117, and a knowledge base (KB) 118. Common language dictionary 116, customer specific dictionary 117, and a knowledge base (KB) 118 can include VCRs, DVRs, RAID arrays, USB hard drives, optical disk recorders, flash storage devices, or any other similar storage device. Although not shown, computer system 104 could also include I/O interfaces that communicate with one or more external devices 115 that enable a user to interact with computer system 104.
FIG. 2 shows a more detailed view of an example audio transcription tool 153. Audio transcription tool 153 includes an accuracy calculation component 170 which calculates an accuracy of a transcription of a voice recording. In addition, the audio transcription tool 153 includes a confidence level assignment component 172 which assigns a confidence level to the transcription.
To determine a confidence level, a common language dictionary 116 and/or a customer specific dictionary 117 may be used. The common language dictionary 116 may include a listing of correctly spelled words or character strings for a particular natural language (e.g., English). As used herein, the term “natural language” includes all punctuation, symbols, and numeric characters associated with a particular natural language. In some examples, more than one common language dictionary may be used.
The customer specific dictionary may include a listing of useful terms in the customer domain. For example, a customer in a hardware/power tool line may be provided one or more lists of products (obtained via a database). In some examples, more than one customer specific dictionary may be used. In addition, one or more spell checkers may be used.
Knowledge base 118 may store various forms of knowledge. For example, knowledge base 118 may include automotive product information and customer shipping information. Knowledge base 118 is a collection of knowledge stored in the form of “axioms”. An axiom is a statement or proposition that is regarded as being established, accepted, or self-evidently true. For example, storing genealogy information may include the following axioms:

    
    
        Father(Bill, Sara)
        Father(John, Bill)
        Grandfather(x, z):=Father(x, y), Father(y, z)
    
    


The axioms listed above relate that Bill is the father of Sara, John is the father of Bill, and John is also the grandfather of Sara. Typically in building a KB (Knowledge Base), axioms are automatically extracted from data sources. Data sources are often free-form text. The process of extraction requires NLP (Natural Language Processing) to interpret a data source and find potential axioms in the data source. Axioms that are automatically discovered have a confidence level associated with them. An axiom of lowest confidence might be rated a “1” and an axiom of highest confidence might be rated a “10”. Confidence levels may be used because several potential answers may exist when a KB is used to answer a question. The KB cannot determine which answer is correct, but can assign probabilities to the list (e.g., answer choice 1 has highest probability of 63%, answer choice 2 is 20%, answer choice 1 is 17%).
Consider a customer support center that receives many customer support calls. Each of the calls are to be transcribed. The calls are transcribed to text using software and recognized processes. However, the accuracy of the transcription may vary. Accuracy plays a large part in determining confidence levels. Confidence levels are relied upon by the KB to return accurate responses to a user. If a transcript is inaccurate, an attempt is still made to extract axioms. A low confidence level may be associated with these extracted axioms. If a transcript is accurate, a high confidence level may be associated with any extracted axioms from the transcript.
FIG. 3 shows a method flow diagram for estimating the accuracy of a transcription of a voice recording according to an embodiment of the present invention. At step S1, a common language dictionary 116 is provided. At step S2, a customer specific dictionary 117 is provided. At step S3, each word in the transcription of a voice recording are checked to determine whether the word exists in the common language dictionary 116 and/or the customer specific dictionary 117. In some examples, a spell check function is also performed on each word.
Any word that is not located in a dictionary and/or fails the spell check is determined to be an inaccurate word. For example, the word may be misspelled. The greater the number of inaccurate words, the more inaccurate the transcript. In step S4, an accuracy percentage may be calculated by simply dividing the number of accurate words by the total number of words in the transcript. In one example, longer words may be given more weight (e.g., words exceeding a predefined number of characters). The weighting is based on the assumption that longer words are more relevant. A Gaussian function may then be used to find an expected value and variance of each transcript per accuracy. A confidence level may be based on the output of the function.
FIG. 4 shows a method flow diagram for assigning a confidence level to information extracted from a transcript of a voice recording according to an embodiment of the present invention. In step S10, the transcript text of a voice recording is received. In step S11, an axiom related to the transcript text is extracted from a source. In step S12, a confidence level of the source is determined. In step S13, a confidence level is assigned to the axiom based on the confidence level of the source. In typical examples, more than one axiom is extracted related to the transcript text.
Axioms are used in the computation when performing audio-to-text transcribing to return results having confidence levels associated with them. The use of axioms in the computation increases the likelihood that at least one returned response to a question is an acceptable answer.
Below is an example of how the present invention may be used by an example company (e.g., company ABC) having the following business case. Company ABC has millions of products and cannot compete on the value of price. Company ABC encourages customers to call in and get world-class customer support from customer service agents (CSAs) prepared to answer any question regarding any matter related to the company. The company also allows CSAs to ship any part to any destination within 24 hours at no cost to the customer.
Two levels of technical support exist at company ABC: L1 and L2. L1 may have new employees and trainees and is only prepared to take easier calls. The L1 agents defer the more difficult calls to the L2 agents. L2 contains the more veteran employees who are prepared to answer any question. Company ABC wants to build a knowledge base (KB) that captures knowledge and information about products and how they are used. The goal is to keep the L1 agents from deferring calls to the L2 agents by allowing the L1 agents to query the KB to answer any difficult questions.
A customer calls the customer support line at Company ABC and says “I want a caulk for my kitchen”. An L1 agent is unsure how to answer and decides to query the KB. The L1 agent manually types in “caulk for kitchen” or “I want a caulk for my kitchen”, or the like. The KB brings back a response indicating three items that match the query. The L1 agent describes the results (i.e., the three items) to the customer, the customer chooses one of the items (e.g., caulk XYZ) and the call is closed.
There is no place within the structured company ABC databases that states that caulk XYZ is “for use in kitchens”. If that data existed, then a search engine could return a result to the L1 agent. Rather, the structured company ABC data states that caulk XYZ meets the regulation 21 CFR 177.2600 specification (i.e., regulation number) and is used to get to the functional use (i.e., used in kitchens). CFR (Code of Federal Regulations) Title 21 is reserved for rules of the Food and Drug Administration. Unstructured data crawling is used to extract the following:

    
    
        21 CFR 2700.600 has Agency FDA
        21 CFR 2700.600 has Topic Indirect Food Application
        Indirect Food Application has Preferred Synonym Food Grade
        Indirect Food Application has Environment Kitchen
    
    


Each statement in the preceding extracted data list is an axiom. Each axiom comes from a different source. For example, sources may include PDFs, web pages, web forums, speech-to-text transcripts, and the like. In other words, anything that contains ASCII text may be a source candidate. A confidence level may be generated for each axiom because each source cannot be reviewed due the potential number of axioms and time constraints.
A confidence level is automatically associated with each source which corresponds to an axiom when an axiom is extracted from speech-to-text (as described earlier). Confidence level has to do with the confidence in the source data that the axioms come from. Using the examples from above, associated confidence levels for each source is shown in Table 1.










TABLE 1









21 CFR 2700.600 has Agency FDA
Confidence Level 5



21 CFR 2700.600 has Agency Topic 
Confidence Level 4



Indirect Food Application




Indirect Food Application has
Confidence Level 2



Preferred Synonym Food Grade




Indirect Food Application has
Confidence Level 3



Environment Kitchen










An algorithm using axioms in the computation to return final results to a customer adds the confidence levels together. The answer with the highest confidence level is most likely correct.
Further, it can be appreciated that the methodologies disclosed herein can be used within a computer system to provide an audio transcription service, as shown in FIG. 1. In this case, audio transcription tool 153 can be provided, and one or more systems for performing the processes described in the invention can be obtained and deployed to computer infrastructure 102. To this extent, the deployment can comprise one or more of (1) installing program code on a computing device, such as a computer system, from a computer-readable medium; (2) adding one or more computing devices to the infrastructure; and (3) incorporating and/or modifying one or more existing systems of the infrastructure to enable the infrastructure to perform the process actions of the invention.
The exemplary computer system 104 may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, people, components, logic, data structures, and so on that perform particular tasks or implements particular abstract data types. Exemplary computer system 104 may be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage medium including memory storage devices.
Furthermore, an implementation of exemplary computer system 104 may be stored on or transmitted across some form of computer readable media. Computer readable media can be any available media that can be accessed by a computer. By way of example, and not limitation, computer readable media may comprise “computer storage medium” and “communications media.”
“Computer storage medium” include volatile and non-volatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules, or other data. Computer storage medium includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer.
“Communication media” typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal, such as carrier wave or other transport mechanism. Communication media also includes any information delivery media.
The term “modulated data signal” means a signal that has one or more of its characteristics set or changed in such a manner as to encode information in the signal. By way of example, and not limitation, communication media includes wired media such as a wired network or direct-wired connection, and wireless media such as acoustic, RF, infrared, and other wireless media. Combinations of any of the above are also included within the scope of computer readable media.
It is apparent that there has been provided with this invention an approach for estimating the accuracy of a transcription of a voice recording. While the invention has been particularly shown and described in conjunction with a preferred embodiment thereof, it will be appreciated that variations and modifications will occur to those skilled in the art. Therefore, it is to be understood that the appended claims are intended to cover all such modifications and changes that fall within the true spirit of the invention.

## Claims

1. A computer-implemented method for estimating the accuracy of a transcription of a voice recording, comprising:
calculating an accuracy number by dividing a number of accurate words in the transcript on by a total number of words in the transcription;
assigning a greater weight to at least one word exceeding a predefined number of characters as compared to at least one other word below the predetermined number of characters;
automatically extracting using natural language processing, from a data structure that is one of a common language dictionary, customer specific dictionary or a knowledge base, a set of axioms associated with at least one of the words in the transcription, wherein the set of axioms comprises a computer-parsable definition of a relationship of data to the at least one of the words; and
assigning a confidence level to each axiom of the set of axioms based on a result of the dividing and the assigning of weight, wherein the confidence level is assigned based on an output of a Gaussian function applied to a result of the dividing and the assigning of weight.

2. The computer-implemented method of claim 1, further comprising determining a number of inaccurate words by identifying the number of words not found in either a customer specific dictionary or a dictionary of common language words.

3. The computer-implemented method of claim 1, further comprising determining a number of inaccurate words by indentifying the number of words determined to be spelled incorrectly.

4. The method of claim 1, further comprising assigning a greater weight to at least one word exceeding a predefined number of characters as compared to at least one other word below the predetermined number of characters.

5. The method of claim 1, further comprising retrieving, from a data structure, a set of axioms associated with at least one of the words in the transcription, wherein the set of axioms comprises a computer-parsable definition of a relationship of data to the at least one of the words.

6. The method of claim 4, further comprising assigning a confidence level to each axiom of the set of axioms.

7. The method of claim 1, wherein a solution service provider provides a computer infrasture operable to perform the method.

8. A system for estimating the accuracy of a transcription of a voice recording, comprising:
a memory medium comprising instructions; a bus coupled to the memory medium; and
an audio transcription tool coupled to the bus that when executing the instructions causes the system to:
calculate an accuracy number by dividing a number of accurate words in the transcription by a total number of words in the transcription;
assign a greater weight to at least one word exceeding a predefined number of characters as compared to at least one other word below the predetermined number of characters;
automatically extracting using natural language processing, from a data structure that is one of a common language dictionary, customer specific dictionary or a knowledge base, a set of axioms associated with at least one of the words in the transcription, wherein the set of axioms comprises a computer-parsable definition of a relationship of data to the at least one of the words; and
assign a confidence level to each axiom of the set of axioms based on a result of the dividing and the assigning of weight, wherein the confidence level is assigned based on an output of a Gaussian function applied to a result of the dividing and the assigning of the weight.

9. The system of claim 8, the memory medium further comprising instructions for causing the system to determine a number of inaccurate words by at least one of:
identifying the number of words not found in either a customer specific dictionary or a dictionary of common language words; or
determining a number of inaccurate words by indentifying the number of words determined to be spelled incorrectly.

10. The system of claim 8, the memory medium further comprising instructions for causing the system to assign a greater weight to at least one word exceeding a predefined number of characters as compared to at least one other word below the predetermined number of characters.

11. The system of claim 8, the memory medium further comprising instructions for causing the system to retrieve, from a data structure, a set of axioms associated with at least one of the words in the transcription, wherein the set of axioms comprises a computer-parsable definition of a relationship of data to the at least one of the word.

12. The system of claim 10, the memory medium further comprising instructions for causing the system to assign a confidence level to each axiom.

13. A computer program product for estimating the accuracy of a transcription of a voice recording, the computer program product comprising a non-transitory computer readable storage medium, and program instructions stored on the non-transitory computer readable storage medium, to:
calculate an accuracy number by dividing a number of accurate words in the transcription by a total number of words in the transcription;
assign a greater weight to at least one word exceeding a predefined number of characters as compared to at least one other word below the predetermined number of characters;
automatically extracting using natural language processing, from a data structure that is one of a common language dictionary, customer specific dictionary or a knowledge base, a set of axioms associated with at least one of the words in the transcription, wherein the set of axioms comprises a computer-parsable definition of a relationship of data to the at least one of the words; and
assign a confidence level to each axiom of the set of axioms based on a result of the dividing and the assigning of weight, wherein the confidence level is assigned based on an output of a Gaussian function applied to a result of the dividing and the assigning of weight.

14. The computer program product of claim 13, the computer readable storage medium further comprising instructions to determine a number of inaccurate words by at least one of:
identifying the number of words not found in either a customer specific dictionary or a dictionary of common language words; or
determining a number of inaccurate words by indentifying the number of words determined to be spelled incorrectly.

15. The computer program product of claim 13, the computer readable storage medium further comprising instructions to assign a greater weight to at least one word exceeding a predefined number of characters as compared to at least one other word below the predetermined number of characters.

16. The computer program product of claim 13, the computer readable storage medium further comprising instructions to retrieve, from a data structure, a set of axioms associated with at least one of the words in the transcription, wherein the set of axioms comprises a computer-parsable definition of a relationship of data to the at least one of the words.

17. The computer program product of claim 15, the computer readable storage medium further comprising instructions to assign a confidence level to each axiom of the set of axioms.