0

If I type 全ては必然 in jisho.org, it spits out "すべてはひつぜん", as expected. (So it reads 必 as hitsu, and keeps the particle は as written.)

If I type 必ずたどり着くから, it spits out "かならずたどりつくから", as expected. (So it reads 必 as kanara.zu)

How does the dictionary know which pronunciation of 必 is correct in context?

3

Do you use a Japanese IME? It can convert hiragana to ordinary mixed-kanji-kana sentences, although it sometimes make mistakes. Jisho.org does a similar thing, but in the opposite direction.

This can be achieved by programs called morphological analyzers. MeCab is one of the best-known, but there are other open-source software. The technical details are beyond the scope of this site, but this is a technically challenging problem, and recent ones generally use large dictionaries and machine learning. Here's an example output of kuromoji:

An example output from kuromoji

There are a few words that are read differently in different contexts. For example, 人気 is read either ひとけ or にんき depending on the context. (English also has the same problem; read, wind and minute have multiple possible readings.) Recent good morphological analyzers may handle even cases like this, but the one implemented in jisho.org does not seem to be smart enough to me.

See also:

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.