Conversions

The Usage of Anthy is mostly straightforward although there are some things, which are not really obvious. One of those things is the input of small kana like "っ" or "ゃ". To input these, you have to prepend an "l" before the syllable. For example, if you want to write a small "ょ", you have to actually type "lyo".
Another character, which is hard to find is "づ". You get it by typing "du".

For a full "list" of available conversions, please take a look at the file "tables.py" of your anthy installation. In Ubuntu you will find it at "/usr/share/ibus-anthy/engine/tables.py".

Dictionaries

On Ubuntu, Anthy comes with several dictionaries, which are installed in "/usr/share/anthy/dic". Those files contain the words, which are presented in the candidates view. They seem to be encoded in EUC-JP but don't worry about it. However, you can have your own dictionary file in "~/.anthy/private_words_default" and you probably want to take a look at the built-in dictionaries as a reference. One line looks usually similar to the following:

ようちんだん #T35 洋珍団

I haven't found a good cannadic format reference yet, but first comes the spelling in hiragana, then the grammatical function in some cryptic form (#T35 seems to refer to nouns) and the last part is the word itself.

UPDATE: In the Ubuntu repositories is a small utility called "kasumi" which lets you edit your personal dictionary in a graphical way. If it is installed, you will get a dictionary icon on the language panel. It is also the default program which is run when you press 「F11」 or 「F12」 while Anthy is running, so it definitely makes sense to have it installed.

Special symbols and characters

There is is nice list of symbols and special characters on this page. Unfortunately Anthy does not seem to know most of those conversions, so I converted the table into a file which can be imported into your personal dictionary.

Download: special_characters.utf8
You can add it to your dictionary with

anthy-dic-tool --utf8 --append special_characters.utf8

Related articles

Wadoku auf dem Ubuntu Desktop mit “wadoku-notify” (german)
Learn japanese vocabulary with example sentences
Writing japanese with Ubuntu 10.04 Lucid Lynx


8 Responses to “Some Secrets of IBus / Anthy”

  1. Karin
    August 5th, 2010 at 18:33
    1

    Thanks for sharing.

    I was just wondering if it is possible to type all special characters in Linux’s IBus, too, when I found your blog. Before, I found a website (http://www.hadamitzky.de/english/lp_special_chars.htm) that lists special characters and how to type them with an input method. Some of them work with Anthy, some not. For example とらんぷ should convert into card trumps but doesn’t.

    Do you know if there are other options to insert those rules into anthy than in putting each one into my dictionary?

  2. Moritz
    August 6th, 2010 at 15:57
    2

    @Karin
    Thank you for your comment and the link to the special characters. I don’t think there is a way other than the dictionary. I think it is useful and I am currently writing a small script to convert the table into a dictionary file.
    EDIT: I added a “Special symbols and characters” section to the article.

  3. Karin
    August 6th, 2010 at 18:20
    3

    Very nice. Thank you!

  4. João Matos
    August 22nd, 2010 at 15:16
    4

    I was looking for information on how to input special characters on anthy/ibus.
    This was very helpful.
    Thank you!

  5. Olivers
    May 22nd, 2017 at 11:09
    5

    I had hard time to find how to type • (centered dot なかまる).
    The post is a tad old, but still usefull!

  6. Anonymous
    August 7th, 2017 at 21:53
    6

    Thanks this helped a lot

Leave a Comment

I respect your privacy
I don't run any trackers on this site.

Please use the share-buttons or leave comments so I know what might be worth writing about.

Thank you.
Contact