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

Reference · Look words up by reading, written form, English meaning, kanji or romaji

Wordtype

One word as a lookup gives it.

Import it

import type { Word } from "@johnmorrisdotca/jisho/words";

Definition

type Word = {
    readonly written: string;
    readonly reading: string;
    readonly forms: readonly string[];
    readonly meaning: string;
    readonly senses: readonly Sense[];
    readonly kinds: string;
    readonly common: boolean;
    readonly rank: number;
    readonly priority: readonly string[];
    readonly id?: number;
};

Members

NameTypeDescription
writtenstring

The way to show it: the form you looked up, else its commonest written form, else the reading when it has no kanji or is usually written in kana.

readingstring

How it is read, in the kana JMdict writes it in (katakana for a loanword).

formsreadonly string[]

Every written form, the commonest first; none for a word with no kanji.

meaningstring

A short English meaning, up to two senses, cut at a whole gloss: "god, deity, divinity; god-tier".

sensesreadonly Sense[]

Its first four senses, each with its marks and glosses. The meaning is made from these.

kindsstring

The kinds of word it is, as letters: g godan, i ichidan, a i-adjective, n na-adjective, s suru, k kuru. Empty for any other.

commonboolean

Whether JMdict marks it as a common word.

ranknumber

How common it is, lower being commoner: 1 to 24,000 for a word JMdict gives a priority, and 100,000 for one it does not.

priorityreadonly string[]

The priority tags JMdict gives it, as JMdict writes them (news1, ichi1, spec2, gai1, nf05…); none for a word it does not rank.

id (optional)number | undefined

The number JMdict gives its entry (ent_seq), which loadEntry takes to fetch the whole entry. Absent from a word you made yourself.

Examples

import type { Word } from "@johnmorrisdotca/jisho/words";

const word: Word = { written: "紙", reading: "かみ", forms: ["紙"], meaning: "paper", senses: [{ marks: [], glosses: ["paper"] }], kinds: "", common: true, rank: 1250, priority: ["news1", "ichi1", "nf03"] };
console.log(word.meaning);
paper

What it prints (run when this page was built)

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