Skip to content

Latest commit

 

History

History
80 lines (56 loc) · 2.8 KB

README.md

File metadata and controls

80 lines (56 loc) · 2.8 KB

enwik8 compression

GitHub contributors GitHub issues GitHub forks GitHub stars GitHub license

About

Compressing the challenge enwik8 which is the first 100MB of Wikipedia using LZW(Lempel–Ziv–Welch) using c++.

Annotation 2020-05-28 021516

Statistics

  • Input file size : 95.3 MB
  • Output file size : 34 MB
  • Compression ratio : ~2.8
  • Encoding time : ~30 sec
  • Decoding time : ~10 sec

How to use

  1. Clone the repository
$ git clone https://github.com/AbdallahHemdan/enwik8-compression.git
  1. Open the solution and run the following commands as arguments

    1. Encoding and decoding
    $ encode|decode file_path
    $ encode|decode ./enwik8.txt
    1. Encoding only
    $ encode file_path
    $ encode ./enwik8.txt
    1. Decoding only
    $ decode

1 2 3 4 5

License

This software is licensed under MIT License, See License for more information ©AbdallahHemdan.