Unlock instant, AI-driven research and patent intelligence for your innovation.

Grammar error correction method for adding spelling error correction function

An error correction method and spelling error technology, applied in the fields of natural language data processing, instruments, electrical digital data processing, etc., can solve the problem of reducing the performance of grammar error correction, unable to reflect spelling errors and error correction at the same time.

Pending Publication Date: 2020-07-28
BEIJING UNISOUND INFORMATION TECH
View PDF7 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

That is to say, there are the following problems: 1) the text to be corrected is not spell checked and corrected, and if there is a spelling error in the text to be corrected, there will be a risk of reducing the performance of grammatical error correction; 2) the error correction results only Can reflect grammatical errors, but not spelling errors

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Grammar error correction method for adding spelling error correction function
  • Grammar error correction method for adding spelling error correction function
  • Grammar error correction method for adding spelling error correction function

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] The present invention will be described in further detail below in conjunction with the accompanying drawings and embodiments, so that those skilled in the art can implement it with reference to the description.

[0027] It should be understood that terms such as "having", "comprising" and "including" used herein do not exclude the presence or addition of one or more other elements or combinations thereof.

[0028] The present invention provides a grammatical error correction method with a spelling error correction function, the method can be used in writing programs, systems or devices, and the execution subject corresponding to the method can be various terminals such as mobile phones, tablets, computers, etc. is the server, such as figure 1 , figure 2 As shown, the method includes steps S101 to S103:

[0029] In step S101, the text to be corrected is obtained;

[0030] In step S102, the words in the text to be error-corrected are detected and spelling errors are ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a grammar error correction method for adding a spelling error correction function. The grammar error correction method comprises the following steps: acquiring a text to be corrected; detecting words in the text to be subjected to error correction and correcting spelling errors to obtain a candidate text set, calculating the occurrence probability of each text in the candidate text set according to a preset language model, selecting texts with the first preset number of probabilities, and constructing a candidate text subset; and performing grammar error correction on the candidate text subset to obtain a candidate result set, and taking the text with the maximum posterior probability in the candidate result set as a final grammar error correction text. The invention discloses a grammar error correction method with an additional spelling error correction function, which can effectively check and correct spelling errors in a text to be corrected, reduce the possibility of misjudgment of grammar error correction caused by the spelling errors and improve the grammar error correction performance. Spelling errors and grammar errors in the text to be corrected canbe reflected at the same time in the output result, and better user experience is provided.

Description

technical field [0001] The invention relates to the fields of data mining and natural language processing, more specifically, the invention relates to a grammar error correction method with spelling error correction function added. Background technique [0002] Before training the grammatical error correction model, the spelling error correction is performed on the parallel training corpus to improve the quality of the training corpus, and then improve the performance of the grammatical error correction model. If there is no spell checking and error correction for the text to be corrected in the prior art, there will be a risk of reducing the performance of grammatical error correction when there are spelling errors in the text to be corrected, such as "This place has awarmm and dry summers", grammatical correction The wrong module may mistake "warmm" as a noun instead of correcting the article "a" in front of "warmm", and get the wrong result "This place has a warmm and dry...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F40/232G06N20/00
CPCG06N20/00
Inventor 孙科郭伟
Owner BEIJING UNISOUND INFORMATION TECH