The invention relates to a voice recognition character
string processing comparison method based on
Pinyin. For application of an existing voice recognition technology to certain special occasions ofperson name recognition, equipment name recognition and the like, errors are generated easily due to incorrect comparison. The method is "secondary
processing" based on a general Chinese
character recognition algorithm; and recognized Chinese character strings are converted into
Pinyin strings, and then the
Pinyin strings are compared with target Pinyin strings. The method comprises the followingsteps of 1, performing Pinyin coding: performing coding on all Chinese character Pinyin, wherein the coding is similar to coding of
unicode; and enumerating all Chinese character Pinyin combinations;2, performing
code conversion: converting the character strings, with coding
modes of GBK,
Unicode, UTF-8 and the like, for expressing
Chinese characters converted into the Pinyin strings; and 3, performing polyphone
processing: enumerating polyphones of all family names; performing special
processing; and distributing the same Pinyin codes. According to the method, accurate recognition can be rapidly realized, so that misjudgment is avoided.