-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
52 lines (37 loc) · 1.8 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
libskk -- a library to deal with Japanese kana-to-kanji conversion method
Features:
* Support basic features of SKK including new word registration into
dictionary, 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.
* Experimental support for intelligent kana-to-kanji conversion based
on Viterbi algorithm.
Documentation:
* file:tests/context.c for basic usage
* http://du-a.org/docs/libskk/libskk/ for Vala binding reference
* http://du-a.org/docs/gtk-doc/libskk/html/ for 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-2012 Daiki Ueno <[email protected]>
Copyright (C) 2011-2012 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.