ueno / libskk

Japanese SKK input method library
GNU General Public License v3.0
78 stars 27 forks source link

Add ACT09 rules #27

Closed NigoroJr closed 10 years ago

NigoroJr commented 10 years ago

Hello, I added the rules for ACT09.

I didn't include default/default in rom-kana/default.json because I would have had to make changes such as:

"cya": null,
"cyi": null,
...

for every three-letter romaji that has "y" as the second letter. cy is defined as 「くい」 in ACT09, and so are the other rules that have "y" as the second letter. Without these changes, it looks like ibus-skk waits for the third letter, therefore, the cy definition doesn't come into effect.

I guess I could have just set all [cstn...]y[aiueo] to null, but I felt like not including default/default would be better rather than including it and setting almost half of what you included to null. Plus, you would be able to fix the same issue for ACT by including ACT09 and overriding some of the rules.

Thanks.

NigoroJr commented 10 years ago

Oops, my bad! Thanks for pointing that out. Should be fixed now.

I know this is off the topic, but how did you add the rules for the other ones? Just for future reference.

ueno commented 10 years ago

merged, thanks. for other rules, I just converted the corresponding tables in ddskk into json with emacs keyboard macros.

NigoroJr commented 10 years ago

I see, thanks!