The embodiment of the invention provides a text error
correction method, a text error correction device,
electronic equipment and a medium, and belongs to the technical field of financial science and technology. The method comprises the following steps: inputting a
target text into a text error detection model for text error detection to obtain text marking data, wherein the text marking data is used for marking correct characters and error characters in text characters; inputting the
target text into a text
error correction model based on the text marking data; extracting text character and pronunciation features of the text characters based on a character and pronunciation
feature extraction sub-model; extracting text
font features based on the
font feature extraction sub-model, wherein the text
font features comprise first
mask features of error characters; extracting text semantic features based on the
semantic feature extraction sub-model, wherein the text font features comprise second
mask features of error characters; and performing text prediction on the text character pronunciation features, the text font features and the text semantic features based on the error correction sub-model to obtain a target error
correction text. According to the embodiment of the invention, the error correction accuracy of the text can be improved.