摘要 |
A method for compressing a string of characters, initially defined by an original ordered sequence of characters each represented by an absolute number uniquely representing each character, according to an absolute coding table, comprising the steps of:
- parsing said original sequence into at least one first type sub-sequence comprising contiguous characters, each of the contiguous characters of the first type sub-sequence being selected based on a matching character in a relative coding table (20), and, into at least one second type sub-sequence comprising remaining contiguous characters,
- coding each first type sub-sequence using said relative coding table (20),
- representing each character from each second type sub-sequence by its absolute representing number from said absolute coding table. A corresponding method for decompressing a compressed sequence. |