![]() |
|
KAKASI how to - Printable Version +- kanji koohii FORUM (http://forum.koohii.com) +-- Forum: Learning Japanese (http://forum.koohii.com/forum-4.html) +--- Forum: Learning resources (http://forum.koohii.com/forum-9.html) +--- Thread: KAKASI how to (/thread-1954.html) |
KAKASI how to - mentat_kgs - 2008-10-01 Hi, I'm trying to use kakasi to generate a few readings for a few kanjis. But I'm not beeing able to understand how to use it. Has anyone ever tryed it? KAKASI how to - kazelee - 2008-10-01 If you are talking about the kakasi in Anki. What it did was take kanji/kana information from a certain field and instantly print out possible readings in another section. Like: Stardard Japanese deck F1 (i forget what it's called as i edit them) あなたの方が好きです。 F2 Whatever F3 あなたの {ほう|かた} が {す|こう|ゆ|い|この} すで。 You have to set "Reading Destinastion" flag in the model properties menu. Start a new deck and look through and you'll see it. I think it is very annoying. I turned it off as it actually made entering sentences more time consuming. I'd rather just type the original sentence all over than fish through these. If you are talking about a different kakasi then I have no idea KAKASI how to - mentat_kgs - 2008-10-01 Yes, it is the same. But I want to use it outside anki. It has a command line interface too. KAKASI how to - mentat_kgs - 2008-10-01 Also, I'd like to know if there is a chance for kakasi to work like this website: http://nihongo.j-talk.com/parser/?demo=1 I'm concerned only with kanji->kana conversion. KAKASI how to - iSoron - 2008-10-02 Basic usage: kakasi -JH < kanji_text_file > kana_text_file Just be careful about the character encoding. Kakasi works with Shift JIS. Full documentation: http://www.pinkdragon.net/doc_lib/contents/ja/linux_man/kakasi.1.html KAKASI how to - iSoron - 2008-10-02 Some more examples: Furigana injection: kakasi -JH -f Kanji to spaced hiragana: kakasi -JH -s Kanji to hiragana, showing all the possible readings (anki style): kakasi -JH -p Swap hiragana and katakana: kakasi -HK -KH Everything to romaji: ![]() kakasi -Ka -Ha -Ja -Ea -ka -s -C KAKASI how to - mentat_kgs - 2008-10-02 Any hint to convert a file from/to unicode/shift_jis? KAKASI how to - iSoron - 2008-10-03 recode utf8..sjis file.txt recode sjis..utf8 file.txt http://www.gnu.org/software/recode/recode.html There's a Windows version of recode here: http://www.weihenstephan.de/~syring/win32/UnxUtilsDist.html |