Text error correction method and device, electronic equipment and storage medium

A text error correction and text technology, applied in the field of data processing, can solve problems such as error correction, and achieve the effect of improving accuracy and realizing error correction

Pending Publication Date: 2022-05-24
SHENZHEN INTELLIFUSION TECHNOLOGIES CO LTD
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In view of this, the embodiment of the present application provides a text error correction method, device, electronic equipment and storage medium to solve the problem of how to automatically and accurately correct missing characters and / or word texts in the prior art

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, electronic equipment and storage medium
  • Text error correction method and device, electronic equipment and storage medium
  • Text error correction method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0034] figure 1 It shows a schematic flow chart of a text error correction method provided by the embodiment of the present application. The text error correction method is applied to electronic equipment, and the details are as follows:

[0035] In S101, error text is acquired.

[0036] In the embodiment of the present application, the error text may be a Chinese sentence with missing characters and / or missing words. In one embodiment, the text content in social software messages, news manuscripts, and office software manuscripts can be detected by a preset text detection model, and sentences with missing characters and / or missing words errors can be found as error texts.

[0037] Exemplarily, the text detection model can include a word segmentation module and a word detection module; for each sentence in the aforementioned text content, the sentence is input into the word segmentation module for processing to obtain the word segmentation text corresponding to the sentence; ...

Embodiment 2

[0096] image 3 It shows a schematic structural diagram of a text error correction device provided by the embodiment of the present application. For the convenience of description, only the parts related to the embodiment of the present application are shown:

[0097] The text error correction device includes: an acquisition unit 31 , a first correction unit 32 , a second correction unit 33 , and a target correction text determination unit 34 . in:

[0098] An acquisition unit 31, configured to acquire error text.

[0099] The first correcting unit 32 is configured to determine a first target number of first candidate corrected texts corresponding to the erroneous text according to the erroneous text and a preset missing word recall list; wherein the missing word recall list includes information that can be compared with The words in the error text are constructed as a preset number of words of words.

[0100] The second correcting unit 33 is used to determine a second targ...

Embodiment 3

[0113] Figure 4 It is a schematic diagram of an electronic device provided by an embodiment of the present application. like Figure 4 As shown, the electronic device 4 of this embodiment includes: a processor 40, a memory 41, and a computer program 42 stored in the memory 41 and operable on the processor 40, such as a text error correction program. When the processor 40 executes the computer program 42, it realizes the steps in the above embodiments of each text error correction method, for example figure 1 Steps S101 to S104 are shown. Alternatively, when the processor 40 executes the computer program 42, it realizes the functions of the modules / units in the above-mentioned device embodiments, for example image 3 Function of units 31 to 34 shown.

[0114] Exemplarily, the computer program 42 can be divided into one or more modules / units, and the one or more modules / units are stored in the memory 41 and executed by the processor 40 to complete this application. The o...

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 suitable for the technical field of data processing, and provides a text error correction method and device, electronic equipment and a storage medium. Determining a first target number of first candidate correction texts corresponding to the wrong text according to the wrong text and a preset word missing recall list; wherein the word missing recall list comprises a preset number of words which can be constructed into words with words in the error text; determining a second target number of second candidate correction texts corresponding to the error text according to the error text and a preset MacBert model; and determining a target correction text corresponding to the error text according to the first target number of first candidate correction texts and the second target number of second candidate correction texts. According to the embodiment of the invention, error correction can be automatically and accurately carried out on the text lacking characters and / or words.

Description

technical field [0001] The present application belongs to the technical field of data processing, and in particular relates to a text error correction method, device, electronic equipment and storage medium. Background technique [0002] At present, in the text content of social tools, news releases or other carriers, there are often errors of missing words and words. Usually, the errors of missing characters and words in these texts need to be manually corrected after they are found through manual inspection and verification. However, this method has high labor costs, and low accuracy and efficiency. Contents of the invention [0003] In view of this, the embodiment of the present application provides a text error correction method, device, electronic equipment and storage medium to solve the problem of how to automatically and accurately correct missing characters and / or words in the existing technology. [0004] The first aspect of the embodiment of the present applic...

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/289G06F40/216
CPCG06F40/232G06F40/289G06F40/216
Inventor 李圆法蚁韩羚余晓填王孝宇
Owner SHENZHEN INTELLIFUSION TECHNOLOGIES CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products