sekka 1.5.8 → 1.5.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +2 -1
- data/Rakefile +6 -5
- data/VERSION.yml +1 -1
- data/data/MY-JISYO.hira-kata +6 -0
- data/data/SKK-JISYO.L.201501 +175832 -0
- data/data/SKK-JISYO.L.hira-kata +9 -0
- data/emacs/sekka.el +6 -4
- data/lib/sekka/henkan.nnd +4 -1
- data/lib/sekka/sekkaversion.rb +2 -2
- data/public_dict/1.4.2/SEKKA-JISYO.LARGE.N.md5 +1 -0
- data/public_dict/1.4.2/SEKKA-JISYO.LARGE.N.url +1 -0
- data/public_dict/1.4.2/SEKKA-JISYO.SMALL.N.md5 +1 -0
- data/public_dict/1.4.2/SEKKA-JISYO.SMALL.N.url +2 -0
- data/test/henkan-main.nnd +6 -6
- data/test/sekka-dump-out-1.txt +1 -1
- metadata +26 -20
data/data/SKK-JISYO.L.hira-kata
CHANGED
@@ -13197,6 +13197,7 @@
|
|
13197
13197
|
てさろにか /テサロニカ/
|
13198
13198
|
てさろにき /テサロニキ/
|
13199
13199
|
てさろにけ /テサロニケ/
|
13200
|
+
てざりんぐ /テザリング/
|
13200
13201
|
てす /テス/
|
13201
13202
|
てすた /テスタ/
|
13202
13203
|
てすたー /テスター/
|
@@ -26447,3 +26448,11 @@
|
|
26447
26448
|
わんるーむ /ワンルーム/
|
26448
26449
|
わんるーむまんしょん /ワンルームマンション/
|
26449
26450
|
ゐた /ヰタ;ラテン語/
|
26451
|
+
;; kiyokaによる追加のカタカナ辞書
|
26452
|
+
きー /キー/
|
26453
|
+
ましん /マシン/
|
26454
|
+
えんじん /エンジン/
|
26455
|
+
さいと /サイト/
|
26456
|
+
めもり /メモリ/
|
26457
|
+
|
26458
|
+
|
data/emacs/sekka.el
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
;; Copyright (C) 2010-2014 Kiyoka Nishiyama
|
4
4
|
;;
|
5
5
|
;; Author: Kiyoka Nishiyama <kiyoka@sumibi.org>
|
6
|
-
;; Version: 1.5.
|
6
|
+
;; Version: 1.5.9 ;;SEKKA-VERSION
|
7
7
|
;; Keywords: ime, skk, japanese
|
8
8
|
;; Package-Requires: ((cl-lib "0.3") (concurrent "0.3.1") (popup "0.5.0"))
|
9
9
|
;; URL: https://github.com/kiyoka/sekka
|
@@ -83,7 +83,7 @@
|
|
83
83
|
:group 'sekka)
|
84
84
|
|
85
85
|
(defcustom sekka-use-curl t
|
86
|
-
"non-nil でcurl
|
86
|
+
"non-nil でcurlコマンドを優先して使う。nilで変換動作だけEmacs Lisp(url.el)を使う"
|
87
87
|
:type 'boolean
|
88
88
|
:group 'sekka)
|
89
89
|
|
@@ -525,7 +525,9 @@ non-nil で明示的に呼びだすまでGoogleIMEは起動しない。"
|
|
525
525
|
(sekka-use-curl
|
526
526
|
(sekka-rest-request-by-curl func-name arg-alist))
|
527
527
|
(t
|
528
|
-
(
|
528
|
+
(if (string-equal "register" func-name)
|
529
|
+
(sekka-rest-request-by-curl func-name arg-alist) ;; 辞書登録はcurlを使ってバックグラウンドで実行する。pure版は平行動作できない。
|
530
|
+
(sekka-rest-request-by-pure func-name arg-alist))))))
|
529
531
|
|
530
532
|
;;
|
531
533
|
;; 現在時刻をUNIXタイムを返す(単位は秒)
|
@@ -1744,7 +1746,7 @@ point から行頭方向に同種の文字列が続く間を漢字変換しま
|
|
1744
1746
|
(setq default-input-method "japanese-sekka")
|
1745
1747
|
|
1746
1748
|
(defconst sekka-version
|
1747
|
-
"1.5.
|
1749
|
+
"1.5.9" ;;SEKKA-VERSION
|
1748
1750
|
)
|
1749
1751
|
(defun sekka-version (&optional arg)
|
1750
1752
|
"入力モード変更"
|
data/lib/sekka/henkan.nnd
CHANGED
@@ -103,7 +103,10 @@
|
|
103
103
|
(v-rest.split "/"))))
|
104
104
|
(a-search.search userid kvs keyword type)))))
|
105
105
|
(nn-heuristics-result (nn-heuristics keyword lst))
|
106
|
-
(sorted-lst (sort-by nn-heuristics-result (lambda (item)
|
106
|
+
(sorted-lst (sort-by nn-heuristics-result (lambda (item)
|
107
|
+
(to-arr
|
108
|
+
(list (- 1.0 (first item))
|
109
|
+
(second item)))))))
|
107
110
|
(if (= limit 0)
|
108
111
|
sorted-lst
|
109
112
|
(take* sorted-lst limit)))))
|
data/lib/sekka/sekkaversion.rb
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
f81fc5428bb611c99a6395581d00008b ./data/SEKKA-JISYO.LARGE.N.tsv
|
@@ -0,0 +1 @@
|
|
1
|
+
https://s3-ap-northeast-1.amazonaws.com/sekkadict/1.4.2/SEKKA-JISYO.LARGE.N.tsv
|
@@ -0,0 +1 @@
|
|
1
|
+
981fc78fdba635a0806d89670cdcb394 ./data/SEKKA-JISYO.SMALL.N.tsv
|
data/test/henkan-main.nnd
CHANGED
@@ -460,12 +460,12 @@
|
|
460
460
|
(approximate-search userid kvs "=narimase" "h" 0)))
|
461
461
|
|
462
462
|
(test* "approximate search 20"
|
463
|
-
'((0.9852 "=narimasd" "なりません") (0.9852 "=narimast" "なりました") (0.9852 "=narimasu" "なります") (0.9793 "=
|
463
|
+
'((0.9852 "=narimasd" "なりません") (0.9852 "=narimast" "なりました") (0.9852 "=narimasu" "なります") (0.9793 "=narimasen" "なりません") (0.9793 "=narimaseq" "なりません") (0.9792 "=narimashita" "なりました"))
|
464
464
|
(my-round-map
|
465
465
|
(approximate-search userid kvs "=narimash" "h" 0)))
|
466
466
|
|
467
467
|
(test* "approximate search 21"
|
468
|
-
'((0.9907 "=narimashita" "なりました") (0.9793 "=
|
468
|
+
'((0.9907 "=narimashita" "なりました") (0.9793 "=narimasd" "なりません") (0.9793 "=narimast" "なりました") (0.9793 "=narimasu" "なります"))
|
469
469
|
(my-round-map
|
470
470
|
(approximate-search userid kvs "=narimashi" "h" 0)))
|
471
471
|
|
@@ -831,11 +831,11 @@
|
|
831
831
|
;; 送り仮名が "R" で始っているのに、"t" や "`" もマッチしている理由は、送り仮名の開始子音1文字まで含めたJaro-WInkler distanceで候補で並べており、送り仮名が違うからといって排除しない方針をとっているため。
|
832
832
|
;; それにより送り仮名のミスタイプの許容をしている。
|
833
833
|
(test* "okuri ari 23"
|
834
|
-
'(("ブログりました" #f "ぶろぐr" j) ("ブログりました" #f "
|
834
|
+
'(("ブログりました" #f "ぶろぐr" j) ("ブログりました" #f "ぶろぐ+" j) ("ブログりました" #f "ぶろぐt" j) ("ブログりました" #f "ぶろぐ`" j))
|
835
835
|
(henkan-okuri-ari userid kvs "buroguRimashita" 0 :normal))
|
836
836
|
|
837
837
|
(test* "okuri ari 24"
|
838
|
-
'(("ブログった" #f "ぶろぐt" j) ("ブログった" #f "
|
838
|
+
'(("ブログった" #f "ぶろぐt" j) ("ブログった" #f "ぶろぐ+" j) ("ブログった" #f "ぶろぐr" j) ("ブログった" #f "ぶろぐ`" j))
|
839
839
|
(henkan-okuri-ari userid kvs "buroguTta" 0 :normal))
|
840
840
|
|
841
841
|
;;-------------------------------------------------------------------
|
@@ -1177,11 +1177,11 @@
|
|
1177
1177
|
(sekkaHenkan userid kvs #f "Henkanenji" 0 "normal"))
|
1178
1178
|
|
1179
1179
|
(test* "henkan toplevel(for Elisp) 8"
|
1180
|
-
'(("ブログった" nil "ぶろぐt" j 0) ("ブログった" nil "
|
1180
|
+
'(("ブログった" nil "ぶろぐt" j 0) ("ブログった" nil "ぶろぐ+" j 1) ("ブログった" nil "ぶろぐr" j 2) ("ブログった" nil "ぶろぐ`" j 3) ("ぶろぐった" nil "burogutta" h 4) ("ブログッタ" nil "burogutta" k 5) ("buroguTta" nil "buroguTta" z 6) ("buroguTta" nil "buroguTta" l 7))
|
1181
1181
|
(sekkaHenkan userid kvs #f "buroguTta" 0 "normal"))
|
1182
1182
|
|
1183
1183
|
(test* "henkan toplevel(for Elisp) 9"
|
1184
|
-
'(("ブログりました" nil "ぶろぐr" j 0) ("ブログりました" nil "
|
1184
|
+
'(("ブログりました" nil "ぶろぐr" j 0) ("ブログりました" nil "ぶろぐ+" j 1) ("ブログりました" nil "ぶろぐt" j 2) ("ブログりました" nil "ぶろぐ`" j 3) ("ぶろぐりました" nil "burogurimashita" h 4) ("ブログリマシタ" nil "burogurimashita" k 5) ("buroguRimashita" nil "buroguRimashita" z 6) ("buroguRimashita" nil "buroguRimashita" l 7))
|
1185
1185
|
(sekkaHenkan userid kvs #f "buroguRimashita" 0 "normal"))
|
1186
1186
|
|
1187
1187
|
(test* "henkan toplevel(for Elisp) 10"
|
data/test/sekka-dump-out-1.txt
CHANGED
metadata
CHANGED
@@ -1,41 +1,41 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sekka
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kiyoka Nishiyama
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-02-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: eventmachine
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - ~>
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '1.0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - ~>
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: memcache-client
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - ~>
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '1.8'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - ~>
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '1.8'
|
41
41
|
- !ruby/object:Gem::Dependency
|
@@ -70,56 +70,56 @@ dependencies:
|
|
70
70
|
name: rack
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- - ~>
|
73
|
+
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: '1.5'
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- - ~>
|
80
|
+
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '1.5'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: ruby-progressbar
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- - ~>
|
87
|
+
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: '1.4'
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- - ~>
|
94
|
+
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '1.4'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: bundler
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- - ~>
|
101
|
+
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
103
|
version: '1.7'
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- - ~>
|
108
|
+
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '1.7'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: rake
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
|
-
- - ~>
|
115
|
+
- - "~>"
|
116
116
|
- !ruby/object:Gem::Version
|
117
117
|
version: '10.0'
|
118
118
|
type: :development
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
|
-
- - ~>
|
122
|
+
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
124
|
version: '10.0'
|
125
125
|
description: Sekka is a SKK like input method. Sekka server provides REST Based API.
|
@@ -134,9 +134,9 @@ executables:
|
|
134
134
|
extensions: []
|
135
135
|
extra_rdoc_files: []
|
136
136
|
files:
|
137
|
-
- .gemtest
|
138
|
-
- .gitignore
|
139
|
-
- .travis.yml
|
137
|
+
- ".gemtest"
|
138
|
+
- ".gitignore"
|
139
|
+
- ".travis.yml"
|
140
140
|
- COPYING
|
141
141
|
- DESIGN
|
142
142
|
- README.md
|
@@ -147,8 +147,10 @@ files:
|
|
147
147
|
- bin/sekka-path
|
148
148
|
- bin/sekka-server
|
149
149
|
- data/.gitignore
|
150
|
+
- data/MY-JISYO.hira-kata
|
150
151
|
- data/SEKKA-JISYO.S.201001
|
151
152
|
- data/SKK-JISYO.L.201008
|
153
|
+
- data/SKK-JISYO.L.201501
|
152
154
|
- data/SKK-JISYO.L.hira-kata
|
153
155
|
- data/SKK-JISYO.S.201001
|
154
156
|
- data/SKK-JISYO.fullname
|
@@ -223,6 +225,10 @@ files:
|
|
223
225
|
- public_dict/1.4.1/SEKKA-JISYO.LARGE.N.url
|
224
226
|
- public_dict/1.4.1/SEKKA-JISYO.SMALL.N.md5
|
225
227
|
- public_dict/1.4.1/SEKKA-JISYO.SMALL.N.url
|
228
|
+
- public_dict/1.4.2/SEKKA-JISYO.LARGE.N.md5
|
229
|
+
- public_dict/1.4.2/SEKKA-JISYO.LARGE.N.url
|
230
|
+
- public_dict/1.4.2/SEKKA-JISYO.SMALL.N.md5
|
231
|
+
- public_dict/1.4.2/SEKKA-JISYO.SMALL.N.url
|
226
232
|
- script/sekkaserver.debian
|
227
233
|
- sekka.gemspec
|
228
234
|
- test/.gitignore
|
@@ -253,17 +259,17 @@ require_paths:
|
|
253
259
|
- lib
|
254
260
|
required_ruby_version: !ruby/object:Gem::Requirement
|
255
261
|
requirements:
|
256
|
-
- -
|
262
|
+
- - ">="
|
257
263
|
- !ruby/object:Gem::Version
|
258
264
|
version: '0'
|
259
265
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
260
266
|
requirements:
|
261
|
-
- -
|
267
|
+
- - ">="
|
262
268
|
- !ruby/object:Gem::Version
|
263
269
|
version: '0'
|
264
270
|
requirements: []
|
265
271
|
rubyforge_project:
|
266
|
-
rubygems_version: 2.
|
272
|
+
rubygems_version: 2.4.5
|
267
273
|
signing_key:
|
268
274
|
specification_version: 4
|
269
275
|
summary: Sekka is a SKK like input method.
|