Algorithm for computing a "good" sdch dictionary

28 views
Skip to first unread message

gtoubassi

unread,
Jan 20, 2011, 3:01:42 PM1/20/11
to SDCH
Is the tool/algorithm publicly available for computing an optimal sdch
dictionary for a given "training set" of documents? For example how
does google compute the sdch dictionary for its search pages?

openvcdiff

unread,
Jan 28, 2011, 12:41:46 PM1/28/11
to SDCH
Thanks for your interest in SDCH.

There's no publicly released dictionary builder at present. To create
a good dictionary for a training set, one can find all strings of
length at least kBlockSize bytes that appear in multiple documents in
the training set, then measure the effect on target size (after
applying SDCH and gzip) of including each of those strings in the
dictionary. Some long strings that appear in every file in the
training set may still not be included in the dictionary because gzip
compresses them effectively.
Reply all
Reply to author
Forward
0 new messages