The present invention belongs to the field of
speech recognition technology, and particularly relates to a
speech recognition method and
system based on domain classification and hot word prefix tree
beam search, which uses a hot
word list in a known domain to construct a hot word prefix tree of a corresponding domain type, and trains a corresponding hot
word language model; for target speech data, a trained end-to-end model is used for one decoding, and a trained domain classification model is used to obtain the domain type to which the target speech data belongs; the target speech data is decoded twice using the end-to-end model, and a
beam search algorithm is used and the trained hot
word language model is used to output the text corresponding to the target speech data, wherein, in each
time step search of the
beam search algorithm, the hot word prefix tree of the domain type to which the target speech data belongs is combined to enhance the hot word probability. The present invention uses
a domain hot word prefix tree to appropriately enhance the hot words in the speech data, improve the
speech recognition effect, and facilitate application in actual scenarios.