METHOD AND APPARATUS FOR DETERMINING A RECOGNITION RATE
First Claim
1. A method for determining a recognition rate, applicable to a terminal, comprising:
- obtaining a string of characters obtained by recognizing voice, and a standard recognition result corresponding to the string of characters, wherein the standard recognition result comprises characters of phonetic character type, and characters of Chinese character type;
dividing the string of characters according to a character type in the string of characters to generate a sequence of characters, wherein when the string of characters comprises phonetic character, a number of phonetic characters representing one complete meaning is divided into a recognition element;
calculating a shortest edition distance between the sequence of characters, and a standard recognition result sequence generated by dividing the standard recognition result sequence;
obtaining an optimum alignment result between the sequence of characters and the standard recognition result sequence according to a calculated shortest edition distance; and
determining a recognition rate of the sequence of characters with respect to the standard recognition result sequence according to the optimum alignment result between the sequence of charactes and the standard recognition result sequence, wherein the recognition rate comprises a recognition error rate of phonetic characters, and a recognition error rate of Chinese characters.
1 Assignment
0 Petitions
Accused Products
Abstract
Disclosed are a method and apparatus for determining a recognition rate, and the method can obtain a string of characters obtained by recognizing voice, and a standard recognition result corresponding to the string of characters, where the standard recognition result includes phonetic character type, and Chinese characters; divide the string of characters according to a character type in the string of characters to generate a sequence of characters, and divide the standard recognition result to generate a standard recognition result sequence: calculate the shortest edition distance between the sequence of characters, and the standard recognition result sequence; and determine a recognition rate of a voice recognition apparatus according to the calculated shortest edition distance.
-
Citations
18 Claims
-
1. A method for determining a recognition rate, applicable to a terminal, comprising:
-
obtaining a string of characters obtained by recognizing voice, and a standard recognition result corresponding to the string of characters, wherein the standard recognition result comprises characters of phonetic character type, and characters of Chinese character type; dividing the string of characters according to a character type in the string of characters to generate a sequence of characters, wherein when the string of characters comprises phonetic character, a number of phonetic characters representing one complete meaning is divided into a recognition element; calculating a shortest edition distance between the sequence of characters, and a standard recognition result sequence generated by dividing the standard recognition result sequence; obtaining an optimum alignment result between the sequence of characters and the standard recognition result sequence according to a calculated shortest edition distance; and determining a recognition rate of the sequence of characters with respect to the standard recognition result sequence according to the optimum alignment result between the sequence of charactes and the standard recognition result sequence, wherein the recognition rate comprises a recognition error rate of phonetic characters, and a recognition error rate of Chinese characters. - View Dependent Claims (2, 3, 4, 5, 6, 8, 9, 10, 11, 12)
-
-
7. An electronic device, comprising:
-
at least one processor; and a memory communicably connected with the at least one processor for storing instructions executable by the at least one processor, wherein execution of the instructions by the at least one processor causes the at least one processor to; obtain a string of characters obtained by recognizing voice, and a standard recognition result corresponding to the string of characters, wherein the standard recognition result comprises characters of phonetic character type, and characters of Chinese character type; divide the string of characters according to a character type in the string of characters to generate a sequence of characters, wherein when the string of Characters comprises phonetic character, a number of phonetic characters representing one complete meaning is divided into a recognition element; calculate a shortest edition distance between the sequence of characters, and a standard recognition result sequence generated by dividing the standard recognition result; obtain an optimum alignment result between the sequence of characters and the standard recognition result sequence according to the calculated shortest edition distance; and determine a recognition rate of the sequence of characters with respect to the standard recognition result sequence according to the optimum alignment result between the sequence of characters and the standard recognition result sequence, wherein the recognition rate comprises a recognition error rate of phonetic characters, and a recognition error rate of Chinese characters.
-
-
13. A non-transitory computer-readable storage medium storing executable instructions that, when executed by an electronic device, cause the electronic device to:
-
obtain a string of characters obtained by recognizing voice, and a standard recognition result corresponding to the string of characters, wherein the standard recognition result comprises characters of phonetic character type, and characters of Chinese character type; divide the string of characters according to a character type in the string of characters to generate a sequence of characters, wherein when the string of characters comprises phonetic character, a number of phonetic characters representing one complete meaning is divided into a recognition element; calculate a shortest edition distance between the sequence of characters, and a standard recognition result sequence generated by dividing the standard recognition result; obtain an optimum alignment result between the sequence of characters and the standard recognition result sequence according to the calculated shortest edition distance; and determine a recognition rate of the sequence of characters with respect to the standard recognition result sequence according to the optimum alignment result between the sequence of characters and the standard recognition result sequence, wherein the recognition rate comprises a recognition error rate of phonetic characters, and a recognition error rate of Chinese characters. - View Dependent Claims (14, 15)
-
-
16. The non-transitory computer-readable storage medium according to claim IS, wherein the obtain an optimum alignment result between the sequence of characters and the standard recognition result sequence according to the calculated shortest edition distance comprises:
-
for each grid element in the two-dimension grid, perform the operations of determining such one of the respective error types corresponding to the grid element that, has the smallest number of instances;
determining the number of instances of the determineddetermining a set of alignment relationships between the respective recognition elements corresponding to the sequence of characters, and the respective standard elements corresponding to the standard recognition result according to the pointing direction of the backtracking pointer obtained in each grid element starting from the grid element corresponding to the shortest edition distance in the two-dimension grid; and determining the determined set of alignment relationships between the respective recognition elements corresponding to the sequence of characters, and the respective standard elements corresponding to the standard recognition result as the optimum alignment result between the sequence of characters and the standard recognition result sequence, - View Dependent Claims (17, 18)
-
Specification