facebook / zstd

Zstandard - Fast real-time compression algorithm
http://www.zstd.net
Other
22.89k stars 2.04k forks source link

is there a pre-trained version for "english" dictionary for web use? #4092

Open sprappcom opened 3 weeks ago

sprappcom commented 3 weeks ago

i have this zstd js https://github.com/101arrowz/fzstd to render decompressed zstd on browser. was wondering if there are "officially" supported english language / dictionary corpus (good enough for web use [and on server]) to minimize "with reasonable processing speed" for the data transfer between server and client browser.

does anyone have such a thing? or where can i find one?

RubenKelevra commented 3 weeks ago

The dictionary highly depends on your use case, including the compression level you like to use.

If you're interested in training for plain text English, you can for example use the Wikipedia as corpus. That's readily available. You would just need to strip away the Wiki markup language.

Hope that helps.