sekka 0.8.3 → 0.8.4

Sign up to get free protection for your applications and to get access to all the features.
data/bin/sekka-path ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+ # -*- coding: utf-8 -*-
3
+
4
+ require 'rubygems'
5
+ arr = Gem.latest_load_paths.select { |x|
6
+ x.match( /\/sekka[-]/ )
7
+ }
8
+
9
+ if 0 == arr.size
10
+ STDERR.puts "Error: gem of sekka is not installed yet..."
11
+ exit( 1 )
12
+ else
13
+ puts arr[0].sub( /\/lib$/, "" )
14
+ end
data/emacs/popup.el CHANGED
@@ -998,6 +998,7 @@ See also `popup-item-propertize'."
998
998
  (isearch-cursor-color popup-isearch-cursor-color)
999
999
  (isearch-keymap popup-isearch-keymap)
1000
1000
  isearch-callback
1001
+ (initial-offset 0)
1001
1002
  &aux menu event)
1002
1003
  (and (eq margin t) (setq margin 1))
1003
1004
  (or margin-left (setq margin-left margin))
@@ -1020,7 +1021,13 @@ See also `popup-item-propertize'."
1020
1021
  (progn
1021
1022
  (popup-set-list menu list)
1022
1023
  (popup-draw menu)
1023
- (popup-menu-event-loop menu keymap fallback prompt help-delay isearch
1024
+ (when initial-offset
1025
+ (popup-select menu
1026
+ (let ((end-offset (- (length list) 1)))
1027
+ (if (< end-offset initial-offset)
1028
+ end-offset
1029
+ initial-offset))))
1030
+ (popup-menu-event-loop menu keymap fallback prompt help-delay isearch
1024
1031
  isearch-cursor-color isearch-keymap isearch-callback))
1025
1032
  (popup-delete menu)))
1026
1033
 
data/emacs/sekka.el CHANGED
@@ -512,27 +512,21 @@ non-nil で明示的に呼びだすまでGoogleIMEは起動しない。"
512
512
  (defun sekka-add-new-word-to-jisyo (file yomi tango)
513
513
  "FILE Sekka辞書ファイルと見做し、ファイルの先頭に「読み」と「単語」のペアを書き込む
514
514
  登録が成功したかどうかを t or nil で返す"
515
- (if (sekka-file-existp file)
516
- (let ((buf-name (file-name-nondirectory file))
517
- (added nil))
518
- (save-excursion
519
- (find-file file)
520
- (with-current-buffer (get-buffer buf-name)
521
- (goto-char (point-min))
522
- (let ((newstr (format "%s /%s/" yomi tango)))
523
- (when (not (search-forward newstr nil t))
524
- (insert newstr)
525
- (insert "\n")
526
- (save-buffer)
515
+ (let ((buf-name (file-name-nondirectory file)))
516
+ (save-excursion
517
+ (find-file file)
518
+ (with-current-buffer (get-buffer buf-name)
519
+ (goto-char (point-min))
520
+ (let ((newstr (format "%s /%s/" yomi tango)))
521
+ (when (not (search-forward newstr nil t))
522
+ (insert newstr)
523
+ (insert "\n")
524
+ (save-buffer)
527
525
  (setq added t)
528
526
  )))
529
- (kill-buffer-if-not-modified (get-buffer buf-name)))
530
- added)
531
- (progn
532
- (message (format "Sekka辞書 %s が存在しません..." file))
533
- nil)))
534
-
535
-
527
+ (kill-buffer-if-not-modified (get-buffer buf-name)))
528
+ t))
529
+
536
530
 
537
531
 
538
532
  ;; ポータブル文字列置換( EmacsとXEmacsの両方で動く )
@@ -741,11 +735,11 @@ non-nil で明示的に呼びだすまでGoogleIMEは起動しない。"
741
735
  (popup-menu* lst
742
736
  :scroll-bar t
743
737
  :margin t
744
- :keymap sekka-popup-menu-keymap)))
738
+ :keymap sekka-popup-menu-keymap
739
+ :initial-offset sekka-cand-cur)))
745
740
  (let ((selected-word (car (split-string result " "))))
746
- (setq sekka-cand-cur (sekka-find-by-tango selected-word))
747
- (sekka-select-kakutei)))))
748
-
741
+ (setq sekka-cand-cur (sekka-find-by-tango selected-word))))))
742
+
749
743
 
750
744
  ;; 選択操作回数のリセット
751
745
  (defun sekka-select-operation-reset ()
@@ -1419,7 +1413,7 @@ point から行頭方向に同種の文字列が続く間を漢字変換しま
1419
1413
  (setq default-input-method "japanese-sekka")
1420
1414
 
1421
1415
  (defconst sekka-version
1422
- "0.8.3" ;;SEKKA-VERSION
1416
+ "0.8.4" ;;SEKKA-VERSION
1423
1417
  )
1424
1418
  (defun sekka-version (&optional arg)
1425
1419
  "入力モード変更"
@@ -61,8 +61,8 @@
61
61
  (let1 proxy-class (Net::HTTP.Proxy proxy-host proxy-port)
62
62
  (proxy-class.new target))
63
63
  (Net::HTTP.new target))))
