An open API service indexing awesome lists of open source software.

https://github.com/adewoleadenigbagbe/lite-compression-tool

A simple compression tool using Huffman coding algorithm
https://github.com/adewoleadenigbagbe/lite-compression-tool

compression huffman-compression-algorithm recursion traversal-algorithms

Last synced: 6 months ago
JSON representation

A simple compression tool using Huffman coding algorithm

Awesome Lists containing this project

README

          

# 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](https://en.wikipedia.org/wiki/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