Skip to content

adewoleadenigbagbe/lite-compression-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Lite-Compression-Tool

A simple lightweight command line tool to compress text files using Huffman coding

Huffman Coding is a data compression algorithm that is used to reduce the size of data without losing any information. It achieves this by assigning shorter binary codes to frequently occurring characters and longer codes to less frequent characters. This technique allows for efficient storage and transmission of data

For more information on huffman coding , visit this link Huffman Coding

For this example, a text file lesmiserables.txt included in the repo , text file used contains not only ASCII characters but other characters in any language

Usage

Clone the Repository, check in on the root folder and run the main.go file, you see a decoded_lesmiserables.txt being generated

Releases

No releases published

Packages

No packages published

Languages