Shoco: a fast compressor for short strings
ed-von-schleck.github.io
Shoco: a fast compressor for short strings
1–10 of 20 posts
Re: Shoco: a fast compressor for short strings
#2Re: Shoco: a fast compressor for short strings
#3I get negative compression percentage when I put words with "é" in the test box.
Re: Shoco: a fast compressor for short strings
#4Re: Shoco: a fast compressor for short strings
#5Re: Shoco: a fast compressor for short strings
#6Re: Shoco: a fast compressor for short strings
#750%
Look how well it can compress "ababababababababababab".
0%
Re: Shoco: a fast compressor for short strings
#8I previously evaluated a special purpose tool which identifies the best n-grams and uses dynamic programming during encoding. That gets about 70% compression on SMILES string. I also tried the off-the-shelf femtozip which got about 60% compression but had more decompression overhead than I like.
Shoco, trained on 1,455,763 SMILES strings (average of 56 letters each), and tested with 100,000 strings from the training set, reports "average compression ratio: 47%".
Re: Shoco: a fast compressor for short strings
#9I get negative compression percentage when I put words with "é" in the test box.
In default it doesn't work well with non-ASCII characters. https://ed-von-schleck.github.io/shoco/#how-it-works
Re: Shoco: a fast compressor for short strings
#10I can't tell you how many times I've said to myself "if only these very short ASCII strings were even shorter!"