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 · The functions that read the tables

Kanjitype

One kanji in full.

Import it

import type { Kanji } from "@johnmorrisdotca/jisho";

Definition

type Kanji = {
    readonly kanji: string;
    readonly strokes: number;
    readonly grade: SchoolGrade;
    readonly level: JlptLevel | null;
    readonly frequency: number | null;
    readonly on: readonly string[];
    readonly kun: readonly string[];
    readonly meanings: readonly string[];
    readonly meaningsFr: readonly string[];
};

Members

NameTypeDescription
kanjistring

The character.

strokesnumber

How many strokes it is written in.

gradeSchoolGrade

The school grade it is taught in.

levelJlptLevel | null

The JLPT level whose list holds it, or null when none does.

frequencynumber | null

Its rank among the 2,500 commonest in newspapers, 1 the commonest, or null when it is not ranked.

onreadonly string[]

Its on readings, in katakana.

kunreadonly string[]

Its kun readings, in hiragana: a dot marks where the kanji's part ends and the okurigana begins, and a dash a prefix or suffix.

meaningsreadonly string[]

Its meanings in English.

meaningsFrreadonly string[]

Its meanings in French; KANJIDIC2 has none for some.

Examples

import type { Kanji } from "@johnmorrisdotca/jisho";

const one: Kanji = { kanji: "日", strokes: 4, grade: 1, level: "N5", frequency: 1, on: ["ニチ"], kun: ["ひ"], meanings: ["day"], meaningsFr: ["jour"] };
console.log(one.meanings);
[ 'day' ]

What it prints (run when this page was built)

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