python-scripts#
huffman_encoder#
Takes a string and compresses it using huffman encoding. Huffman encoding assigns a binary value to each character, with the shortest binary value representing the most commonly used character.
PriorityQueue#
A simple priority queue, which is used in the huffman encoder.
dictionaryMaker#
- Creates a dictionary of terms. Terms can be added from a single file, all files with a certain extension in the folder, or all files in the folder.
- Terms can also be added manually.