Content deleted Content added
Tags: Reverted Mobile edit Mobile web edit
m Reverted edits by 81.150.77.189 (talk) to last version by MrOllie
Line 26:
A ''prefix code'' is a code with the "prefix property": there is no valid code word in the system that is a [[prefix (computer science)|prefix]] (start) of any other valid code word in the set. [[Huffman coding]] is the most known algorithm for deriving prefix codes. Prefix codes are widely referred to as "Huffman codes" even when the code was not produced by a Huffman algorithm. Other examples of prefix codes are [[country calling codes]], the country and publisher parts of [[ISBN]]s, and the Secondary Synchronization Codes used in the [[UMTS]] [[W-CDMA|WCDMA]] 3G Wireless Standard.
 
[[Kraft's inequality]] characterizes the sets of codeword lengths that are possible in a prefix code. Virtually any uniquely decodable one-to-many code, not necessarily a prefix one, must satisfy Kraft's inequality.A code can also be a form of writing that hides the true sentence or phrase.
 
=== Error-correcting codes ===