Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Text error correction method and device based on language model, terminal equipment and medium

A language model, text error correction technology, applied in natural language data processing, semantic analysis, instruments, etc., can solve the problem of low accuracy of text error correction, and achieve the effect of preventing error correction of names and improving accuracy

Active Publication Date: 2021-08-17
CHINA PING AN LIFE INSURANCE CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the embodiment of the present application provides a language model-based text error correction method, device, terminal device, and medium to solve the problem of text error correction based on the frequency of use of a single vocabulary in the prior art. The problem of low error correction accuracy

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 method and device based on language model, terminal equipment and medium
  • Text error correction method and device based on language model, terminal equipment and medium
  • Text error correction method and device based on language model, terminal equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.

[0047] The language model-based text error correction method involved in the embodiment of the present application may be executed by a control device or a terminal (hereinafter referred to as "mobile terminal").

[0048] see figure 1 , figure 1It shows the implementation flow chart of a language model-based text error correction method provided by the embodiment of the present application. The language model-based text error correction method is applied to any terminal device, and the terminal device can be a server, a mobile phone, a tablet Or wearable smart devices, t...

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 is applicable to the technical field of artificial intelligence, and provides a text error correction method and device based on a language model, terminal equipment and a medium. The method comprises the following steps: determining a name in a to-be-corrected text, and performing vocabulary replacement on the name in the to-be-corrected text to obtain a replacement text, wherein the vocabulary replacement is used for replacing names in the to-be-corrected text with preset name vocabularies and preset product vocabularies; inputting the replacement text into a language model for text analysis to obtain a text score; setting the replacement text corresponding to the maximum text score as a standard text, and performing text error correction on the to-be-corrected text according to the standard text. According to the method, the to-be-corrected text is corrected based on the preset name vocabulary or the preset product vocabulary carried in the standard text, the use frequency of a single vocabulary in the to-be-corrected text does not need to be calculated, text correction based on the use frequency of the single vocabulary is not needed, error correction of names in the to-be-corrected text is prevented, and the accuracy of text error correction is improved.

Description

technical field [0001] The present application relates to the technical field of artificial intelligence, and in particular to a language model-based text error correction method, device, terminal device and medium. Background technique [0002] In the process of text error correction, since the name of a person is a low-frequency word, the phrase formed by the combination of the name and other words is also low-frequency. In the process of text error correction, it is often considered that there is an error where the name of the person appears, such as "Zha Wang Congmin's gender", because the frequency of "congmin" is lower than that of "smart", if the name "congmin" is not detected and corrected If it is wrong, it will be wrongly identified as "smart". Therefore, in the process of text error correction, the problem of name detection and error correction has attracted more and more attention. [0003] In the existing text error correction process, the error correction of t...

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/232G06F40/30G06F40/289
CPCG06F40/232G06F40/289G06F40/30
Inventor 陈乐清曾增烽刘东煜
Owner CHINA PING AN LIFE INSURANCE CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products