Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix for ANTHY_HISTORY_FILE
add Table entries
  • Loading branch information
hidegit committed Jul 22, 2009
1 parent 030d0a1 commit 5f6fabc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions engine/engine.py
Expand Up @@ -646,6 +646,7 @@ def __on_key_return(self):
i = 0
for seg_index, text in self.__segments:
self.__context.commit_segment(i, seg_index)
i += 1
self.__commit_string(self.__convert_chars)
elif self.__convert_mode == CONV_MODE_PREDICTION:
self.__context.commit_prediction(self.__segments[0][0])
Expand Down Expand Up @@ -908,6 +909,7 @@ def __on_key_common(self, keyval):
i = 0
for seg_index, text in self.__segments:
self.__context.commit_segment(i, seg_index)
i += 1
self.__commit_string(self.__convert_chars)
elif self.__convert_mode != CONV_MODE_OFF:
self.__commit_string(self.__convert_chars)
Expand Down
7 changes: 7 additions & 0 deletions engine/tables.py
Expand Up @@ -37,6 +37,10 @@
u"lu" : u"ぅ",
u"le" : u"ぇ",
u"lo" : u"ぉ",
# u"xka" : u"ゕ",
u"xka" : u"ヵ",
# u"xke" : u"ゖ",
u"xke" : u"ヶ",
u"wi" : u"うぃ",
u"we" : u"うぇ",
u"wha" : u"うぁ",
Expand Down Expand Up @@ -133,6 +137,9 @@
u"dyu" : u"ぢゅ",
u"dye" : u"ぢぇ",
u"dyo" : u"ぢょ",
u"tsa" : u"つぁ",
u"tse" : u"つぇ",
u"tso" : u"つぉ",
u"tha" : u"てゃ",
u"thi" : u"てぃ",
u"thu" : u"てゅ",
Expand Down

0 comments on commit 5f6fabc

Please sign in to comment.