{"id":17319671,"url":"https://github.com/ziman/dictpress","last_synced_at":"2025-09-22T08:53:43.285Z","repository":{"id":137831298,"uuid":"907432","full_name":"ziman/dictpress","owner":"ziman","description":"Preprocess wordlists before compression","archived":false,"fork":false,"pushed_at":"2012-06-12T20:00:38.000Z","size":112,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-05T04:03:57.253Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ziman.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-09-13T15:11:09.000Z","updated_at":"2023-11-05T07:09:20.000Z","dependencies_parsed_at":"2023-03-11T04:42:54.185Z","dependency_job_id":null,"html_url":"https://github.com/ziman/dictpress","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ziman/dictpress","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ziman%2Fdictpress","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ziman%2Fdictpress/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ziman%2Fdictpress/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ziman%2Fdictpress/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ziman","download_url":"https://codeload.github.com/ziman/dictpress/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ziman%2Fdictpress/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276375153,"owners_count":25631314,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-22T02:00:08.972Z","response_time":79,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-15T13:26:22.731Z","updated_at":"2025-09-22T08:53:43.228Z","avatar_url":"https://github.com/ziman.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"dictpress.c\nEncode/decode dictionaries before/after compression.\n\nCopyright (c) 2010, Matus Tejiscak \u003cfunctor.sk@ziman\u003e\nReleased under the BSD license.\nhttp://creativecommons.org/licenses/BSD/\n\nPurpose:\nEncode dictionaries in the form that is better compressible by\ngeneral-purpose compression algorithms, exploiting their structure.\n\nUsage:\n$ cc -O2 dictpress.c -o dictpress\n$ cat dictionary.txt | ./dictpress | bzip2 -9 \u003e dictionary.dp.bz2\n$ cat dictionary.dp.bz2 | bunzip2 | ./dictpress -d \u003e dictionary-decompressed.txt\n\nUsed best with bzip2 -9. (lzma, gzip and 7z perform worse).\n\nApproximate compression ratios:\nMy 96-megabyte dictionary compresses to\n -\u003e 24M with dictpress alone\n -\u003e 18M with bzip2\n -\u003e 11M with 7z\n -\u003e 1.4M witch dictpress+7z\n -\u003e 1M with dictpress+bzip2\n\nPrerequisites:\nThere's no point in running this on an unsorted dictionary.\nWords must not contain binary zeroes.\n\nAlgorithm used:\nWe exploit the fact that consecutive words differ only a little in the suffix.\nTherefore, for each word we record a pair (n,s) saying \"remove n chars from the\nend of the last word and append the string s\".\n\nWarning:\nDoes not preserve CRs (#13, '\\r', ...) in the input.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fziman%2Fdictpress","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fziman%2Fdictpress","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fziman%2Fdictpress/lists"}