Sliding window error correction-based attack resisting text enhancement method and storage device

A storage device and sliding window technology, applied in the fields of instruments, electrical digital data processing, computing, etc., can solve the problems of poor robustness and generalization ability, high noise, loss of semantics, etc., to improve robustness and generalization effect of ability

Pending Publication Date: 2022-03-18
FUJIAN YIRONG INFORMATION TECH +2
View PDF1 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0015] To this end, it is necessary to provide a text enhancement method based on sliding window error correction against attacks to solve the technical problems of semantic lo

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
  • Sliding window error correction-based attack resisting text enhancement method and storage device
  • Sliding window error correction-based attack resisting text enhancement method and storage device
  • Sliding window error correction-based attack resisting text enhancement method and storage device

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0043] In order to explain in detail the technical content, structural features, achieved goals and effects of the technical solution, the following will be described in detail in conjunction with specific embodiments and accompanying drawings.

[0044] see Figure 1 to Figure 3 , in this embodiment, a method for text enhancement against attacks based on sliding window error correction can be applied to a storage device, which includes but is not limited to: personal computers, servers, general-purpose computers, special-purpose computers, network devices, embedded devices, programmable devices, smart mobile terminals, etc. The specific implementation is as follows:

[0045] Step S101: Obtain the original text to be processed. The original text can be a tagged text pair such as: flight from Beijing to Shanghai, flight from Shanghai to Beijing, N.

[0046] Step S102: Perform sliding window processing on the original text to generate a plurality of original clauses. A charac...

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 relates to the technical field of natural language processing, in particular to a sliding window error correction-based anti-attack text enhancement method and storage equipment. The method for enhancing the attack resisting text based on sliding window error correction comprises the following steps: acquiring an original text to be processed; performing sliding window processing on the original text to generate a plurality of original clauses; performing text error correction on the original clauses subjected to sliding window processing through a text error correction tool to generate corrected clauses; and performing cross combination on the original clauses and the corrected clauses to generate a new text. According to the method, the sliding window processing and the text error correction tool are combined to play a role in double data amplification, correction and amplification can be carried out only at the word or word level line of the clause in combination with the error correction tool, the semantics is hardly influenced, and the robustness and generalization ability of the model are effectively improved under the condition that the semantics is not influenced.

Description

technical field [0001] The invention relates to the technical field of natural language processing, in particular to a method and a storage device for text enhancement against attacks based on sliding window error correction. Background technique [0002] The application number is CN111507114A (published on August 07, 2020) which discloses a method for enhancing spoken text based on reverse translation. The method includes: training a label prediction model through the spoken text with the first set of labels; translating the spoken text with the first set of labels into other languages, and then reverse-translating to generate multiple enhanced spoken texts; The prediction model performs label prediction on multiple enhanced spoken texts, and determines the second set of labels corresponding to each of the multiple enhanced spoken texts; respectively judges the labels in the first set of labels, and in the second set of labels corresponding to the multiple enhanced spoken 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
IPC IPC(8): G06F40/211G06F40/232
CPCG06F40/211G06F40/232
Inventor 郑耀松苏江文宋立华
Owner FUJIAN YIRONG INFORMATION TECH
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