I'm guessing they probably use Mecab?
If you mean the furigana on top of headwords, then it's an algorithm that tries to pair kanji reading data from the Kanjidic2 database with the reading of the word. For furigana on example sentences it's partly the metadata from the file linked here http://www.edrdg.org/wiki/index.php/Sentence-Dictionary_Linking with a fallback to data from MeCab that @koute linked to.
@Kimtaro
I've been trying to do something similar in Python and got stuck.
Is there somewhere I can read more about the "algorithm that tries to pair kanji reading data from the Kanjidic2 database with the reading of the word"?
Is it available somewhere?
@bacing The algorithm isn't very good, so I've opted not to make it public. I hope to improve it and maybe release it one day.
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?