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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com