{"id":28541315,"url":"https://github.com/ssvb/hunaftool","last_synced_at":"2025-07-07T15:30:59.434Z","repository":{"id":281773728,"uuid":"946380586","full_name":"ssvb/hunaftool","owner":"ssvb","description":"Automatic manipulation and conversion of Hunspell dictionary files","archived":false,"fork":false,"pushed_at":"2025-07-01T16:11:06.000Z","size":23821,"stargazers_count":3,"open_issues_count":6,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-01T16:42:34.942Z","etag":null,"topics":["affix","affix-rules","compression","crystal","decompression","dictionary","hunspell","ruby","spellchecking"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ssvb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.CC-BY-SA","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-03-11T03:43:40.000Z","updated_at":"2025-07-01T16:11:10.000Z","dependencies_parsed_at":"2025-04-02T07:21:16.962Z","dependency_job_id":"0d9bad14-cb7c-44b3-9ba7-1d4e5cd4af3b","html_url":"https://github.com/ssvb/hunaftool","commit_stats":null,"previous_names":["ssvb/hunaftool"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ssvb/hunaftool","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ssvb%2Fhunaftool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ssvb%2Fhunaftool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ssvb%2Fhunaftool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ssvb%2Fhunaftool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ssvb","download_url":"https://codeload.github.com/ssvb/hunaftool/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ssvb%2Fhunaftool/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264102879,"owners_count":23557843,"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","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":["affix","affix-rules","compression","crystal","decompression","dictionary","hunspell","ruby","spellchecking"],"created_at":"2025-06-09T20:00:34.615Z","updated_at":"2025-07-07T15:30:59.418Z","avatar_url":"https://github.com/ssvb.png","language":"Ruby","readme":"# Hunaftool [![linux](https://github.com/ssvb/hunaftool/actions/workflows/linux.yml/badge.svg)](https://github.com/ssvb/hunaftool/actions/workflows/linux.yml) [![amd64](https://img.shields.io/badge/amd64-black?logo=crystal)](https://nightly.link/ssvb/hunaftool/workflows/linux/main) [![windows](https://github.com/ssvb/hunaftool/actions/workflows/windows.yml/badge.svg)](https://github.com/ssvb/hunaftool/actions/workflows/windows.yml) [![x64](https://img.shields.io/badge/x64-black?logo=crystal)](https://nightly.link/ssvb/hunaftool/workflows/windows/main)\nAutomatic manipulation and conversion of Hunspell dictionary files\n\n## Usage\n\n```\nhunaftool v0.8 - automated conversion between plain text word lists\n                 and .DIC files for Hunspell, tailoring them for some\n                 already existing .AFF file with affixes.\nCopyright © 2025 Siarhei Siamashka. License: CC-BY-SA or MIT.\n\nUsage: hunaftool [options] \u003cwhatever.aff\u003e [input_file] [output_file]\nWhere options can be:\n  -v                      : verbose diagnostic messages to stderr\n\n  -i=[dic|txt|csv]        : the input file format:\n                             * txt - plain word list with one word per line\n                             * csv - same as txt, but more than one word\n                                     is allowed in a line and they are\n                                     comma separated\n                             * dic - a .DIC file from Hunspell\n\n  -o=[dic|txt|csv|js|lua] : the desired output file format:\n                             * txt - text file with one word per line, all\n                                     words are unique and presented in a\n                                     sorted order (per LC_ALL=C locale).\n                             * csv - text file with one stem per line,\n                                     each followed by the comma separated\n                                     words derived from that stem via\n                                     applying affixes.\n                             * dic - a .DIC file for Hunspell\n                             * js  - JavaScript code (TODO)\n                             * lua - Lua code (TODO)\n\nAn example of extracting all words from a dictionary:\n    ruby hunaftool.rb -i=dic -o=txt be_BY.aff be_BY.dic be_BY.txt\n\nAn example of creating a .DIC file from an .AFF file and a word list:\n    ruby hunaftool.rb -i=txt -o=dic be_BY.aff be_BY.txt be_BY.dic\n\nIf the input and output formats are not provided via -i/-o options,\nthen they are automatically guessed from file extensions. If the\noutput file is not provided, then the result is printed to stdout.\n```\n\n## License\n\nHunaftool is dual-licensed under [MIT](LICENSE.MIT) OR [CC-BY-SA-3.0 or later](LICENSE.CC-BY-SA).\nYou may select, at your option, one of these licenses if you use this work.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fssvb%2Fhunaftool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fssvb%2Fhunaftool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fssvb%2Fhunaftool/lists"}