https://github.com/samwhelp/demo-libchewing
demo-libchewing
https://github.com/samwhelp/demo-libchewing
bopomofo chewing ctypes libchewing phrase python user-phrase zhuyin
Last synced: about 1 year ago
JSON representation
demo-libchewing
- Host: GitHub
- URL: https://github.com/samwhelp/demo-libchewing
- Owner: samwhelp
- License: mit
- Created: 2017-03-25T09:48:21.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-04-21T02:02:57.000Z (about 9 years ago)
- Last Synced: 2025-02-08T20:12:30.378Z (over 1 year ago)
- Topics: bopomofo, chewing, ctypes, libchewing, phrase, python, user-phrase, zhuyin
- Language: Python
- Homepage:
- Size: 15.6 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# [demo-libchewing](https://github.com/samwhelp/demo-libchewing)
libchewing userphrase 使用範例
* [C](c)
* [Python](python)
## 相關專案
* [chewup](https://github.com/samwhelp/util-chewup)
## 原始討論串
* [討論「請教 ezgo13 的 fcitx-chewing 輸入法之自建字庫問題」](https://www.ubuntu-tw.org/modules/newbb/viewtopic.php?post_id=356758#forumpost356758)
## Prototype
* [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))
* [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))
* [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))
* [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))
## 相關連結
* https://gist.github.com/mitya57/1e49b079a91942782f62 ([1](https://www.ubuntu-tw.org/modules/newbb/viewtopic.php?post_id=356524#forumpost356524))
* https://docs.python.org/3/library/ctypes.html
* https://docs.python.org/2/library/ctypes.html
## Source Code 參考網址
* https://github.com/chewing/libchewing/blob/master/include/chewingio.h
* https://github.com/chewing/libchewing/blob/master/test/test-userphrase.c
* https://github.com/chewing/chewing-editor/blob/0.0.1/src/model/UserphraseModel.cpp#L199
* https://github.com/fcitx/fcitx-chewing/blob/master/src/eim.c