| 1 |
libskk -- a library to deal with Japanese kana-to-kanji conversion method |
| 2 |
|
| 3 |
Features: |
| 4 |
|
| 5 |
* Support basic features of SKK including: new word registration, |
| 6 |
completion, numeric conversion, abbrev mode, kuten input, |
| 7 |
hankaku-katakana input, Lisp expression evaluation (concat only), |
| 8 |
and re-conversion. |
| 9 |
|
| 10 |
* Support various typing rules including: romaji-to-kana, AZIK, |
| 11 |
TUT-Code, and NICOLA. |
| 12 |
|
| 13 |
* Support various dictionary types including: file dictionary (such as |
| 14 |
SKK-JISYO.[SML]), user dictionary, skkserv, and CDB format |
| 15 |
dictionary. |
| 16 |
|
| 17 |
* GObject based API with gobject-introspection support. |
| 18 |
|
| 19 |
Documentation: |
| 20 |
|
| 21 |
* file:tests/context.c for basic usage |
| 22 |
* file:rules/README.rules for keymap and romaji-to-kana table customization |
| 23 |
* http://du-a.org/docs/libskk/libskk/ for Vala binding reference |
| 24 |
* http://du-a.org/docs/gtk-doc/libskk/html/ for C binding reference |
| 25 |
|
| 26 |
Test: |
| 27 |
|
| 28 |
$ echo "A i SPC" | skk |
| 29 |
{ "input": "A i SPC", "output": "", "preedit": "▼愛" } |
| 30 |
$ echo "K a p a SPC K a SPC" | skk |
| 31 |
{ "input": "K a p a SPC K a SPC", "output": "", "preedit": "▼かぱ【▼蚊】" } |
| 32 |
$ echo "r k" | skk -r tutcode |
| 33 |
{ "input": "r k", "output": "あ", "preedit": "" } |
| 34 |
$ echo "a (usleep 50000) b (usleep 200000)" | skk -r nicola |
| 35 |
{ "input": "a (usleep 50000) b (usleep 200000)", "output": "うへ", "preedit": "" } |
| 36 |
|
| 37 |
License: |
| 38 |
|
| 39 |
GPLv3+ |
| 40 |
|
| 41 |
Copyright (C) 2011-2026 Daiki Ueno <[email protected]> |
| 42 |
Copyright (C) 2011-2026 Red Hat, Inc. |
| 43 |
|
| 44 |
This file is free software; as a special exception the author gives |
| 45 |
unlimited permission to copy and/or distribute it, with or without |
| 46 |
modifications, as long as this notice is preserved. |
| 47 |
|
| 48 |
This file is distributed in the hope that it will be useful, but |
| 49 |
WITHOUT ANY WARRANTY, to the extent permitted by law; without even the |
| 50 |
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |