Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
README.md
binarytree.py
huffmancode.py
long_japanese.txt
pq.py

README.md

Huffman Coding

Implementation of huffman Coding in python3. This is the source code repository that supplements a blog post on Palo Alto Insight website.

To run

python3 huffmancode.py

Requirements

  • python 3.6.5

Resources

  • "Chapter 3: Compression" Real-World Algorithms: a Beginner's Guide, by Panos Louridas, The MIT Press, 2017.
  • long_japanese.txt is the full novel by Soseki Natsume, "Kokoro", downloaded from Aozora Bunko and stripped of spaces
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.