Text compression method and device, text decompression method and device, computer equipment and storage medium

A text compression and computer program technology, applied in the field of data processing, can solve the problems of unavailable compression ratio and high compression files, etc., achieve the effect of compact representation and increase compression ratio

Pending Publication Date: 2022-02-15
深圳市领存技术有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, if the text is compressed according to the above two encoding met

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 compression method and device, text decompression method and device, computer equipment and storage medium
  • Text compression method and device, text decompression method and device, computer equipment and storage medium
  • Text compression method and device, text decompression method and device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0039] In order to make the objects, technical solutions, and advantages of the present application, the technical solutions in the present application embodiment will be described in connext of the present application embodiment, and It is a part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art will belong to the scope of the present application without the premise of making creative labor.

[0040] In one embodiment, figure 1 Schemmatic diagram of a text compression method in an embodiment, reference figure 1 Provide a text compression method. This embodiment is mainly used in the application to serve 120 in this method, and the text compression method specifically includes the steps of:

[0041] Step S210, the compressed text is treated for text pre-processing, and the word vector of multiple target particles is obtained.

[0042] Specificall...

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 a text compression method and device, a text decompression method and device, computer equipment and a storage medium. The method comprises the steps that text preprocessing is carried out on a to-be-compressed text to obtain word vectors of a plurality of target segmented words, semantic vectors corresponding to the whole text are obtained by summarizing the word vectors of the target segmented words, the semantic vectors comprise the meaning of text expression, compression is carried out through the semantic vectors of the text, a more compact representation form can be obtained, and compared with text compression according to the character frequency and the simple arrangement rule, the compression ratio can be greatly improved.

Description

technical field [0001] This application relates to the technical field of data processing, in particular to a text compression and decompression method, device, computer equipment and storage medium. Background technique [0002] Traditional compression algorithms are mainly divided into statistical coding and dictionary coding. Statistical coding mainly uses the imbalance of symbol statistical frequency and the repetition of context characters, and dictionary coding mainly uses the surface frequency and arrangement information of characters. However, if the text is compressed according to the above two encoding methods, a compressed file with a higher compression ratio cannot be obtained. Contents of the invention [0003] In order to solve the above technical problems, the present application provides a text compression and decompression method, device, computer equipment and storage medium. [0004] In the first aspect, the present application provides a text compressi...

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/126G06F40/289H03M7/30
CPCG06F40/126G06F40/289H03M7/30
Inventor 黄泼刘知胜罗桦槟肖佳威
Owner 深圳市领存技术有限公司
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