64
- (set! http.open_timeout (if unit-test 30 5))
65
- (set! http.read_timeout (if unit-test 30 5))
64
+ (set! http.open_timeout 20)
65
+ (set! http.read_timeout 20)
66
66
  (http.start
67
67
  (&block ()
68
68
  (let* ((path (sprintf "/transliterate%s?langpair=%s&text=%s"
@@ -41,20 +41,20 @@
41
41
  (define sekka-kana->roman-alist-short
42
42
  '(
43
43
  ;; normal roman ---AZIK---
44
- ("ぁ" "la" "xxa")
44
+ ("ぁ" "la" "xa" "xxa")
45
45
  ("あ" "a")
46
- ("ぃ" "li" "xxi")
46
+ ("ぃ" "li" "xi" "xxi")
47
47
  ("い" "i")
48
- ("ぅ" "lu" "xxu")
48
+ ("ぅ" "lu" "xu" "xxu")
49
49
  ("う" "u" "whu")
50
50
  ("う゛" "vu")
51
51
  ("う゛ぁ" "va")
52
52
  ("う゛ぃ" "vi")
53
53
  ("う゛ぇ" "ve")
54
54
  ("う゛ぉ" "vo")
55
- ("ぇ" "le" "xxe")
55
+ ("ぇ" "le" "xe" "xxe")
56
56
  ("え" "e")
57
- ("ぉ" "lo" "xxo")
57
+ ("ぉ" "lo" "xo" "xxo")
58
58
  ("お" "o")
59
59
  ("か" "ka")
60
60
  ("が" "ga")
@@ -76,12 +76,12 @@
76
76
  ("ご" "go")
77
77
  ("さ" "sa")
78
78
  ("ざ" "za" "zc") ;; AZIKザ行の特別措置
79
- ("し" "shi" "si" "xi")
80
- ("しゃ" "sha" "sya" "xa" "xc")
79
+ ("し" "shi" "si")
80
+ ("しゃ" "sha" "sya" )
81
81
  ;; hu の例外処理: shu は sfu になってはいけない
82
- ("しゅ" "shu" "syu" "xu")
83
- ("しぇ" "she" "sye" "xe")
84
- ("しょ" "sho" "syo" "xo")
82
+ ("しゅ" "shu" "syu" )
83
+ ("しぇ" "she" "sye" )
84
+ ("しょ" "sho" "syo" )
85
85
  ("じ" "ji" "zi")
86
86
  ("じゃ" "ja" "jya" "zya")
87
87
  ("じゅ" "ju" "jyu" "zyu" "jf")
@@ -107,7 +107,7 @@
107
107
  ("ぢゅ" "dyu")
108
108
  ("ぢぇ" "dye")
109
109
  ("ぢょ" "dyo")
110
- ("っ" "tt" "@" ";" "ltu")
110
+ ("っ" "tt" "@" ";" "ltu" "xtu")
111
111
  ;; normal roman ---AZIK---
112
112
  ("つ" "tsu" "tu")
113
113
  ("づ" "du")
@@ -165,11 +165,11 @@
165
165
  ("め" "me")
166
166
  ("も" "mo")
167
167
  ;; normal roman ---AZIK---
168
- ("ゃ" "lya")
168
+ ("ゃ" "xya" "lya")
169
169
  ("や" "ya")
170
- ("ゅ" "lyu")
170
+ ("ゅ" "xyu" "lyu")
171
171
  ("ゆ" "yu" "yf")
172
- ("ょ" "lyo")
172
+ ("ょ" "xyo" "lyo")
173
173
  ("よ" "yo")
174
174
  ("ら" "ra")
175
175
  ("り" "ri")
@@ -179,7 +179,7 @@
179
179
  ("る" "ru")
180
180
  ("れ" "re")
181
181
  ("ろ" "ro")
182
- ("ゎ" "lwa")
182
+ ("ゎ" "xwa" "lwa")
183
183
  ("わ" "wa")
184
184
  ("うぃ" "wi" "whi")
185
185
  ("うぇ" "we" "whe")
@@ -316,6 +316,14 @@
316
316
  ;; 非AZIKで "cc" で 撥音「っ」から始まるかなを表現を消す可能性があるので "cc" はAZIK側だけに定義する
317
317
  ("ちゃ" "cha" "tya" "ca" "cc")
318
318
 
319
+ ;; 非AZIKで "xa" "xi" "xu" "ae" "ao" の捨て仮名を ぁぃぅぇぉ の入力に使うため以下の定義を
320
+ ;; 非AZIKとAZIKで分割する
321
+ ("し" "shi" "si" "xi")
322
+ ("しゃ" "sha" "sya" "xa" "xc")
323
+ ("しゅ" "shu" "syu" "xu")
324
+ ("しぇ" "she" "sye" "xe")
325
+ ("しょ" "sho" "syo" "xo")
326
+
319
327
  ;; ---以下AZIK---
320
328
  ;; ------ AZIK 撥音拡張
321
329
  ("かん" "kz" "kn")
@@ -1,6 +1,6 @@
1
1
  class SekkaVersion
2
2
  include Singleton
3
3
  def self.version
4
- "0.8.3"
4
+ "0.8.4"
5
5
  end
6
6
  end
data/test/henkan-main.nnd CHANGED
@@ -100,7 +100,7 @@
100
100
  "かt /勝/買/飼/刈;(crop)草を刈る")
101
101
  "\n")))
102
102
  (sekka-jisyo-data
103
- '("watashiH Cわたしh" "watasiH Cわたしh" "wataxiH Cわたしh" "wtshiH Cわたしh" "wtsiH Cわたしh" "wtxiH Cわたしh" "わたしh /私" "okonaU Cおこなu" "おこなu /行/行な;※送り位置補正" "hdkn Cへんかん" "hdkz Cへんかん" "henkan Cへんかん" "henkann Cへんかん" "henkaq Cへんかん" "hennkan Cへんかん" "hennkann Cへんかん" "hennkaq Cへんかん" "heqkan Cへんかん" "heqkann Cへんかん" "heqkaq Cへんかん" "へんかん /変換/返還" "hdka Cへんか" "henka Cへんか" "hennka Cへんか" "heqka Cへんか" "へんか /変化/返歌" "hdkaS Cへんかs" "henkaS Cへんかs" "hennkaS Cへんかs" "heqkaS Cへんかs" "へんかs /変化" "shizdgdgo Cしぜんげんご" "shizengengo Cしぜんげんご" "shizengenngo Cしぜんげんご" "shizengeqgo Cしぜんげんご" "shizenngengo Cしぜんげんご" "shizenngenngo Cしぜんげんご" "shizenngeqgo Cしぜんげんご" "shizeqgengo Cしぜんげんご" "shizeqgenngo Cしぜんげんご" "shizeqgeqgo Cしぜんげんご" "shizfngengo Cしぜんげんご" "shizfngenngo Cしぜんげんご" "shizfngeqgo Cしぜんげんご" "shizfnngengo Cしぜんげんご" "shizfnngenngo Cしぜんげんご" "shizfnngeqgo Cしぜんげんご" "shizfqgengo Cしぜんげんご" "shizfqgenngo Cしぜんげんご" "shizfqgeqgo Cしぜんげんご" "sizdgdgo Cしぜんげんご" "sizengengo Cしぜんげんご" "sizengenngo Cしぜんげんご" "sizengeqgo Cしぜんげんご" "sizenngengo Cしぜんげんご" "sizenngenngo Cしぜんげんご" "sizenngeqgo Cしぜんげんご" "sizeqgengo Cしぜんげんご" "sizeqgenngo Cしぜんげんご" "sizeqgeqgo Cしぜんげんご" "sizfngengo Cしぜんげんご" "sizfngenngo Cしぜんげんご" "sizfngeqgo Cしぜんげんご" "sizfnngengo Cしぜんげんご" "sizfnngenngo Cしぜんげんご" "sizfnngeqgo Cしぜんげんご" "sizfqgengo Cしぜんげんご" "sizfqgenngo Cしぜんげんご" "sizfqgeqgo Cしぜんげんご" "xizdgdgo Cしぜんげんご" "xizengengo Cしぜんげんご" "xizengenngo Cしぜんげんご" "xizengeqgo Cしぜんげんご" "xizenngengo Cしぜんげんご" "xizenngenngo Cしぜんげんご" "xizenngeqgo Cしぜんげんご" "xizeqgengo Cしぜんげんご" "xizeqgenngo Cしぜんげんご" "xizeqgeqgo Cしぜんげんご" "xizfngengo Cしぜんげんご" "xizfngenngo Cしぜんげんご" "xizfngeqgo Cしぜんげんご" "xizfnngengo Cしぜんげんご" "xizfnngenngo Cしぜんげんご" "xizfnngeqgo Cしぜんげんご" "xizfqgengo Cしぜんげんご" "xizfqgenngo Cしぜんげんご" "xizfqgeqgo Cしぜんげんご" "しぜんげんご /自然言語" "shizdgdgoshori Cしぜんげんごしょり" "shizdgdgosyori Cしぜんげんごしょり" "shizdgdgoxori Cしぜんげんごしょり" "shizengengoshori Cしぜんげんごしょり" "shizengengosyori Cしぜんげんごしょり" "shizengengoxori Cしぜんげんごしょり" "shizengenngoshori Cしぜんげんごしょり" "shizengenngosyori Cしぜんげんごしょり" "shizengenngoxori Cしぜんげんごしょり" "shizengeqgoshori Cしぜんげんごしょり" "shizengeqgosyori Cしぜんげんごしょり" "shizengeqgoxori Cしぜんげんごしょり" "shizenngengoshori Cしぜんげんごしょり" "shizenngengosyori Cしぜんげんごしょり" "shizenngengoxori Cしぜんげんごしょり" "shizenngenngoshori Cしぜんげんごしょり" "shizenngenngosyori Cしぜんげんごしょり" "shizenngenngoxori Cしぜんげんごしょり" "shizenngeqgoshori Cしぜんげんごしょり" "shizenngeqgosyori Cしぜんげんごしょり" "shizenngeqgoxori Cしぜんげんごしょり" "shizeqgengoshori Cしぜんげんごしょり" "shizeqgengosyori Cしぜんげんごしょり" "shizeqgengoxori Cしぜんげんごしょり" "shizeqgenngoshori Cしぜんげんごしょり" "shizeqgenngosyori Cしぜんげんごしょり" "shizeqgenngoxori Cしぜんげんごしょり" "shizeqgeqgoshori Cしぜんげんごしょり" "shizeqgeqgosyori Cしぜんげんごしょり" "shizeqgeqgoxori Cしぜんげんごしょり" "shizfngengoshori Cしぜんげんごしょり" "shizfngengosyori Cしぜんげんごしょり" "shizfngengoxori Cしぜんげんごしょり" "shizfngenngoshori Cしぜんげんごしょり" "shizfngenngosyori Cしぜんげんごしょり" "shizfngenngoxori Cしぜんげんごしょり" "shizfngeqgoshori Cしぜんげんごしょり" "shizfngeqgosyori Cしぜんげんごしょり" "shizfngeqgoxori Cしぜんげんごしょり" "shizfnngengoshori Cしぜんげんごしょり" "shizfnngengosyori Cしぜんげんごしょり" "shizfnngengoxori Cしぜんげんごしょり" "shizfnngenngoshori Cしぜんげんごしょり" "shizfnngenngosyori Cしぜんげんごしょり" "shizfnngenngoxori Cしぜんげんごしょり" "shizfnngeqgoshori Cしぜんげんごしょり" "shizfnngeqgosyori Cしぜんげんごしょり" "shizfnngeqgoxori Cしぜんげんごしょり" "shizfqgengoshori Cしぜんげんごしょり" "shizfqgengosyori Cしぜんげんごしょり" "shizfqgengoxori Cしぜんげんごしょり" "shizfqgenngoshori Cしぜんげんごしょり" "shizfqgenngosyori Cしぜんげんごしょり" "shizfqgenngoxori Cしぜんげんごしょり" "shizfqgeqgoshori Cしぜんげんごしょり" "shizfqgeqgosyori Cしぜんげんごしょり" "shizfqgeqgoxori Cしぜんげんごしょり" "sizdgdgoshori Cしぜんげんごしょり" "sizdgdgosyori Cしぜんげんごしょり" "sizdgdgoxori Cしぜんげんごしょり" "sizengengoshori Cしぜんげんごしょり" "sizengengosyori Cしぜんげんごしょり" "sizengengoxori Cしぜんげんごしょり" "sizengenngoshori Cしぜんげんごしょり" "sizengenngosyori Cしぜんげんごしょり" "sizengenngoxori Cしぜんげんごしょり" "sizengeqgoshori Cしぜんげんごしょり" "sizengeqgosyori Cしぜんげんごしょり" "sizengeqgoxori Cしぜんげんごしょり" "sizenngengoshori Cしぜんげんごしょり" "sizenngengosyori Cしぜんげんごしょり" "sizenngengoxori Cしぜんげんごしょり" "sizenngenngoshori Cしぜんげんごしょり" "sizenngenngosyori Cしぜんげんごしょり" "sizenngenngoxori Cしぜんげんごしょり" "sizenngeqgoshori Cしぜんげんごしょり" "sizenngeqgosyori Cしぜんげんごしょり" "sizenngeqgoxori Cしぜんげんごしょり" "sizeqgengoshori Cしぜんげんごしょり" "sizeqgengosyori Cしぜんげんごしょり" "sizeqgengoxori Cしぜんげんごしょり" "sizeqgenngoshori Cしぜんげんごしょり" "sizeqgenngosyori Cしぜんげんごしょり" "sizeqgenngoxori Cしぜんげんごしょり" "sizeqgeqgoshori Cしぜんげんごしょり" "sizeqgeqgosyori Cしぜんげんごしょり" "sizeqgeqgoxori Cしぜんげんごしょり" "sizfngengoshori Cしぜんげんごしょり" "sizfngengosyori Cしぜんげんごしょり" "sizfngengoxori Cしぜんげんごしょり" "sizfngenngoshori Cしぜんげんごしょり" "sizfngenngosyori Cしぜんげんごしょり" "sizfngenngoxori Cしぜんげんごしょり" "sizfngeqgoshori Cしぜんげんごしょり" "sizfngeqgosyori Cしぜんげんごしょり" "sizfngeqgoxori Cしぜんげんごしょり" "sizfnngengoshori Cしぜんげんごしょり" "sizfnngengosyori Cしぜんげんごしょり" "sizfnngengoxori Cしぜんげんごしょり" "sizfnngenngoshori Cしぜんげんごしょり" "sizfnngenngosyori Cしぜんげんごしょり" "sizfnngenngoxori Cしぜんげんごしょり" "sizfnngeqgoshori Cしぜんげんごしょり" "sizfnngeqgosyori Cしぜんげんごしょり" "sizfnngeqgoxori Cしぜんげんごしょり" "sizfqgengoshori Cしぜんげんごしょり" "sizfqgengosyori Cしぜんげんごしょり" "sizfqgengoxori Cしぜんげんごしょり" "sizfqgenngoshori Cしぜんげんごしょり" "sizfqgenngosyori Cしぜんげんごしょり" "sizfqgenngoxori Cしぜんげんごしょり" "sizfqgeqgoshori Cしぜんげんごしょり" "sizfqgeqgosyori Cしぜんげんごしょり" "sizfqgeqgoxori Cしぜんげんごしょり" "xizdgdgoshori Cしぜんげんごしょり" "xizdgdgosyori Cしぜんげんごしょり" "xizdgdgoxori Cしぜんげんごしょり" "xizengengoshori Cしぜんげんごしょり" "xizengengosyori Cしぜんげんごしょり" "xizengengoxori Cしぜんげんごしょり" "xizengenngoshori Cしぜんげんごしょり" "xizengenngosyori Cしぜんげんごしょり" "xizengenngoxori Cしぜんげんごしょり" "xizengeqgoshori Cしぜんげんごしょり" "xizengeqgosyori Cしぜんげんごしょり" "xizengeqgoxori Cしぜんげんごしょり" "xizenngengoshori Cしぜんげんごしょり" "xizenngengosyori Cしぜんげんごしょり" "xizenngengoxori Cしぜんげんごしょり" "xizenngenngoshori Cしぜんげんごしょり" "xizenngenngosyori Cしぜんげんごしょり" "xizenngenngoxori Cしぜんげんごしょり" "xizenngeqgoshori Cしぜんげんごしょり" "xizenngeqgosyori Cしぜんげんごしょり" "xizenngeqgoxori Cしぜんげんごしょり" "xizeqgengoshori Cしぜんげんごしょり" "xizeqgengosyori Cしぜんげんごしょり" "xizeqgengoxori Cしぜんげんごしょり" "xizeqgenngoshori Cしぜんげんごしょり" "xizeqgenngosyori Cしぜんげんごしょり" "xizeqgenngoxori Cしぜんげんごしょり" "xizeqgeqgoshori Cしぜんげんごしょり" "xizeqgeqgosyori Cしぜんげんごしょり" "xizeqgeqgoxori Cしぜんげんごしょり" "xizfngengoshori Cしぜんげんごしょり" "xizfngengosyori Cしぜんげんごしょり" "xizfngengoxori Cしぜんげんごしょり" "xizfngenngoshori Cしぜんげんごしょり" "xizfngenngosyori Cしぜんげんごしょり" "xizfngenngoxori Cしぜんげんごしょり" "xizfngeqgoshori Cしぜんげんごしょり" "xizfngeqgosyori Cしぜんげんごしょり" "xizfngeqgoxori Cしぜんげんごしょり" "xizfnngengoshori Cしぜんげんごしょり" "xizfnngengosyori Cしぜんげんごしょり" "xizfnngengoxori Cしぜんげんごしょり" "xizfnngenngoshori Cしぜんげんごしょり" "xizfnngenngosyori Cしぜんげんごしょり" "xizfnngenngoxori Cしぜんげんごしょり" "xizfnngeqgoshori Cしぜんげんごしょり" "xizfnngeqgosyori Cしぜんげんごしょり" "xizfnngeqgoxori Cしぜんげんごしょり" "xizfqgengoshori Cしぜんげんごしょり" "xizfqgengosyori Cしぜんげんごしょり" "xizfqgengoxori Cしぜんげんごしょり" "xizfqgenngoshori Cしぜんげんごしょり" "xizfqgenngosyori Cしぜんげんごしょり" "xizfqgenngoxori Cしぜんげんごしょり" "xizfqgeqgoshori Cしぜんげんごしょり" "xizfqgeqgosyori Cしぜんげんごしょり" "xizfqgeqgoxori Cしぜんげんごしょり" "しぜんげんごしょり /自然言語処理" "shizdgdgorikq Cしぜんげんごりかい" "shizengengorikai Cしぜんげんごりかい" "shizengenngorikai Cしぜんげんごりかい" "shizengeqgorikai Cしぜんげんごりかい" "shizenngengorikai Cしぜんげんごりかい" "shizenngenngorikai Cしぜんげんごりかい" "shizenngeqgorikai Cしぜんげんごりかい" "shizeqgengorikai Cしぜんげんごりかい" "shizeqgenngorikai Cしぜんげんごりかい" "shizeqgeqgorikai Cしぜんげんごりかい" "shizfngengorikai Cしぜんげんごりかい" "shizfngenngorikai Cしぜんげんごりかい" "shizfngeqgorikai Cしぜんげんごりかい" "shizfnngengorikai Cしぜんげんごりかい" "shizfnngenngorikai Cしぜんげんごりかい" "shizfnngeqgorikai Cしぜんげんごりかい" "shizfqgengorikai Cしぜんげんごりかい" "shizfqgenngorikai Cしぜんげんごりかい" "shizfqgeqgorikai Cしぜんげんごりかい" "sizdgdgorikq Cしぜんげんごりかい" "sizengengorikai Cしぜんげんごりかい" "sizengenngorikai Cしぜんげんごりかい" "sizengeqgorikai Cしぜんげんごりかい" "sizenngengorikai Cしぜんげんごりかい" "sizenngenngorikai Cしぜんげんごりかい" "sizenngeqgorikai Cしぜんげんごりかい" "sizeqgengorikai Cしぜんげんごりかい" "sizeqgenngorikai Cしぜんげんごりかい" "sizeqgeqgorikai Cしぜんげんごりかい" "sizfngengorikai Cしぜんげんごりかい" "sizfngenngorikai Cしぜんげんごりかい" "sizfngeqgorikai Cしぜんげんごりかい" "sizfnngengorikai Cしぜんげんごりかい" "sizfnngenngorikai Cしぜんげんごりかい" "sizfnngeqgorikai Cしぜんげんごりかい" "sizfqgengorikai Cしぜんげんごりかい" "sizfqgenngorikai Cしぜんげんごりかい" "sizfqgeqgorikai Cしぜんげんごりかい" "xizdgdgorikq Cしぜんげんごりかい" "xizengengorikai Cしぜんげんごりかい" "xizengenngorikai Cしぜんげんごりかい" "xizengeqgorikai Cしぜんげんごりかい" "xizenngengorikai Cしぜんげんごりかい" "xizenngenngorikai Cしぜんげんごりかい" "xizenngeqgorikai Cしぜんげんごりかい" "xizeqgengorikai Cしぜんげんごりかい" "xizeqgenngorikai Cしぜんげんごりかい" "xizeqgeqgorikai Cしぜんげんごりかい" "xizfngengorikai Cしぜんげんごりかい" "xizfngenngorikai Cしぜんげんごりかい" "xizfngeqgorikai Cしぜんげんごりかい" "xizfnngengorikai Cしぜんげんごりかい" "xizfnngenngorikai Cしぜんげんごりかい" "xizfnngeqgorikai Cしぜんげんごりかい" "xizfqgengorikai Cしぜんげんごりかい" "xizfqgenngorikai Cしぜんげんごりかい" "xizfqgeqgorikai Cしぜんげんごりかい" "しぜんげんごりかい /自然言語理解" "developer /デベロッパー/ディベロッパー/デベロッパ" ">an C>あん" ">ann C>あん" ">aq C>あん" ">あん /案" "{ /{" "ka;ko Cかっこ" "ka@ko Cかっこ" "kakko Cかっこ" "かっこ /確固/括弧/各個/各戸/確乎/羯鼓;雅楽の打楽器/格好/『』/【】/[]/〔〕/〈〉/《》/{}/「」/()/‘’/“”" "ko;ka Cこっか" "ko@ka Cこっか" "kokka Cこっか" "こっか /国家;state/国歌;anthem.「-斉唱」/国花/骨化/國家;「国」旧字/黒化/刻下/】/)/]/』" "! /!/感嘆符" ". /./・/。/…;..." "* /*/※/×" "? /?" "/ ///÷" "!= /≠" "ko'hi' Cこーひー" "ko'hi- Cこーひー" "ko'hi: Cこーひー" "ko'hi^ Cこーひー" "ko-hi' Cこーひー" "ko-hi- Cこーひー" "ko-hi: Cこーひー" "ko-hi^ Cこーひー" "ko:hi' Cこーひー" "ko:hi- Cこーひー" "ko:hi: Cこーひー" "ko:hi^ Cこーひー" "ko^hi' Cこーひー" "ko^hi- Cこーひー" "ko^hi: Cこーひー" "ko^hi^ Cこーひー" "こーひー /コーヒー" "kani Cかに" "かに /蟹/可児/蠏" "kani Cかんい" "kanni Cかんい" "kaqi Cかんい" "kni Cかんい" "kzi Cかんい" "かんい /簡易/官位/冠位;-十二階/漢医;漢方医/敢為/官医/寛衣/換位/簡意" "i;chi Cいっち" "i;ci Cいっち" "i;tyi Cいっち" "i@chi Cいっち" "i@ci Cいっち" "i@tyi Cいっち" "icchi Cいっち" "icci Cいっち" "ittyi Cいっち" "いっち /一致" "i;chi Cいっち" "i;ci Cいっち" "i;tyi Cいっち" "i@chi Cいっち" "i@ci Cいっち" "i@tyi Cいっち" "icchi Cいっち" "icci Cいっち" "ittyi Cいっち" "いっち /イッチ" "eR Cえr" "えr /得/獲;NB:「とr」と同形/選;NB:「よr」「すぐr」と同形" "wo Cを" "を /小/緒/雄/男/牡/尾/悪/汚/惡;「悪」の旧字(人名用漢字)" "miR Cみr" "みr /見/観;(字義:みわたす)/視;(字義:じっとみる)/診;(diagnose) 患者を診る/看;(nurse) 病母を看る/觀;「観」の旧字" "wake /ウェイク" "wake Cわけ" "わけ /訳/和気;地名/理由;当て字/分け/分/譯;「訳」の旧字/戯奴" "aU Cあu" "あu /合;(一致) 話が合う/会;人と会う/遭;(偶然、特によくないことにあう) 事故に遭う/逢;(人と|運命的にあう) 巡り逢う/遇;≒遭う/會;「会」の旧字" "saku Cさく" "さく /策/柵/作/佐久;地名/朔;朔日 ⇔晦/槊;ほこ/搾;搾取/昨;昨夜/咋;(くう)/窄;狭窄/酢;酢酸/柞;いすのき/炸;炸裂/筰;山田耕筰/削;削除/索;検索/錯;錯誤/筴/縒;より/鑿/做;「作」の異体字/簀;す/嘖;さいな・む/捉;(漢音) とら・える/齪;齷齪/冊;(慣用音)竹冊/册;「冊」の旧字/辟;?/乍;?" "sakf Cさき" "saki Cさき" "さき /先/崎/左記/前/早紀/沙樹/早岐/沙貴/咲/埼/尖/嵜/碕/早記" "inngp Cいんにょう" "innngp Cいんにょう" "innnyou Cいんにょう" "innnyowhu Cいんにょう" "innnyp Cいんにょう" "innyou Cいんにょう" "innyowhu Cいんにょう" "innyp Cいんにょう" "iqngp Cいんにょう" "iqnyou Cいんにょう" "iqnyowhu Cいんにょう" "iqnyp Cいんにょう" "いんにょう /飲尿/廴繞;[部首]" "innyou Cいんよう" "innyowhu Cいんよう" "innyp Cいんよう" "inyou Cいんよう" "inyowhu Cいんよう" "inyp Cいんよう" "iqyou Cいんよう" "iqyowhu Cいんよう" "iqyp Cいんよう" "いんよう /引用/飲用/陰陽" "kaT Cかt" "かt /勝/買/飼/刈;(crop)草を刈る" "ka` Cか`" "か` /勝/買/飼/刈;(crop)草を刈る" "ka+ Cか+" "か+ /勝/買/飼/刈;(crop)草を刈る")
103
+ '("watashiH Cわたしh" "watasiH Cわたしh" "wtshiH Cわたしh" "wtsiH Cわたしh" "wtxiH Cわたしh" "わたしh /私" "okonaU Cおこなu" "おこなu /行/行な;※送り位置補正" "hdkn Cへんかん" "hdkz Cへんかん" "henkan Cへんかん" "henkann Cへんかん" "henkaq Cへんかん" "hennkan Cへんかん" "hennkann Cへんかん" "hennkaq Cへんかん" "heqkan Cへんかん" "heqkann Cへんかん" "heqkaq Cへんかん" "へんかん /変換/返還" "hdka Cへんか" "henka Cへんか" "hennka Cへんか" "heqka Cへんか" "へんか /変化/返歌" "hdkaS Cへんかs" "henkaS Cへんかs" "hennkaS Cへんかs" "heqkaS Cへんかs" "へんかs /変化" "shizdgdgo Cしぜんげんご" "shizengengo Cしぜんげんご" "shizengenngo Cしぜんげんご" "shizengeqgo Cしぜんげんご" "shizenngengo Cしぜんげんご" "shizenngenngo Cしぜんげんご" "shizenngeqgo Cしぜんげんご" "shizeqgengo Cしぜんげんご" "shizeqgenngo Cしぜんげんご" "shizeqgeqgo Cしぜんげんご" "shizfngengo Cしぜんげんご" "shizfngenngo Cしぜんげんご" "shizfngeqgo Cしぜんげんご" "shizfnngengo Cしぜんげんご" "shizfnngenngo Cしぜんげんご" "shizfnngeqgo Cしぜんげんご" "shizfqgengo Cしぜんげんご" "shizfqgenngo Cしぜんげんご" "shizfqgeqgo Cしぜんげんご" "sizdgdgo Cしぜんげんご" "sizengengo Cしぜんげんご" "sizengenngo Cしぜんげんご" "sizengeqgo Cしぜんげんご" "sizenngengo Cしぜんげんご" "sizenngenngo Cしぜんげんご" "sizenngeqgo Cしぜんげんご" "sizeqgengo Cしぜんげんご" "sizeqgenngo Cしぜんげんご" "sizeqgeqgo Cしぜんげんご" "sizfngengo Cしぜんげんご" "sizfngenngo Cしぜんげんご" "sizfngeqgo Cしぜんげんご" "sizfnngengo Cしぜんげんご" "sizfnngenngo Cしぜんげんご" "sizfnngeqgo Cしぜんげんご" "sizfqgengo Cしぜんげんご" "sizfqgenngo Cしぜんげんご" "sizfqgeqgo Cしぜんげんご" "xizdgdgo Cしぜんげんご" "しぜんげんご /自然言語" "shizdgdgoshori Cしぜんげんごしょり" "shizdgdgosyori Cしぜんげんごしょり" "shizdgdgoxori Cしぜんげんごしょり" "shizengengoshori Cしぜんげんごしょり" "shizengengosyori Cしぜんげんごしょり" "shizengenngoshori Cしぜんげんごしょり" "shizengenngosyori Cしぜんげんごしょり" "shizengeqgoshori Cしぜんげんごしょり" "shizengeqgosyori Cしぜんげんごしょり" "shizenngengoshori Cしぜんげんごしょり" "shizenngengosyori Cしぜんげんごしょり" "shizenngenngoshori Cしぜんげんごしょり" "shizenngenngosyori Cしぜんげんごしょり" "shizenngeqgoshori Cしぜんげんごしょり" "shizenngeqgosyori Cしぜんげんごしょり" "shizeqgengoshori Cしぜんげんごしょり" "shizeqgengosyori Cしぜんげんごしょり" "shizeqgenngoshori Cしぜんげんごしょり" "shizeqgenngosyori Cしぜんげんごしょり" "shizeqgeqgoshori Cしぜんげんごしょり" "shizeqgeqgosyori Cしぜんげんごしょり" "shizfngengoshori Cしぜんげんごしょり" "shizfngengosyori Cしぜんげんごしょり" "shizfngenngoshori Cしぜんげんごしょり" "shizfngenngosyori Cしぜんげんごしょり" "shizfngeqgoshori Cしぜんげんごしょり" "shizfngeqgosyori Cしぜんげんごしょり" "shizfnngengoshori Cしぜんげんごしょり" "shizfnngengosyori Cしぜんげんごしょり" "shizfnngenngoshori Cしぜんげんごしょり" "shizfnngenngosyori Cしぜんげんごしょり" "shizfnngeqgoshori Cしぜんげんごしょり" "shizfnngeqgosyori Cしぜんげんごしょり" "shizfqgengoshori Cしぜんげんごしょり" "shizfqgengosyori Cしぜんげんごしょり" "shizfqgenngoshori Cしぜんげんごしょり" "shizfqgenngosyori Cしぜんげんごしょり" "shizfqgeqgoshori Cしぜんげんごしょり" "shizfqgeqgosyori Cしぜんげんごしょり" "sizdgdgoshori Cしぜんげんごしょり" "sizdgdgosyori Cしぜんげんごしょり" "sizdgdgoxori Cしぜんげんごしょり" "sizengengoshori Cしぜんげんごしょり" "sizengengosyori Cしぜんげんごしょり" "sizengenngoshori Cしぜんげんごしょり" "sizengenngosyori Cしぜんげんごしょり" "sizengeqgoshori Cしぜんげんごしょり" "sizengeqgosyori Cしぜんげんごしょり" "sizenngengoshori Cしぜんげんごしょり" "sizenngengosyori Cしぜんげんごしょり" "sizenngenngoshori Cしぜんげんごしょり" "sizenngenngosyori Cしぜんげんごしょり" "sizenngeqgoshori Cしぜんげんごしょり" "sizenngeqgosyori Cしぜんげんごしょり" "sizeqgengoshori Cしぜんげんごしょり" "sizeqgengosyori Cしぜんげんごしょり" "sizeqgenngoshori Cしぜんげんごしょり" "sizeqgenngosyori Cしぜんげんごしょり" "sizeqgeqgoshori Cしぜんげんごしょり" "sizeqgeqgosyori Cしぜんげんごしょり" "sizfngengoshori Cしぜんげんごしょり" "sizfngengosyori Cしぜんげんごしょり" "sizfngenngoshori Cしぜんげんごしょり" "sizfngenngosyori Cしぜんげんごしょり" "sizfngeqgoshori Cしぜんげんごしょり" "sizfngeqgosyori Cしぜんげんごしょり" "sizfnngengoshori Cしぜんげんごしょり" "sizfnngengosyori Cしぜんげんごしょり" "sizfnngenngoshori Cしぜんげんごしょり" "sizfnngenngosyori Cしぜんげんごしょり" "sizfnngeqgoshori Cしぜんげんごしょり" "sizfnngeqgosyori Cしぜんげんごしょり" "sizfqgengoshori Cしぜんげんごしょり" "sizfqgengosyori Cしぜんげんごしょり" "sizfqgenngoshori Cしぜんげんごしょり" "sizfqgenngosyori Cしぜんげんごしょり" "sizfqgeqgoshori Cしぜんげんごしょり" "sizfqgeqgosyori Cしぜんげんごしょり" "xizdgdgoshori Cしぜんげんごしょり" "xizdgdgosyori Cしぜんげんごしょり" "xizdgdgoxori Cしぜんげんごしょり" "しぜんげんごしょり /自然言語処理" "shizdgdgorikq Cしぜんげんごりかい" "shizengengorikai Cしぜんげんごりかい" "shizengenngorikai Cしぜんげんごりかい" "shizengeqgorikai Cしぜんげんごりかい" "shizenngengorikai Cしぜんげんごりかい" "shizenngenngorikai Cしぜんげんごりかい" "shizenngeqgorikai Cしぜんげんごりかい" "shizeqgengorikai Cしぜんげんごりかい" "shizeqgenngorikai Cしぜんげんごりかい" "shizeqgeqgorikai Cしぜんげんごりかい" "shizfngengorikai Cしぜんげんごりかい" "shizfngenngorikai Cしぜんげんごりかい" "shizfngeqgorikai Cしぜんげんごりかい" "shizfnngengorikai Cしぜんげんごりかい" "shizfnngenngorikai Cしぜんげんごりかい" "shizfnngeqgorikai Cしぜんげんごりかい" "shizfqgengorikai Cしぜんげんごりかい" "shizfqgenngorikai Cしぜんげんごりかい" "shizfqgeqgorikai Cしぜんげんごりかい" "sizdgdgorikq Cしぜんげんごりかい" "sizengengorikai Cしぜんげんごりかい" "sizengenngorikai Cしぜんげんごりかい" "sizengeqgorikai Cしぜんげんごりかい" "sizenngengorikai Cしぜんげんごりかい" "sizenngenngorikai Cしぜんげんごりかい" "sizenngeqgorikai Cしぜんげんごりかい" "sizeqgengorikai Cしぜんげんごりかい" "sizeqgenngorikai Cしぜんげんごりかい" "sizeqgeqgorikai Cしぜんげんごりかい" "sizfngengorikai Cしぜんげんごりかい" "sizfngenngorikai Cしぜんげんごりかい" "sizfngeqgorikai Cしぜんげんごりかい" "sizfnngengorikai Cしぜんげんごりかい" "sizfnngenngorikai Cしぜんげんごりかい" "sizfnngeqgorikai Cしぜんげんごりかい" "sizfqgengorikai Cしぜんげんごりかい" "sizfqgenngorikai Cしぜんげんごりかい" "sizfqgeqgorikai Cしぜんげんごりかい" "xizdgdgorikq Cしぜんげんごりかい" "しぜんげんごりかい /自然言語理解" "developer /デベロッパー/ディベロッパー/デベロッパ" ">an C>あん" ">ann C>あん" ">aq C>あん" ">あん /案" "{ /{" "ka;ko Cかっこ" "ka@ko Cかっこ" "kakko Cかっこ" "かっこ /確固/括弧/各個/各戸/確乎/羯鼓;雅楽の打楽器/格好/『』/【】/[]/〔〕/〈〉/《》/{}/「」/()/‘’/“”" "ko;ka Cこっか" "ko@ka Cこっか" "kokka Cこっか" "こっか /国家;state/国歌;anthem.「-斉唱」/国花/骨化/國家;「国」旧字/黒化/刻下/】/)/]/』" "! /!/感嘆符" ". /./・/。/…;..." "* /*/※/×" "? /?" "/ ///÷" "!= /≠" "ko'hi' Cこーひー" "ko'hi- Cこーひー" "ko'hi: Cこーひー" "ko'hi^ Cこーひー" "ko-hi' Cこーひー" "ko-hi- Cこーひー" "ko-hi: Cこーひー" "ko-hi^ Cこーひー" "ko:hi' Cこーひー" "ko:hi- Cこーひー" "ko:hi: Cこーひー" "ko:hi^ Cこーひー" "ko^hi' Cこーひー" "ko^hi- Cこーひー" "ko^hi: Cこーひー" "ko^hi^ Cこーひー" "こーひー /コーヒー" "kani Cかに" "かに /蟹/可児/蠏" "kani Cかんい" "kanni Cかんい" "kaqi Cかんい" "kni Cかんい" "kzi Cかんい" "かんい /簡易/官位/冠位;-十二階/漢医;漢方医/敢為/官医/寛衣/換位/簡意" "i;chi Cいっち" "i;ci Cいっち" "i;tyi Cいっち" "i@chi Cいっち" "i@ci Cいっち" "i@tyi Cいっち" "icchi Cいっち" "icci Cいっち" "ittyi Cいっち" "いっち /一致" "i;chi Cいっち" "i;ci Cいっち" "i;tyi Cいっち" "i@chi Cいっち" "i@ci Cいっち" "i@tyi Cいっち" "icchi Cいっち" "icci Cいっち" "ittyi Cいっち" "いっち /イッチ" "eR Cえr" "えr /得/獲;NB:「とr」と同形/選;NB:「よr」「すぐr」と同形" "wo Cを" "を /小/緒/雄/男/牡/尾/悪/汚/惡;「悪」の旧字(人名用漢字)" "miR Cみr" "みr /見/観;(字義:みわたす)/視;(字義:じっとみる)/診;(diagnose) 患者を診る/看;(nurse) 病母を看る/觀;「観」の旧字" "wake /ウェイク" "wake Cわけ" "わけ /訳/和気;地名/理由;当て字/分け/分/譯;「訳」の旧字/戯奴" "aU Cあu" "あu /合;(一致) 話が合う/会;人と会う/遭;(偶然、特によくないことにあう) 事故に遭う/逢;(人と|運命的にあう) 巡り逢う/遇;≒遭う/會;「会」の旧字" "saku Cさく" "さく /策/柵/作/佐久;地名/朔;朔日 ⇔晦/槊;ほこ/搾;搾取/昨;昨夜/咋;(くう)/窄;狭窄/酢;酢酸/柞;いすのき/炸;炸裂/筰;山田耕筰/削;削除/索;検索/錯;錯誤/筴/縒;より/鑿/做;「作」の異体字/簀;す/嘖;さいな・む/捉;(漢音) とら・える/齪;齷齪/冊;(慣用音)竹冊/册;「冊」の旧字/辟;?/乍;?" "sakf Cさき" "saki Cさき" "さき /先/崎/左記/前/早紀/沙樹/早岐/沙貴/咲/埼/尖/嵜/碕/早記" "inngp Cいんにょう" "innngp Cいんにょう" "innnyou Cいんにょう" "innnyowhu Cいんにょう" "innnyp Cいんにょう" "innyou Cいんにょう" "innyowhu Cいんにょう" "innyp Cいんにょう" "iqngp Cいんにょう" "iqnyou Cいんにょう" "iqnyowhu Cいんにょう" "iqnyp Cいんにょう" "いんにょう /飲尿/廴繞;[部首]" "innyou Cいんよう" "innyowhu Cいんよう" "innyp Cいんよう" "inyou Cいんよう" "inyowhu Cいんよう" "inyp Cいんよう" "iqyou Cいんよう" "iqyowhu Cいんよう" "iqyp Cいんよう" "いんよう /引用/飲用/陰陽" "kaT Cかt" "かt /勝/買/飼/刈;(crop)草を刈る" "ka` Cか`" "か` /勝/買/飼/刈;(crop)草を刈る" "ka+ Cか+" "か+ /勝/買/飼/刈;(crop)草を刈る")
104
104
  ))
105
105
 
106
106
  (test* "Create test jisyo"
@@ -124,7 +124,7 @@
124
124
  (let1 _output (StringIO.new)
125
125
  (_output.set_encoding "utf-8")
126
126
  (test* "dump DB to SEKKA jisyo file. (1)"
127
- "92fab190d90f404a8b9138e0fda76bba7d09b41a"
127
+ "442dac4a534cadcae60ccccbbae53752d6078e03"
128
128
  (begin
129
129
  (dump-sekka-jisyo-f _output target)
130
130
  (Digest::SHA1.hexdigest (_output.string))
@@ -617,18 +617,22 @@
617
617
  (henkan-hiragana kvs "lalilulelolyalyulyo" :normal))
618
618
 
619
619
  (test* "hiragana 6"
620
+ '(("ぁぃぅぇぉゃゅょ" #f "xaxixuxexoxyaxyuxyo" h) ("ァィゥェォャュョ" #f "xaxixuxexoxyaxyuxyo" k) ("しゃししゅしぇしょゃゅょ" #f "xaxixuxexoxyaxyuxyo" h) ("シャシシュシェショャュョ" #f "xaxixuxexoxyaxyuxyo" k))
621
+ (henkan-hiragana kvs "xaxixuxexoxyaxyuxyo" :normal))
622
+
623
+ (test* "hiragana 7"
620
624
  '(("することです" #f "srktds" h) ("スルコトデス" #f "srktds" k))
621
625
  (henkan-hiragana kvs "srktds" :normal))
622
626
 
623
- (test* "hiragana 7"
627
+ (test* "hiragana 8"
624
628
  '(("することです" #f "srktds" h) ("スルコトデス" #f "srktds" k))
625
629
  (henkan-hiragana kvs "srktds" :azik))
626
630
 
627
- (test* "hiragana 8"
631
+ (test* "hiragana 9"
628
632
  '(("んんあんはんわんぱ" #f "nqanhanwanpa" h) ("ンンアンハンワンパ" #f "nqanhanwanpa" k) ("ないあぬうあねいあのうあ" #f "nqanhanwanpa" h) ("ナイアヌウアネイアノウア" #f "nqanhanwanpa" k))
629
633
  (henkan-hiragana kvs "nqanhanwanpa" :normal))
630
634
 
631
- (test* "hiragana 9"
635
+ (test* "hiragana 10"
632
636
  '(("ないあぬうあねいあのうあ" #f "nqanhanwanpa" h) ("ナイアヌウアネイアノウア" #f "nqanhanwanpa" k) ("んんあんはんわんぱ" #f "nqanhanwanpa" h) ("ンンアンハンワンパ" #f "nqanhanwanpa" k))
633
637
  (henkan-hiragana kvs "nqanhanwanpa" :azik))
634
638
 
data/test/roman-lib.nnd CHANGED
@@ -68,13 +68,13 @@
68
68
  '("fu" "hu" "hf")
69
69
  (hash-table-get sekka-kana->roman-hash-short "ふ" #f))
70
70
  (test* "kana->roman 2"
71
- '("la" "xxa")
71
+ '("la" "xa" "xxa")
72
72
  (hash-table-get sekka-kana->roman-hash-short "ぁ" #f))
73
73
  (test* "kana->roman 3"
74
74
  '("chi" "tyi" "ti" "ci")
75
75
  (hash-table-get sekka-kana->roman-hash-short "ち" #f))
76
76
  (test* "kana->roman 4"
77
- '("tt" "@" ";" "ltu")
77
+ '("tt" "@" ";" "ltu" "xtu")
78
78
  (hash-table-get sekka-kana->roman-hash-short "っ" #f))
79
79
  (test* "kana->roman 5"
80
80
  '("-" "^" ":" "'")
@@ -120,6 +120,15 @@
120
120
  (test* "roman->kana 8"
121
121
  '("っ")
122
122
  (hash-table-get sekka-roman->kana-hash-short ";" #f))
123
+ (test* "roman->kana 9"
124
+ '("っ")
125
+ (hash-table-get sekka-roman->kana-hash-short "xtu" #f))
126
+ (test* "roman->kana 10"
127
+ '("ぁ")
128
+ (hash-table-get sekka-roman->kana-hash-short "xa" #f))
129
+ (test* "roman->kana 11"
130
+ '("ぁ")
131
+ (hash-table-get sekka-roman->kana-hash-short "xxa" #f))
123
132
 
124
133
  ;;-------------------------------------------------------------------
125
134
  (test-section "roman->kana conversion hash (long)")
@@ -284,7 +293,7 @@
284
293
  (gen-hiragana->roman-pattens "かんじへんかん"))
285
294
  (test* "hiragana -> roman-pattern4"
286
295
  '(
287
- (("shi" "si" "xi") ("ze" "zf") ("nn" "n" "q") ("ge") ("nn" "n" "q") ("go") ("sho" "syo" "xo") ("ri"))
296
+ (("shi" "si") ("ze" "zf") ("nn" "n" "q") ("ge") ("nn" "n" "q") ("go") ("sho" "syo") ("ri"))
288
297
  (("shi" "si" "xi") ("zd") ("gd") ("go") ("sho" "syo" "xo") ("ri")))
289
298
  (gen-hiragana->roman-pattens "しぜんげんごしょり"))
290
299
  (test* "hiragana -> roman-pattern5"
@@ -416,7 +425,15 @@
416
425
  (test* "roman -> hiragana 30"
417
426
  '("かった")
418
427
  (gen-roman->hiragana "ka;ta" :normal))
419
-
428
+ (test* "roman -> hiragana 31"
429
+ '("ぁぃぅぇぉ" "しゃししゅしぇしょ")
430
+ (gen-roman->hiragana "xaxixuxexo" :normal))
431
+ (test* "roman -> hiragana 32"
432
+ '("ゃゅょ")
433
+ (gen-roman->hiragana "xyaxyuxyo" :normal))
434
+ (test* "roman -> hiragana 33"
435
+ '("ゎっ")
436
+ (gen-roman->hiragana "xwaxtu" :normal))
420
437
 
421
438
 
422
439
  ;;===================================================================
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 8
8
- - 3
9
- version: 0.8.3
8
+ - 4
9
+ version: 0.8.4
10
10
  platform: ruby
11
11
  authors:
12
12
  - Kiyoka Nishiyama
@@ -14,11 +14,11 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2011-02-12 00:00:00 +09:00
17
+ date: 2011-02-24 00:00:00 +09:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
- name: rspec
21
+ name: rubyforge
22
22
  prerelease: false
23
23
  requirement: &id001 !ruby/object:Gem::Requirement
24
24
  none: false
@@ -31,7 +31,7 @@ dependencies:
31
31
  type: :development
32
32
  version_requirements: *id001
33
33
  - !ruby/object:Gem::Dependency
34
- name: rubyforge
34
+ name: eventmachine
35
35
  prerelease: false
36
36
  requirement: &id002 !ruby/object:Gem::Requirement
37
37
  none: false
@@ -41,10 +41,10 @@ dependencies:
41
41
  segments:
42
42
  - 0
43
43
  version: "0"
44
- type: :development
44
+ type: :runtime
45
45
  version_requirements: *id002
46
46
  - !ruby/object:Gem::Dependency
47
- name: eventmachine
47
+ name: fuzzy-string-match
48
48
  prerelease: false
49
49
  requirement: &id003 !ruby/object:Gem::Requirement
50
50
  none: false
@@ -57,7 +57,7 @@ dependencies:
57
57
  type: :runtime
58
58
  version_requirements: *id003
59
59
  - !ruby/object:Gem::Dependency
60
- name: fuzzy-string-match
60
+ name: jeweler
61
61
  prerelease: false
62
62
  requirement: &id004 !ruby/object:Gem::Requirement
63
63
  none: false
@@ -70,7 +70,7 @@ dependencies:
70
70
  type: :runtime
71
71
  version_requirements: *id004
72
72
  - !ruby/object:Gem::Dependency
73
- name: jeweler
73
+ name: memcache-client
74
74
  prerelease: false
75
75
  requirement: &id005 !ruby/object:Gem::Requirement
76
76
  none: false
@@ -82,23 +82,10 @@ dependencies:
82
82
  version: "0"
83
83
  type: :runtime
84
84
  version_requirements: *id005
85
- - !ruby/object:Gem::Dependency
86
- name: memcache-client
87
- prerelease: false
88
- requirement: &id006 !ruby/object:Gem::Requirement
89
- none: false
90
- requirements:
91
- - - ">="
92
- - !ruby/object:Gem::Version
93
- segments:
94
- - 0
95
- version: "0"
96
- type: :runtime
97
- version_requirements: *id006
98
85
  - !ruby/object:Gem::Dependency
99
86
  name: nendo
100
87
  prerelease: false
101
- requirement: &id007 !ruby/object:Gem::Requirement
88
+ requirement: &id006 !ruby/object:Gem::Requirement
102
89
  none: false
103
90
  requirements:
104
91
  - - ">="
@@ -109,11 +96,11 @@ dependencies:
109
96
  - 1
110
97
  version: 0.4.1
111
98
  type: :runtime
112
- version_requirements: *id007
99
+ version_requirements: *id006
113
100
  - !ruby/object:Gem::Dependency
114
101
  name: rack
115
102
  prerelease: false
116
- requirement: &id008 !ruby/object:Gem::Requirement
103
+ requirement: &id007 !ruby/object:Gem::Requirement
117
104
  none: false
118
105
  requirements:
119
106
  - - ">="
@@ -122,11 +109,11 @@ dependencies:
122
109
  - 0
123
110
  version: "0"
124
111
  type: :runtime
125
- version_requirements: *id008
112
+ version_requirements: *id007
126
113
  - !ruby/object:Gem::Dependency
127
114
  name: tokyocabinet
128
115
  prerelease: false
129
- requirement: &id009 !ruby/object:Gem::Requirement
116
+ requirement: &id008 !ruby/object:Gem::Requirement
130
117
  none: false
131
118
  requirements:
132
119
  - - ">="
@@ -135,13 +122,14 @@ dependencies:
135
122
  - 0
136
123
  version: "0"
137
124
  type: :runtime
138
- version_requirements: *id009
125
+ version_requirements: *id008
139
126
  description: Sekka is a SKK like input method. Sekka server provides REST Based API. If you are SKK user, let's try it.
140
127
  email: kiyoka@sumibi.org
141
128
  executables:
142
- - sekka-benchmark
143
129
  - sekka-jisyo
144
130
  - sekka-server
131
+ - sekka-benchmark
132
+ - sekka-path
145
133
  extensions: []
146
134
 
147
135
  extra_rdoc_files:
@@ -151,6 +139,7 @@ files:
151
139
  - README
152
140
  - bin/sekka-benchmark
153
141
  - bin/sekka-jisyo
142
+ - bin/sekka-path
154
143
  - bin/sekka-server
155
144
  - emacs/http-cookies.el
156
145
  - emacs/http-get.el