Skip to content

C based implementation of the sub-optimal Shannon-Fano encoder/decoder

Notifications You must be signed in to change notification settings

pytholic97/Shannon-Fano-coding

Repository files navigation

Title

Shannon-Fano encoder/decoder

Details

C program that encodes input.txt and stores result in output.txt. Decoder stores decoded(original) file in results.txt.

For sake of flexibility and experimentation, the encoding requires as input, the probabilites of each unique symbol present in the input file. It considers these probabilites in order to construct the coding tree and not the actual probabilities of the symbols in the input file.

Author

Prathamesh Mandke - mandkepk97@gmail.com

About

C based implementation of the sub-optimal Shannon-Fano encoder/decoder

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages