ueno / Libskk
Licence: gpl-3.0
Japanese SKK input method library
Stars: ✭ 49
Programming Languages
vala
323 projects
libskk -- a library to deal with Japanese kana-to-kanji conversion method
Features
-
Support basic features of SKK including: new word registration, completion, numeric conversion, abbrev mode, kuten input, hankaku-katakana input, Lisp expression evaluation (concat only), and re-conversion.
-
Support various typing rules including: romaji-to-kana, AZIK, TUT-Code, and NICOLA.
-
Support various dictionary types including: file dictionary (such as SKK-JISYO.[SML]), user dictionary, skkserv, and CDB format dictionary.
-
GObject based API with gobject-introspection support.
Documentation
- Basic usage
- Keymap and Romaji-to-Kana table customization
- Vala binding reference
- C binding reference
Test
$ echo "A i SPC" | skk
{ "input": "A i SPC", "output": "", "preedit": "▼愛" }
$ echo "K a p a SPC K a SPC" | skk
{ "input": "K a p a SPC K a SPC", "output": "", "preedit": "▼かぱ【▼蚊】" }
$ echo "r k" | skk -r tutcode
{ "input": "r k", "output": "あ", "preedit": "" }
$ echo "a (usleep 50000) b (usleep 200000)" | skk -r nicola
{ "input": "a (usleep 50000) b (usleep 200000)", "output": "うへ", "preedit": "" }
License
GPLv3+
Copyright (C) 2011-2018 Daiki Ueno <[email protected]>
Copyright (C) 2011-2018 Red Hat, Inc.
This file is free software; as a special exception the author gives
unlimited permission to copy and/or distribute it, with or without
modifications, as long as this notice is preserved.
This file is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].