The invention relates to a
speech recognition and sensitive word detection method. The method comprises the following steps: collecting a speech
signal, and carrying out preprocessing and acoustic
feature extraction; constructing a
speech recognition model, and generating corresponding text data based on the acoustic features; constructing a sensitive
lexicon and constructing the sensitive
lexicon into a finite
automaton state diagram; traversing the text data, and detecting sensitive words according to the determined finite
automaton state diagram; according to the method, in a voice environment containing
noise, accent or homophone interference, the recognition accuracy of
key terms in the field is effectively maintained, keyword recognition leakage and homophone replacement errors are reduced, and the subsequent detection reliability is improved from the source; and meanwhile, through a deterministic matching mechanism of the
finite state automaton, the calculation overhead can be reduced, the matching
jitter can be reduced, and a more stable hit position and a more stable context fragment can be output.