The invention discloses an official document error
correction method, which comprises the following steps of: a
text detection step: carrying out
text recognition model training by utilizing
machine learning, and classifying document texts into notification, report, approval, notification, letter, conference summary and ask-for-leave types; an error detection step: making word segmentation througha
Chinese word segmentation device, detecting errors from the aspects of word
granularity and word
granularity, integrating suspected error results of the two types of
granularity detection, to forma suspected error position candidate set; using a bidirectional character-level N-
gram LM
deep learning model for scoring characters in sentences, regarding the position with the low
score as a position to be corrected, conducting dictionary word checking on the position to be corrected and context combinations, and when all the combinations cannot be found in a dictionary, regarding the combinations as wrong characters and added into a wrong position candidate set. According to the scheme, auditing requirements such as row text specifications, incomplete contents, unknown questions, grammar error correction, smoothness detection, context association and the like are combined, the characteristics are used for innovating, reconstructing and combining the existing technical scheme, and the error correction effect of the enterprise electronic official document can be effectively improved through tests.