sekka 0.8.0 → 0.8.1
Sign up to get free protection for your applications and to get access to all the features.
- data/COPYING +57 -0
- data/bin/sekka-jisyo +4 -7
- data/emacs/sekka.el +339 -199
- data/lib/sekka/henkan.nnd +18 -3
- data/lib/sekka/jisyo-db.nnd +1 -1
- data/lib/sekka/kvs.rb +13 -0
- data/lib/sekka/roman-lib.nnd +185 -54
- data/lib/sekka/sekkaversion.rb +1 -1
- data/lib/sekkaserver.rb +8 -2
- data/test/approximate-bench.nnd +1 -1
- data/test/azik-verification.nnd +86 -0
- data/test/henkan-main.nnd +62 -23
- data/test/jisyo.nnd +5 -6
- data/test/roman-lib.nnd +13 -12
- data/test/skk-azik-table.nnd +506 -0
- metadata +8 -7
- data/bin/.gitignore +0 -1
data/COPYING
ADDED
@@ -0,0 +1,57 @@
|
|
1
|
+
In short, Sekka is distributed under so called "BSD license",
|
2
|
+
that is, as far as you retain the copyrignt notice and disclaimer below,
|
3
|
+
you can use, copy, modify and redistribute your modification freely.
|
4
|
+
The formal term is specified in each copyright notices.
|
5
|
+
|
6
|
+
A few files are covered by GPL, but they have an exception so that I
|
7
|
+
(and you) can distribute them under BSD license. See each file for
|
8
|
+
the detailed term.
|
9
|
+
|
10
|
+
|
11
|
+
Copyright and condition of use of main portion of the source:
|
12
|
+
-----------------------------------------------------------------------------
|
13
|
+
|
14
|
+
Copyright (c) 2010 Kiyoka Nishiyama <kiyoka@sumibi.org>
|
15
|
+
|
16
|
+
Redistribution and use in source and binary forms, with or without
|
17
|
+
modification, are permitted provided that the following conditions
|
18
|
+
are met:
|
19
|
+
|
20
|
+
1. Redistributions of source code must retain the above copyright
|
21
|
+
notice, this list of conditions and the following disclaimer.
|
22
|
+
|
23
|
+
2. Redistributions in binary form must reproduce the above copyright
|
24
|
+
notice, this list of conditions and the following disclaimer in the
|
25
|
+
documentation and/or other materials provided with the distribution.
|
26
|
+
|
27
|
+
3. Neither the name of the authors nor the names of its contributors
|
28
|
+
may be used to endorse or promote products derived from this
|
29
|
+
software without specific prior written permission.
|
30
|
+
|
31
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
32
|
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
33
|
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
34
|
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
35
|
+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
36
|
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
|
37
|
+
TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
38
|
+
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
39
|
+
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
40
|
+
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
41
|
+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
42
|
+
|
43
|
+
|
44
|
+
Copyright of emacs/*.el ---------------------------------------------------
|
45
|
+
|
46
|
+
This file is covered by GPL version 2
|
47
|
+
|
48
|
+
Copyright of data/SKK-JISYO.* -----------------------------------------------
|
49
|
+
|
50
|
+
These files are covered by GPL version 2
|
51
|
+
|
52
|
+
Copyright of test/skk-azik-table.nnd ----------------------------------------
|
53
|
+
|
54
|
+
This file is covered by GPL version 2
|
55
|
+
ported from DDSKK-14.1.90
|
56
|
+
|
57
|
+
-----------------------------------------------------------------------------
|
data/bin/sekka-jisyo
CHANGED
@@ -55,21 +55,18 @@ core.evalStr( <<";;END-OF-SCRIPT" )
|
|
55
55
|
(with-open
|
56
56
|
sekka-file
|
57
57
|
(lambda (f)
|
58
|
-
(when (not (rxmatch #/.tch$/ target))
|
59
|
-
(set-kvs-type 'memcache))
|
60
58
|
(load-sekka-jisyo-f f target))))
|
61
59
|
|
62
60
|
|
63
61
|
(define (dump-sekka-jisyo sekka-file)
|
64
|
-
(
|
65
|
-
(dump-sekka-jisyo-f f (+ sekka-file ".tch"))))
|
62
|
+
(dump-sekka-jisyo-f STDOUT sekka-file))
|
66
63
|
|
67
64
|
|
68
65
|
(define (display-help)
|
69
66
|
(print "Usage : ")
|
70
|
-
(print " sekka-jisyo convert SKK-JISYO.
|
71
|
-
(print " sekka-jisyo load SEKKA-JISYO.
|
72
|
-
(print " sekka-jisyo dump SEKKA-JISYO.
|
67
|
+
(print " sekka-jisyo convert SKK-JISYO.X > SEKKA-JISYO.X ... output SEKKA-JISYO to STDOUT")
|
68
|
+
(print " sekka-jisyo load SEKKA-JISYO.X SEKKA-JISYO.X.tch ... load SEKKA-JISYO to DB(*.tch)")
|
69
|
+
(print " sekka-jisyo dump SEKKA-JISYO.X.tch ... dump DB(*.tch) to SEKKA-JISYO(STDOUT)"))
|
73
70
|
|
74
71
|
|
75
72
|
(define (main argv)
|