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
- Host: GitHub
- URL: https://github.com/adewoleadenigbagbe/lite-compression-tool
- Owner: adewoleadenigbagbe
- Created: 2023-12-29T12:25:58.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-17T07:37:21.000Z (over 2 years ago)
- Last Synced: 2024-06-20T23:57:22.570Z (about 2 years ago)
- Topics: compression, huffman-compression-algorithm, recursion, traversal-algorithms
- Language: Go
- Homepage:
- Size: 1.2 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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