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

Text error correction model training method and device, medium and product

A text error correction and training method technology, applied in the field of text error correction model training, can solve the problem of low accuracy of error correction results, and achieve the effects of enhancing correctness, reducing false positives, and improving accuracy

Pending Publication Date: 2022-07-15
GUANGDONG UCAP INTERNET INFORMATION TECH +1
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the prior art, through the training of the neural network model, wherein the neural network model includes a memory bank gating layer, a coding layer and an output layer, the coding vector of the semantic unit selected from the historical text of the sample text can be added to the memory Library, so as to realize the error correction of the sample text by combining the coding vector of the semantic unit in the memory library, but it only enriches the error correction information used by the text error correction model, and does not solve the problem of generating sample sentences in the text error correction model of the copying attention mechanism When changing more words, resulting in lower accuracy of error correction results

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
  • Text error correction model training method and device, medium and product
  • Text error correction model training method and device, medium and product
  • Text error correction model training method and device, medium and product

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative efforts shall fall within the protection scope of the present invention.

[0022] like figure 1 As shown, an embodiment of the present invention provides a training method for a text error correction model, including the following steps:

[0023] S100. Obtain a sample text list A={A 1 , A 2 , A 3 , ..., A m }, where A i Refers to the i-th sample text, i=1...m, where m is the number of sample texts.

[0024] S200, get A i Corresponding raw text fragment list B i ={B i1 , B i2 , B i3 , ... , B in }, B ix m...

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 provides a text error correction model training method and device, a medium and a product, and the method comprises the following steps: obtaining a sample text list, and segmenting any same text in the sample text list to obtain sample fragments; inputting any sample segment into a preset text error correction model, obtaining a first loss function value and a second loss function value, and obtaining a total loss function value based on the first loss function value and the second loss function value; the text error correction model can be adjusted according to the total loss function value until the text error correction model converges, so that the text error correction accuracy of the text error correction model is improved, error correction of the text by the error correction model is reduced and copying of a correct text is enhanced while correct error correction of the text is ensured, and the error correction efficiency of the text is improved. Therefore, false alarms during text error correction are reduced.

Description

technical field [0001] The invention relates to the technical field of text processing, in particular to a training method, device, medium and product of a text error correction model. Background technique [0002] Text error correction is a fundamental problem in Natural Language Processing (NLP), and it can usually be placed in front of other NLP tasks such as text retrieval, text classification, machine translation or sequence labeling to improve the validity of input text and prevent The bad effects of spelling mistakes. [0003] In the prior art, by training a neural network model, wherein the neural network model includes a memory bank gate control layer, an encoding layer and an output layer, the encoding vector of the semantic unit selected from the historical text of the sample text can be added to the memory. In this way, the error correction of the sample text is realized by combining the coding vector of the semantic unit in the memory library, but it only enric...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F40/232G06N3/04G06N3/08
CPCG06F40/232G06N3/08G06N3/047G06N3/048
Inventor 严妍彭祖剑汪敏杨春宇刘艳杰
Owner GUANGDONG UCAP INTERNET INFORMATION TECH