{"id":23058160,"url":"https://github.com/samwhelp/demo-libchewing","last_synced_at":"2025-04-03T06:16:25.493Z","repository":{"id":90411884,"uuid":"86147528","full_name":"samwhelp/demo-libchewing","owner":"samwhelp","description":"demo-libchewing","archived":false,"fork":false,"pushed_at":"2017-04-21T02:02:57.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-08T20:12:30.378Z","etag":null,"topics":["bopomofo","chewing","ctypes","libchewing","phrase","python","user-phrase","zhuyin"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/samwhelp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2017-03-25T09:48:21.000Z","updated_at":"2017-03-27T15:15:27.000Z","dependencies_parsed_at":"2023-03-13T17:58:36.394Z","dependency_job_id":null,"html_url":"https://github.com/samwhelp/demo-libchewing","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samwhelp%2Fdemo-libchewing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samwhelp%2Fdemo-libchewing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samwhelp%2Fdemo-libchewing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samwhelp%2Fdemo-libchewing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samwhelp","download_url":"https://codeload.github.com/samwhelp/demo-libchewing/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246944385,"owners_count":20858772,"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":["bopomofo","chewing","ctypes","libchewing","phrase","python","user-phrase","zhuyin"],"created_at":"2024-12-16T02:14:37.973Z","updated_at":"2025-04-03T06:16:25.480Z","avatar_url":"https://github.com/samwhelp.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# [demo-libchewing](https://github.com/samwhelp/demo-libchewing)\n\nlibchewing userphrase 使用範例\n\n* [C](c)\n* [Python](python)\n\n## 相關專案\n\n* [chewup](https://github.com/samwhelp/util-chewup)\n\n## 原始討論串\n\n* [討論「請教 ezgo13 的 fcitx-chewing 輸入法之自建字庫問題」](https://www.ubuntu-tw.org/modules/newbb/viewtopic.php?post_id=356758#forumpost356758)\n\n\n## Prototype\n\n* [chewing_userphrase_add](python/prototype/chewing_userphrase_add/00-start/main.py) ([c](https://github.com/samwhelp/demo-libchewing/blob/master/c/prototype/chewing_userphrase_add/00-start/main.c)) ([chewingio.h](https://github.com/chewing/libchewing/blob/v0.4.0/include/chewingio.h#L531)) ([chewingio.c](https://github.com/chewing/libchewing/blob/v0.4.0/src/chewingio.c#L1985))\n* [chewing_userphrase_enumerate](python/prototype/chewing_userphrase_enumerate/00-start/main.py) ([c](https://github.com/samwhelp/demo-libchewing/blob/master/c/prototype/chewing_userphrase_enumerate/00-start/main.c)) ([chewingio.h](https://github.com/chewing/libchewing/blob/v0.4.0/include/chewingio.h#L523)) ([chewingio.c](https://github.com/chewing/libchewing/blob/v0.4.0/src/chewingio.c#L1847))\n* [chewing_userphrase_lookup](python/prototype/chewing_userphrase_lookup/00-start/main.py) ([c](https://github.com/samwhelp/demo-libchewing/blob/master/c/prototype/chewing_userphrase_lookup/00-start/main.c)) ([chewingio.h](https://github.com/chewing/libchewing/blob/v0.4.0/include/chewingio.h#L535)) ([chewingio.c](https://github.com/chewing/libchewing/blob/v0.4.0/src/chewingio.c#L2055))\n* [chewing_userphrase_remove](python/prototype/chewing_userphrase_remove/00-start/main.py) ([c](https://github.com/samwhelp/demo-libchewing/blob/master/c/prototype/chewing_userphrase_remove/00-start/main.c)) ([chewingio.h](https://github.com/chewing/libchewing/blob/v0.4.0/include/chewingio.h#L533)) ([chewingio.c](https://github.com/chewing/libchewing/blob/v0.4.0/src/chewingio.c#L2026))\n\n\n## 相關連結\n\n* https://gist.github.com/mitya57/1e49b079a91942782f62 ([1](https://www.ubuntu-tw.org/modules/newbb/viewtopic.php?post_id=356524#forumpost356524))\n* https://docs.python.org/3/library/ctypes.html\n* https://docs.python.org/2/library/ctypes.html\n\n\n## Source Code 參考網址\n\n* https://github.com/chewing/libchewing/blob/master/include/chewingio.h\n* https://github.com/chewing/libchewing/blob/master/test/test-userphrase.c\n* https://github.com/chewing/chewing-editor/blob/0.0.1/src/model/UserphraseModel.cpp#L199\n* https://github.com/fcitx/fcitx-chewing/blob/master/src/eim.c\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamwhelp%2Fdemo-libchewing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamwhelp%2Fdemo-libchewing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamwhelp%2Fdemo-libchewing/lists"}