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

Suggestiontype

A word suggestWords found, and how many slips from what was typed it is.

Import it

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

Definition

type Suggestion = {
    readonly word: Word;
    readonly distance: 0 | 1;
};

Members

NameTypeDescription
wordWord

The word.

distance0 | 1

0 for a word that is exactly what was typed, 1 for a word one slip away: a letter or kana too many, too few, wrong, or two next to each other the wrong way round.

Examples

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

const one: Suggestion = { word: { written: "紙", reading: "かみ", forms: ["紙"], meaning: "paper", senses: [], kinds: "", common: true, rank: 1250, priority: [] }, distance: 1 };
console.log(one.distance);
1

What it prints (run when this page was built)

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