The invention provides a model training method and an ASR text
correction method, and belongs to the field of
artificial intelligence, and the ASR text
correction method is applied to a trained BERT model and comprises the steps that a calling text is acquired, and the first
confusion degree of the calling text is determined; performing word segmentation
processing on the calling text to obtain a plurality of words; converting the plurality of words into
pinyin; for each word, when it is determined that the
pinyin of the word is not the keyword
pinyin according to a pre-constructed keyword pinyin
library, but in a one-step editing distance range of the keyword pinyin, determining a keyword corresponding to the keyword pinyin as a candidate word; and replacing the word according to the candidate word to obtain a replacement text, determining a second
confusion degree of the replacement text, and outputting the replacement text when the second
confusion degree is smaller than the first confusion degree. According to the method, the trained BERT model is utilized to carry out ASR text correction, so that
speech recognition can be accurately carried out, and replacement and correction of Chinese can be realized.