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

WordRowtype

A row read from a table. Read it with wordsOf.

Import it

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

Definition

type WordRow = {
    readonly reading: string;
    readonly forms: readonly string[];
    readonly senses: readonly Sense[];
    readonly kinds: string;
    readonly common: boolean;
    readonly usuallyKana: boolean;
    readonly priority: string;
    readonly id: number | undefined;
};

Members

NameTypeDescription
readingstring
formsreadonly string[]
sensesreadonly Sense[]
kindsstring
commonboolean
usuallyKanaboolean
prioritystring

The priority tags as a row stores them: letters, then the newspaper band's two digits. Read them with priorityTags.

idnumber | undefined

The number JMdict gives the entry, or undefined for a row that does not say.

Examples

import { readRow } from "@johnmorrisdotca/jisho/words";

console.log(readRow("かみ\t紙\tC\t¦paper").reading);
かみ

What it prints (run when this page was built)

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