1. open/save file 2. compressor: output integer phase number (start from 10 bits, using trie) 3. decompressor: restore unoptimized integers
4. rebuild the trie (32 bits) when it is full (stop adding new phrase or use a new trie) and the compression ratio 5. pack phrase numbers into a minimum of bits 6. corresponding unpack code for the decompressor
7. comments: performance comparison with out LZ-based compression 8. explain
In these cases a code becomes a mechanism by which types of behavior can be restricted and regulated into acceptable norms, a set of injunctions prescribing ways to dress, act, or conduct oneself, as in a dress code, code of honor, or ethical code.
Codes determine a field in which certain meanings are permissible, but cannot be used in themselves to generate an original message, (disregarding for the moment the metal-linguistic message of transgression, of deliberate violation of a code).
Codes have been capable of recombination and restriction, but as of yet have been restrained from the sphere of semiotic generation--the representation of concepts in themselves, without the mediation of a proper language.
Code is defined as communication between an encoder (a “writer” or “speaker”) and a decoder (a “reader” or “listener”) using agreed upon symbols.
Codes are generally expressed as binary relations or as geometric correspondences between a domain and a counterdomain; one speaks of mapping in the latter case.
Thus, in the International Morse Code, 52 symbols consisting of sequences of dots and dashes map on 52 symbols of the alphabet, numbers and punctuation marks; or in the genetic code, 61 of the possible symbol triplets of the RNA domain map on a set of 20 symbols of the polypeptide counterdomain.