Skip to the content

Jisho辞書

The words of JMdict looked up by reading, written form, English meaning, a kanji in them or romaji, in small pieces fetched as needed, safe by default or unfiltered with every sense's marks, and the school grades, JLPT levels, readings, meanings and look-alike pairs of 2,999 kanji, each table an entry point of its own.

Jisho is the Japanese word 辞書 for a dictionary: this one holds Japanese words and kanji. About the name

Contents

How-to

Look words up in romaji

Read Latin letters as modified Hepburn or Kunrei romaji when looking a word up, and turn romaji into kana.

Romaji

Pass romaji: true to loadWords and wordsOf, and a text of Latin letters is read as modified Hepburn or Kunrei. A doubled consonant is っ, n' and nn are ん, and a macron or circumflex is a long vowel. A reading writes a long vowel more than one way (Tōkyō is とうきょう, a loanword's bar is ー), so every way is looked up, at most eight. It is off unless asked, because CD and AI are written forms too: a text that is not romaji is looked up as a written form either way.

import {kanaFromRomaji,loadWords,romajiToKana,wordsOf} from "@johnmorrisdotca/jisho/words";
const words=await loadWords(["kami","kōhī"],{romaji:true});
console.log(wordsOf(words,"kami",{romaji:true})[0]?.written);
console.log(wordsOf(words,"kōhī",{romaji:true}).map((one)=>one.reading));
console.log(romajiToKana("shinbun"),kanaFromRomaji("kōhī").slice(0,2));
紙
[ 'コーヒー' ]
しんぶん [ 'こうひい', 'こーひー' ]

See also

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/jisho 2.11.0.