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

https://github.com/xi-plus/nkust-data-compression-midterm

資料壓縮期中 Data Compression Midterm
https://github.com/xi-plus/nkust-data-compression-midterm

homework nkust

Last synced: 8 months ago
JSON representation

資料壓縮期中 Data Compression Midterm

Awesome Lists containing this project

README

          

# NKUST-Data-Compression-Midterm

## Usage
**encode**
`python compress.py encode `
**decode**
`python compress.py decode `

Accepted algorithm:
* `nocompress` - No compression
* `lz78` - LZ78
* `xp01` - Invented by myself, only works for UTF-8 encoding
* `xp01b` - Invented by myself, similar to xp01, binary mode
* `xp02` - Invented by myself, combination of xp01 and huffman, only works for UTF-8 encoding
* `xp02b` - Invented by myself, combination of xp01 and huffman, similar to xp02, binary mode
* `huffman` - Huffman
* `auto` - Automatically choose the best of the above algorithms