The present application provides a dialect speech recognition method, apparatus, medium, and electronic device. The method comprises: obtaining dialect speech to be recognized; inputting the dialect speech to be recognized into a coding model to obtain a low-dimensional sequence to be recognized corresponding to the dialect speech to be recognized; the coding model is based on a first comparison model trained using a Mandarin training sample set and a second comparison model trained using a dialect training sample set; decoding the low-dimensional sequence to be recognized to obtain text corresponding to the dialect speech to be recognized; the invention can increase to a certain extent the accuracy of dialect speech recognition.
展开▼