SEQUITUR algorithm in JavaScript
Description:I had implemented one grammar_based compression algorithm SEQUITUR using JavaScript.
Example:You can test how my algorithm works with any length of character strings.
Currently, it supports characters only, that is, no numbers, no special characters :-)
Demo:
Please enter the string which you want to compress:
The compressed result is:
More!
Have a try to decompress the previous compressed result:
Then get the original string which is:
|