{"id":21493541,"url":"https://github.com/alienkevin/wordshk-tools","last_synced_at":"2025-07-15T19:31:02.876Z","repository":{"id":40200275,"uuid":"415963599","full_name":"AlienKevin/wordshk-tools","owner":"AlienKevin","description":"Tools for processing open Cantonese dictionary data provided words.hk","archived":false,"fork":false,"pushed_at":"2024-05-16T11:56:59.000Z","size":114553,"stargazers_count":13,"open_issues_count":3,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-05-17T00:31:30.423Z","etag":null,"topics":["cantonese-dictionary","parser","wordshk"],"latest_commit_sha":null,"homepage":"https://docs.rs/wordshk_tools/latest/wordshk_tools/","language":"Rust","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/AlienKevin.png","metadata":{"files":{"readme":"README.md","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-10-11T14:32:04.000Z","updated_at":"2024-05-18T07:32:26.132Z","dependencies_parsed_at":"2024-05-18T07:31:45.202Z","dependency_job_id":"ed38c68c-5472-4fa1-bd6b-3ef6c5158df0","html_url":"https://github.com/AlienKevin/wordshk-tools","commit_stats":{"total_commits":274,"total_committers":1,"mean_commits":274.0,"dds":0.0,"last_synced_commit":"51b5dde705de5c859a33b8fe2d289da65927ba4d"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlienKevin%2Fwordshk-tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlienKevin%2Fwordshk-tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlienKevin%2Fwordshk-tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlienKevin%2Fwordshk-tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AlienKevin","download_url":"https://codeload.github.com/AlienKevin/wordshk-tools/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226064547,"owners_count":17568034,"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":["cantonese-dictionary","parser","wordshk"],"created_at":"2024-11-23T15:43:22.917Z","updated_at":"2024-11-23T15:43:25.980Z","avatar_url":"https://github.com/AlienKevin.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wordshk-tools\n\nA combination of tools for words.hk (粵典).\n\n## Parser\n```rust\n/// Parse the whole words.hk CSV database into a [Dict]\npub fn parse_dict() -\u003e Result\u003cDict, Box\u003cdyn Error\u003e\u003e\n```\nLocated at `/src/lib.rs`\n\nParses all entries marked with OK and store the results as a list of entries. This parser is the very core of this library because its output is used by other functions like `to_apple_dict`.\nTo boost efficiency, no regular expressions and backtracking are used. It is powered by a library called [lip](https://github.com/AlienKevin/lip) (written by myself) that provides\nflexible parser combinators and supports friendly error messages.\n\n## Example Usages\n1. Parse words.hk dictionary and extract useful information\n    * See `examples/parse_dict` for more details\n2. Export to Apple Dictionary\n    * See `examples/export_apple_dict` for more details\n3. Search words.hk\n    * See `examples/benchmark_search` for more details\n\n## Source\n\nThe full up-to-date CSV database of words.hk dictionary can be downloaded from words.hk. You can request access to the CSV using this link: https://words.hk/faiman/request_data/\n\n## License\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falienkevin%2Fwordshk-tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falienkevin%2Fwordshk-tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falienkevin%2Fwordshk-tools/lists"}