Jisho

×
97d1e1e75daef6998e19321817dc91dc
1 Reply ・ Started by jojii at 2021-04-19 09:51:56 UTC ・ Last reply by koute at 2021-04-23 02:31:14 UTC

How does the furigana algorithm work?

I'm trying to implement a furigana algorithm, which generates readings for kanji-compounds within a word/expression/sentence. In each case, I have the kanji and kana reading available (I'm using jmdict as resource). I was wondering how jisho.org does that. The resources jisho.org uses doesn't provide the readings directly and guessing it by looking up each kanji is kinda inefficient, right? How is it done by jisho.org?

3058c3367603d1004740abda3938e94e
koute at 2021-04-23 02:31:14 UTC

I'm guessing they probably use Mecab?

https://en.wikipedia.org/wiki/MeCab

to reply.