Model training method, text error correction method and related products
By introducing multiple error types of model training data and using masking and disrupting processing techniques to train text error correction models, the problem of low accuracy of text error correction in the prior art is solved, and efficient identification and correction of multiple text errors is achieved.
Patent Information
- Application Number
- CN202411715667.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-27
- Publication Date
- 2025-03-18
AI Technical Summary
Existing text error correction methods are mainly used to identify spelling errors, and cannot fully cover all possible text error types, resulting in low error correction accuracy.
By obtaining model training data containing multiple error types such as spelling errors, grammar errors, logical errors and format errors, the first sub-model of the machine learning model is used to mask the word segmentation results of text data, and the second sub-model is used to mess the word segmentation results, and the text error correction model is trained based on the labeled data, the results after masking and the results after messing.
This method can fully cover and identify various errors that may exist in the text to be corrected, enhances the machine learning model's ability to recognize error patterns and learn the correct text structure, and improves the accuracy of the text error correction model.